InsertFakesConfig#
- class lsst.pipe.tasks.insertFakes.InsertFakesConfig(*args, **kwargs)#
Bases:
PipelineTaskConfigConfig for inserting fake sources
Deprecated since version v28.0: This task will be removed in v28.0 as it is replaced by
source_injectiontasks.Attributes Summary
The column name for the semi major axis length of the bulge component.
The column name for the semi major axis length of the disk component used in the fake sourcecatalog.
Source catalog column name for trail angle (in radians).
The column name for the semi minor axis length of the bulge component used in the fake source catalog.
The column name for the semi minor axis length of the disk component.
Column name for the bulge half light radius used in the fake source catalog.
Source catalog column name for the axis ratio of the bulge half-light ellipse.
Source catalog column name for the bulge/disk flux ratio.
Source catalog column name for the Sersic index of the bulge.
Source catalog column name for the position angle (measured from North through East in degrees) of the semimajor axis of the bulge half-light ellipse.
Source catalog column name for the semimajor axis (in arcseconds) of the bulge half-light ellipse.
Aperture radius (in pixels) that was used to define the calibration for this image+catalog.
The name of the type of coadd used (
str, default'deep')Field which refers to a dynamically added configuration class which is based on a PipelineTaskConnections class.
Dec.
Source catalog column name for dec (in radians).
Column name for the disk half light radius used in the fake source catalog.
Source catalog column name for the axis ratio of the disk half-light ellipse.
Source catalog column name for the Sersic index of the disk.
Source catalog column name for the position angle (measured from North through East in degrees) of the semimajor axis of the disk half-light ellipse.
Source catalog column name for the semimajor axis (in arcseconds) of the disk half-light ellipse.
If true removes bad sources from the catalog.
If True, all input data IDs will be processed, even those containing no fake sources.
Set to True if you wish to sub select sources to be input based on the value in the columnset in the sourceSelectionColName config option.
What type of fake catalog to use, snapshot (includes variability in the magnitudes calculated from the MJD of the image), static (no variability) or filename for a user defined fitscatalog.
How should injections from FITS files be aligned? (
str, default'pixel')Insert images directly? True or False.
Insert only stars? True or False.
Source catalog column name for trail length (in pixels).
The column name for the magnitude calculated taking variability into account.
Source catalog column name template for magnitudes, in the format ``filter name``_mag_col.
The column name for the sersic index of the bulge component used in the fake source catalog.
The column name for the sersic index of the disk component used in the fake source catalog.
The column name for the PA of the bulge component used in the fake source catalog.
The column name for the PA of the disk component used in the fake source catalog.
RA column name used in the fake source catalog.
Source catalog column name for RA (in radians).
Flag to enable/disable saving of log output for a task, enabled by default.
Source catalog column name to be used to select which sources to add.
The name of the column in the input fakes catalogue to be used to determine which sources toadd, default is none and when this is used all sources are added.
The column name for the source type used in the fake source catalog.
Size of the pixel buffer surrounding the image.
Attributes Documentation
- aBulge#
The column name for the semi major axis length of the bulge component. Deprecated: Use
bulge_semimajor_col,bulge_axis_ratio_col, andbulge_pa_colto specify disk half-light ellipse. (str, default'a_b')
- aDisk#
The column name for the semi major axis length of the disk component used in the fake sourcecatalog. Deprecated: Use
disk_semimajor_col,disk_axis_ratio_col, anddisk_pa_colto specify disk half-light ellipse. (str, default'a_d')
- angle_col#
Source catalog column name for trail angle (in radians). (
str, default'trail_angle')
- bBulge#
The column name for the semi minor axis length of the bulge component used in the fake source catalog. Deprecated: Use
bulge_semimajor_col,bulge_axis_ratio_col, andbulge_pa_colto specify disk half-light ellipse. (str, default'b_b')
- bDisk#
The column name for the semi minor axis length of the disk component. Deprecated: Use
disk_semimajor_col,disk_axis_ratio_col, anddisk_pa_colto specify disk half-light ellipse. (str, default'b_d')
- bulgeHLR#
Column name for the bulge half light radius used in the fake source catalog. Deprecated: Use
bulge_semimajor_col,bulge_axis_ratio_col, andbulge_pa_colto specify disk half-light ellipse. (str, default'BulgeHalfLightRadius')
- bulge_axis_ratio_col#
Source catalog column name for the axis ratio of the bulge half-light ellipse. (
str, default'bulge_axis_ratio')
- bulge_disk_flux_ratio_col#
Source catalog column name for the bulge/disk flux ratio. (
str, default'bulge_disk_flux_ratio')
- bulge_n_col#
Source catalog column name for the Sersic index of the bulge. (
str, default'bulge_n')
- bulge_pa_col#
Source catalog column name for the position angle (measured from North through East in degrees) of the semimajor axis of the bulge half-light ellipse. (
str, default'bulge_pa')
- bulge_semimajor_col#
Source catalog column name for the semimajor axis (in arcseconds) of the bulge half-light ellipse. (
str, default'bulge_semimajor')
- calibFluxRadius#
Aperture radius (in pixels) that was used to define the calibration for this image+catalog. This will be used to produce the correct instrumental fluxes within the radius. This value should match that of the field defined in slot_CalibFlux_instFlux. (
float, default12.0)
- coaddName#
The name of the type of coadd used (
str, default'deep')
- connections: pexConfig.ConfigField#
Field which refers to a dynamically added configuration class which is based on a PipelineTaskConnections class.
- decColName#
Dec. column name used in the fake source catalog. Deprecated: Use
dec_colinstead. (str, default'decJ2000')
- dec_col#
Source catalog column name for dec (in radians). (
str, default'dec')
- diskHLR#
Column name for the disk half light radius used in the fake source catalog. Deprecated: Use
disk_semimajor_col,disk_axis_ratio_col, anddisk_pa_colto specify disk half-light ellipse. (str, default'DiskHalfLightRadius')
- disk_axis_ratio_col#
Source catalog column name for the axis ratio of the disk half-light ellipse. (
str, default'disk_axis_ratio')
- disk_n_col#
Source catalog column name for the Sersic index of the disk. (
str, default'disk_n')
- disk_pa_col#
Source catalog column name for the position angle (measured from North through East in degrees) of the semimajor axis of the disk half-light ellipse. (
str, default'disk_pa')
- disk_semimajor_col#
Source catalog column name for the semimajor axis (in arcseconds) of the disk half-light ellipse. (
str, default'disk_semimajor')
- doCleanCat#
If true removes bad sources from the catalog. (
bool, defaultTrue)
- doProcessAllDataIds#
If True, all input data IDs will be processed, even those containing no fake sources. (
bool, defaultFalse)
- doSubSelectSources#
Set to True if you wish to sub select sources to be input based on the value in the columnset in the sourceSelectionColName config option. (
bool, defaultFalse)
- fakeType#
What type of fake catalog to use, snapshot (includes variability in the magnitudes calculated from the MJD of the image), static (no variability) or filename for a user defined fitscatalog. (
str, default'static')
- fits_alignment#
How should injections from FITS files be aligned? (
str, default'pixel')Allowed values:
'wcs'Input image will be transformed such that the local WCS in the FITS header matches the local WCS in the target image. I.e., North, East, and angular distances in the input image will match North, East, and angular distances in the target image.
'pixel'Input image will _not_ be transformed. Up, right, and pixel distances in the input image will match up, right and pixel distances in the target image.
'None'Field is optional
- insertImages#
Insert images directly? True or False. (
bool, defaultFalse)
- insertOnlyStars#
Insert only stars? True or False. (
bool, defaultFalse)
- length_col#
Source catalog column name for trail length (in pixels). (
str, default'trail_length')
- magVar#
The column name for the magnitude calculated taking variability into account. In the format
filter name``magVar, e.g. imagVar for the magnitude in the i band. Deprecated: Use `mag_col` instead. (`str`, default ``'%smagVar')
- mag_col#
Source catalog column name template for magnitudes, in the format
filter name``_mag_col. E.g., if this config variable is set to ``%s_mag, then the i-band magnitude will be searched for in thei_magcolumn of the source catalog. (str, default'%s_mag')
- nBulge#
The column name for the sersic index of the bulge component used in the fake source catalog. Deprecated: Use
bulge_n_colinstead. (str, default'bulge_n')
- nDisk#
The column name for the sersic index of the disk component used in the fake source catalog. Deprecated: Use
disk_n_colinstead. (str, default'disk_n')
- paBulge#
The column name for the PA of the bulge component used in the fake source catalog. Deprecated: Use
bulge_semimajor_col,bulge_axis_ratio_col, andbulge_pa_colto specify disk half-light ellipse. (str, default'pa_bulge')
- paDisk#
The column name for the PA of the disk component used in the fake source catalog. Deprecated: Use
disk_semimajor_col,disk_axis_ratio_col, anddisk_pa_colto specify disk half-light ellipse. (str, default'pa_disk')
- raColName#
RA column name used in the fake source catalog. Deprecated: Use
ra_colinstead. (str, default'raJ2000')
- ra_col#
Source catalog column name for RA (in radians). (
str, default'ra')
- saveLogOutput#
Flag to enable/disable saving of log output for a task, enabled by default. (
bool, defaultTrue)
- select_col#
Source catalog column name to be used to select which sources to add. (
str, default'select')
- sourceSelectionColName#
The name of the column in the input fakes catalogue to be used to determine which sources toadd, default is none and when this is used all sources are added. Deprecated: Use
select_colinstead. (str, default'templateSource')
- sourceType#
The column name for the source type used in the fake source catalog. (
str, default'sourceType')
- trimBuffer#
Size of the pixel buffer surrounding the image. Only those fake sources with a centroidfalling within the image+buffer region will be considered for fake source injection. (
int, default100)