RBTransiNetConfig#

class lsst.meas.transiNet.RBTransiNetConfig(*args, **kw)#

Bases: PipelineTaskConfig

Attributes Summary

connections

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

cutoutSize

Width/height of square cutouts to send to classifier.

modelPackageName

A unique identifier of a model package.

modelPackageStorageMode

A string that indicates _where_ and _how_ the model package is stored.

saveLogOutput

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

Methods Summary

validate()

Validate the Config, raising an exception if invalid.

Attributes Documentation

connections: pexConfig.ConfigField#

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

cutoutSize#

Width/height of square cutouts to send to classifier. (int, default 51)

modelPackageName#

A unique identifier of a model package. (str, default None)

modelPackageStorageMode#

A string that indicates _where_ and _how_ the model package is stored. (str, default 'neighbor')

Allowed values:

'local'

packages stored in the meas_transiNet repository

'neighbor'

packages stored in the rbClassifier_data repository

'butler'

packages stored in the butler repository

'None'

Field is optional

saveLogOutput#

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

Methods Documentation

validate()#

Validate the Config, raising an exception if invalid.

Raises#

lsst.pex.config.FieldValidationError

Raised if verification fails.

Notes#

The base class implementation performs type checks on all fields by calling their validate methods.

Complex single-field validation can be defined by deriving new Field types. For convenience, some derived lsst.pex.config.Field-types (ConfigField and ConfigChoiceField) are defined in lsst.pex.config that handle recursing into subconfigs.

Inter-field relationships should only be checked in derived Config classes after calling this method, and base validation is complete.