SourceXtractorPlusPlus 1.0.3
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
sourcextractor.config.measurement_images.ByKeyword Class Reference
Inheritance diagram for sourcextractor.config.measurement_images.ByKeyword:
Collaboration diagram for sourcextractor.config.measurement_images.ByKeyword:

Public Member Functions

 __init__ (self, key)
 __call__ (self, images)

Private Attributes

 __key = key

Detailed Description

Callable that can be used to split an ImageGroup by a keyword value (i.e. FILTER).

Parameters
----------
key : str
    FITS header keyword (i.e. FILTER)

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

Definition at line 467 of file measurement_images.py.

Constructor & Destructor Documentation

◆ __init__()

sourcextractor.config.measurement_images.ByKeyword.__init__ ( self,
key )
Constructor.

Definition at line 481 of file measurement_images.py.

Member Function Documentation

◆ __call__()

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

Returns
-------
list of tuples of str and list of MeasurementImage
    i.e. [
        (R, [frame_r_01.fits,  frame_r_02.fits]),
        (G, [frame_g_01.fits,  frame_g_02.fits])
    ]

Definition at line 487 of file measurement_images.py.

References __key.

Member Data Documentation

◆ __key

sourcextractor.config.measurement_images.ByKeyword.__key = key
private

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