InitialInputData#
- class lsst.meas.extensions.multiprofit.fit_coadd_multiband.InitialInputData(*, column_id: str | None = None, config_input: InputConfig, data: Table, name_model: str, prefix_column: str, size_column: str = 'reff')#
Bases:
BaseModelA configurable wrapper to retrieve formatted columns from a catalog.
This provides a common interface to typical MultiProFit table outputs.
Attributes Summary
Configuration for the model, should be a dictionary conforming to [
ConfigDict][pydantic.config.ConfigDict].Methods Summary
get_column(name_column[, data])Get the values from a column.
Return the name of the object ID column.
model_post_init(_InitialInputData__context)Override this method to perform additional initialization after
__init__andmodel_construct.Attributes Documentation
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True, 'extra': 'forbid', 'frozen': True}#
Configuration for the model, should be a dictionary conforming to [
ConfigDict][pydantic.config.ConfigDict].
Methods Documentation
- get_column(name_column: str, data=None)#
Get the values from a column.
Parameters#
- name_column
The name of the column to retrieve.
- data
The catalog to retrieve the column from. Default is self.data.
Returns#
- values
The column values.
- get_column_id()#
Return the name of the object ID column.
- model_post_init(_InitialInputData__context: Any) None#
Override this method to perform additional initialization after
__init__andmodel_construct. This is useful if you want to do some validation that requires the entire model to be initialized.