PhotometrySettings#
- class stellarphot.settings.PhotometrySettings(*arg, camera: Camera, observatory: Observatory, passband_map: PassbandMap | None, photometry_apertures: PhotometryApertures, source_location_settings: SourceLocationSettings, photometry_optional_settings: PhotometryOptionalSettings, logging_settings: LoggingSettings)[source]#
Bases:
BaseModelWithTableRepSettings for performing aperture photometry.
- Parameters:
- camera
stellarphot.settings.Camera Camera object which has gain, read noise and dark current set.
- observatory
stellarphot.settings.Observatory Observatory information. Used for calculating the BJD.
- photometry_apertures
stellarphot.settings.PhotometryApertures Radius, inner and outer annulus radii settings and FWHM.
- source_locations
stellarphot.settings.SourceLocationSettings Settings for the location of the sources for which photometry will be performed. See the documentation for
SourceLocationSettingsfor details.- photometry_options
stellarphot.settings.PhotometryOptions Several options for the details of performing the photometry. See the documentation for
PhotometryOptionsfor details.- passband_map: `stellarphot.settings.PassbandMap`, optional
A dictionary containing instrumental passband names as keys and AAVSO passband names as values. This is used to rename the passband entries in the output photometry table from what is in the source list to be AAVSO standard names, if available for that filter.
- logging_settings
stellarphot.settings.LoggingSettings Settings for logging. See the documentation for
LoggingSettingsfor details.
- camera
Create a new model by parsing and validating input data from keyword arguments.
Raises [
ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.selfis explicitly positional-only to allowselfas a field name.Attributes Summary
Configuration for the model, should be a dictionary conforming to [
ConfigDict][pydantic.config.ConfigDict].Attributes Documentation
- model_config = {'extra': 'forbid', 'json_schema_extra': {'description': 'Settings for performing aperture photometry.'}, 'validate_assignment': True, 'validate_default': True}#
Configuration for the model, should be a dictionary conforming to [
ConfigDict][pydantic.config.ConfigDict].