SourceXtractorPlusPlus  0.12
Please provide a description of the project.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
sourcextractor.config.measurement_images.ByPattern Class Reference
Inheritance diagram for sourcextractor.config.measurement_images.ByPattern:
[legend]
Collaboration diagram for sourcextractor.config.measurement_images.ByPattern:
[legend]

Public Member Functions

def __init__
 
def __call__
 

Private Attributes

 __key
 
 __pattern
 

Detailed Description

Callable that can be used to split an ImageGroup by a keyword value (i.e. FILTER), applying a regular
expression and using the first matching group as key.

Parameters
----------
key : str
    FITS header keyword
pattern : str
    Regular expression. The first matching group will be used as grouping key.

See Also
--------
ImageGroup.split

Definition at line 608 of file measurement_images.py.

Constructor & Destructor Documentation

def sourcextractor.config.measurement_images.ByPattern.__init__ (   self,
  key,
  pattern 
)
Constructor.

Definition at line 625 of file measurement_images.py.

Member Function Documentation

def sourcextractor.config.measurement_images.ByPattern.__call__ (   self,
  images 
)
Parameters
----------
images : list of MeasurementImage
    List of images to group

Returns
-------
list of tuples of str and list of MeasurementImage

Definition at line 632 of file measurement_images.py.

References sourcextractor.config.measurement_images.ByKeyword.__key, sourcextractor.config.measurement_images.ByPattern.__key, and sourcextractor.config.measurement_images.ByPattern.__pattern.

Member Data Documentation

sourcextractor.config.measurement_images.ByPattern.__key
private
sourcextractor.config.measurement_images.ByPattern.__pattern
private

The documentation for this class was generated from the following file: