TransformDiaSourceCatalogConfig#

class lsst.ap.association.TransformDiaSourceCatalogConfig(*args, **kw)#

Bases: TransformCatalogBaseConfig

Attributes Summary

columnsFromDataId

Columns to extract from the dataId (List, default None)

connections

Field which refers to a dynamically added configuration class which is based on a PipelineTaskConnections class.

doPackFlags

Do pack the flags into one integer column named 'flags'.If False, instead produce one boolean column per flag.

doRemoveSkySources

Input DiaSource catalog contains SkySources that should be removed before storing the output DiaSource catalog.

doUseApdbSchema

Use the APDB schema to coerce the data types of the output columns.

doUseSchema

Use an existing schema to coerce the data types of the output columns.

flagMap

Yaml file specifying SciencePipelines flag fields to bit packs.

flagRenameMap

Yaml file specifying specifying rules to rename flag names (str, default '${AP_ASSOCIATION_DIR}/data/flag-rename-rules.yaml')

functorFile

Path to YAML file specifying Science Data Model functors to use when copying columns and computing calibrated values.

primaryKey

Name of column to be set as the DataFrame index.

saveLogOutput

Flag to enable/disable saving of log output for a task, enabled by default.

schemaDir

Path to the directory containing schema definitions.

schemaFile

Yaml file specifying the schema of the output catalog.

schemaName

Name of the table in the schema file to read.

Methods Summary

setDefaults()

Subclass hook for computing defaults.

Attributes Documentation

columnsFromDataId#

Columns to extract from the dataId (List, default None)

connections: pexConfig.ConfigField#

Field which refers to a dynamically added configuration class which is based on a PipelineTaskConnections class.

doPackFlags#

Do pack the flags into one integer column named ‘flags’.If False, instead produce one boolean column per flag. Deprecated: This field is no longer used. Will be removed after v28. (bool, default False)

doRemoveSkySources#

Input DiaSource catalog contains SkySources that should be removed before storing the output DiaSource catalog. (bool, default False)

doUseApdbSchema#

Use the APDB schema to coerce the data types of the output columns. Deprecated: This field has been renamed to doUseSchema, and will be removed after v30. (bool, default False)

doUseSchema#

Use an existing schema to coerce the data types of the output columns. (bool, default False)

flagMap#

Yaml file specifying SciencePipelines flag fields to bit packs. (str, default '${AP_ASSOCIATION_DIR}/data/association-flag-map.yaml')

flagRenameMap#

Yaml file specifying specifying rules to rename flag names (str, default '${AP_ASSOCIATION_DIR}/data/flag-rename-rules.yaml')

functorFile#

Path to YAML file specifying Science Data Model functors to use when copying columns and computing calibrated values. (str, default None)

primaryKey#

Name of column to be set as the DataFrame index. If None, the indexwill be named id (str, default None)

saveLogOutput#

Flag to enable/disable saving of log output for a task, enabled by default. (bool, default True)

schemaDir#

Path to the directory containing schema definitions. (str, default '${SDM_SCHEMAS_DIR}/yml')

schemaFile#

Yaml file specifying the schema of the output catalog. (str, default 'apdb.yaml')

schemaName#

Name of the table in the schema file to read. Deprecated: This config is no longer used, and will be removed after v30 (str, default 'ApdbSchema')

Methods Documentation

setDefaults()#

Subclass hook for computing defaults.

Notes#

Derived Config classes that must compute defaults rather than using the Field instances’s defaults should do so here. To correctly use inherited defaults, implementations of setDefaults must call their base class’s setDefaults.