PartialPhotometrySettings#

class stellarphot.settings.PartialPhotometrySettings(*arg, camera: Camera | None = None, observatory: Observatory | None = None, passband_map: PassbandMap | None = None, photometry_apertures: PhotometryApertures | None = None, source_location_settings: SourceLocationSettings | None = None, photometry_optional_settings: PhotometryOptionalSettings | None = None, logging_settings: LoggingSettings | None = None)#

Bases: PhotometrySettings

Settings for performing aperture photometry.

Parameters:
camerastellarphot.settings.Camera

Camera object which has gain, read noise and dark current set.

observatorystellarphot.settings.Observatory

Observatory information. Used for calculating the BJD.

photometry_aperturesstellarphot.settings.PhotometryApertures

Radius, inner and outer annulus radii settings and FWHM.

source_locationsstellarphot.settings.SourceLocationSettings

Settings for the location of the sources for which photometry will be performed. See the documentation for SourceLocationSettings for details.

photometry_optionsstellarphot.settings.PhotometryOptions

Several options for the details of performing the photometry. See the documentation for PhotometryOptions for 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_settingsstellarphot.settings.LoggingSettings

Settings for logging. See the documentation for LoggingSettings for details.

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.

self is explicitly positional-only to allow self as a field name.

Attributes Summary

model_config

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].