OTTER Data Descriptions#

Photometry Table Column Definitions#

Generally, all columns that start with “converted” will be in the requested unit and should be used. These are the columns that are returned with the Otter.get_phot method. Here are those column descriptions:

Column Name

Column Description

name

The default name of the transient.

converted_flux

The flux/flux density/magnitude in the requested units.

converted_flux_err

The error corresponding to the converted_flux column, in the requested units.

converted_date

The date the flux was measured, in the requested format.

converted_wave

The effective (central) wavelength of the filter.

converted_freq

The effective (central) frequency of the filter.

converted_flux_unit

The units of the converted_flux column.

converted_date_unit

The units of the converted_date column.

converted_wave_unit

The units of the converted_wave column.

converted_freq_unit

The units of the converted_freq column.

filter_name

The name of the filter (or band) used for the measurement of the flux value.

obs_type

Either “uvoir”, “xray”, or “radio”; describes the wavelength regime where the flux was measured.

upperlimit

True if the converted_flux column is the limiting flux rather than a flux measurement, False if the converted_flux is a detection.

reference

The ADS bibcodes(s) for this flux measurement. This can either be a string or list of strings.

human_readable_refs

The “human readable” version of the ADS bibcodes in the reference column, useful for labelling e.g., plots.

telescope

The telescope used to make this measurement if we have it stored, otherwise NaN.

The other columns that are returned when calling either Otter.get_phot with the raw=True option or from Transient.clean_photometry are described below:

Column Name

Column Description

freq_units

The frequency effective _raw_ units for this filter (which may differ from the converted_freq_unit column!).

val_k

The value of the k-correction applied to the data, if corr_k = True. Otherwise this is NaN.

corr_host

True if the photometry has been host subtracted, False if we know that it has not been, NaN if it is unclear.

wave_eff

The wavelength effective, in _raw_ wave_units units, for this filter (which may differ from the converted_wave_unit column!). This may change in length from the converted_wave column since we only store _either_ the wave_eff or freq_eff for a given filter.

_flux_err

The error on the flux units in some _unconverted_ format. The is prepended with an underscore because the user should almost always use the converted_flux column instead!

date

The observation date in a _raw_ format. The user should default to the converted_date column.

wave_min

The minimum wavelength for this observation. Typically only used for X-ray observations.

raw_err_detail

A dictionary with other details on the raw uncertainty on the flux measurement. This dictionary stores things like asymmetric errors and a breakdown of the statistical and systematic errors that are in the raw_err.

wave_units

The units on the _raw_ (or “stored”) wavelength for this filter. This can be NaN when wave_eff is NaN. The user should default to the converted_wave column.

corr_av

True if the photometry has been corrected for milky way extinction, False if we know that it has not been, NaN if it is unclear.

freq_eff

The frequency effective, in _raw_ freq_units units, for this filter (which may differ from the converted_freq_unit column!). This may change in length from the converted_wave column since we only store _either_ the wave_eff or freq_eff for a given filter.

xray_model

A dictionary with details about the xray model used to convert from the raw counts to flux value.

raw_err

The error on the raw column.

raw_units

The units on the raw column.

corr_s

True if the photometry has been s-corrected, False if we know that it has not been, NaN if it is unclear.

computed

True if we computed the raw or value columns from other information presented in the corresponding reference.

_flux_units

The units on the _unconverted_ flux. The is prepended with an underscore because the user should almost always use the converted_flux column instead!

val_hostav

The value of the host AV applied to the data, if corr_hostav = True. Otherwise this is NaN.

val_host

The value of the host subtraction applied to the data, if corr_host = True. Otherwise this is NaN.

val_s

The value of the s-correction applied to the data, if corr_s = True. Otherwise this is NaN.

value_err

The error on the value column, in the same units as the value column.

instrument

The instrument used to make this flux measurement, in some cases this is repetitive with the telescope column.

wave_max

The maximum wavelength for this observation. Typically only used for X-ray observations.

val_av

The value of the Milky Way AV applied to the data, if corr_av = True. Otherwise this is NaN.

value

The flux value after additional corrections. For example, this is used for X-ray photometry when we store both the raw count rate (in the raw column) and the flux value (in the flux column) after conversion.

corr_k

True if the photometry has been k-corrected, False if we know that it has not been, NaN if it is unclear.

corr_hostav

True if the photometry has been host extinction corrected, False if we know that it has not been, NaN if it is unclear.

raw

The raw flux value, can be in units of counts or countrate, unlike the converted flux values or the value column. The user should default to using the converted_flux column.

filter_key

A unique identifier for this filter. This should be ignored and the filter_name column should be used instead.

value_units

The units on the value column.

date_format

The format of the _raw_ and _unconverted_ date. The user should default to the converted_date column.

_flux

The flux value in some _unconverted_ format. The is prepended with an underscore because the user should almost always use the converted_flux column instead!

OTTER Data Schema#

pydantic model otter.schema.OtterSchema#

Show JSON schema
{
   "title": "OtterSchema",
   "type": "object",
   "properties": {
      "schema_version": {
         "anyOf": [
            {
               "$ref": "#/$defs/VersionSchema"
            },
            {
               "type": "null"
            }
         ],
         "default": null
      },
      "name": {
         "$ref": "#/$defs/NameSchema"
      },
      "coordinate": {
         "items": {
            "$ref": "#/$defs/CoordinateSchema"
         },
         "title": "Coordinate",
         "type": "array"
      },
      "distance": {
         "anyOf": [
            {
               "items": {
                  "$ref": "#/$defs/DistanceSchema"
               },
               "type": "array"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Distance"
      },
      "classification": {
         "anyOf": [
            {
               "$ref": "#/$defs/ClassificationDictSchema"
            },
            {
               "type": "null"
            }
         ],
         "default": null
      },
      "reference_alias": {
         "items": {
            "$ref": "#/$defs/ReferenceSchema"
         },
         "title": "Reference Alias",
         "type": "array"
      },
      "date_reference": {
         "anyOf": [
            {
               "items": {
                  "$ref": "#/$defs/DateSchema"
               },
               "type": "array"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Date Reference"
      },
      "photometry": {
         "anyOf": [
            {
               "items": {
                  "$ref": "#/$defs/PhotometrySchema"
               },
               "type": "array"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Photometry"
      },
      "filter_alias": {
         "anyOf": [
            {
               "items": {
                  "$ref": "#/$defs/FilterSchema"
               },
               "type": "array"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Filter Alias"
      },
      "host": {
         "anyOf": [
            {
               "items": {
                  "$ref": "#/$defs/HostSchema"
               },
               "type": "array"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Host"
      }
   },
   "$defs": {
      "ClassificationDictSchema": {
         "properties": {
            "spec_classed": {
               "anyOf": [
                  {
                     "type": "integer"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Spec Classed"
            },
            "unambiguous": {
               "anyOf": [
                  {
                     "type": "boolean"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Unambiguous"
            },
            "value": {
               "items": {
                  "$ref": "#/$defs/ClassificationSchema"
               },
               "title": "Value",
               "type": "array"
            }
         },
         "required": [
            "value"
         ],
         "title": "ClassificationDictSchema",
         "type": "object"
      },
      "ClassificationSchema": {
         "properties": {
            "object_class": {
               "title": "Object Class",
               "type": "string"
            },
            "confidence": {
               "title": "Confidence",
               "type": "number"
            },
            "reference": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "items": {
                        "type": "string"
                     },
                     "type": "array"
                  }
               ],
               "title": "Reference"
            },
            "default": {
               "type": "boolean",
               "default": false,
               "title": "Default"
            },
            "class_type": {
               "default": null,
               "title": "Class Type",
               "type": "string"
            }
         },
         "required": [
            "object_class",
            "confidence",
            "reference"
         ],
         "title": "ClassificationSchema",
         "type": "object"
      },
      "CoordinateSchema": {
         "properties": {
            "reference": {
               "anyOf": [
                  {
                     "items": {
                        "type": "string"
                     },
                     "type": "array"
                  },
                  {
                     "type": "string"
                  }
               ],
               "title": "Reference"
            },
            "ra": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "number"
                  }
               ],
               "default": null,
               "title": "Ra"
            },
            "dec": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "number"
                  }
               ],
               "default": null,
               "title": "Dec"
            },
            "l": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "number"
                  }
               ],
               "default": null,
               "title": "L"
            },
            "b": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "number"
                  }
               ],
               "default": null,
               "title": "B"
            },
            "lon": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "number"
                  }
               ],
               "default": null,
               "title": "Lon"
            },
            "lat": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "number"
                  }
               ],
               "default": null,
               "title": "Lat"
            },
            "ra_units": {
               "default": null,
               "title": "Ra Units",
               "type": "string"
            },
            "dec_units": {
               "default": null,
               "title": "Dec Units",
               "type": "string"
            },
            "l_units": {
               "default": null,
               "title": "L Units",
               "type": "string"
            },
            "b_units": {
               "default": null,
               "title": "B Units",
               "type": "string"
            },
            "lon_units": {
               "default": null,
               "title": "Lon Units",
               "type": "string"
            },
            "lat_units": {
               "default": null,
               "title": "Lat Units",
               "type": "string"
            },
            "ra_error": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "number"
                  }
               ],
               "default": null,
               "title": "Ra Error"
            },
            "dec_error": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "number"
                  }
               ],
               "default": null,
               "title": "Dec Error"
            },
            "l_error": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "number"
                  }
               ],
               "default": null,
               "title": "L Error"
            },
            "b_error": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "number"
                  }
               ],
               "default": null,
               "title": "B Error"
            },
            "lon_error": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "number"
                  }
               ],
               "default": null,
               "title": "Lon Error"
            },
            "lat_error": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "number"
                  }
               ],
               "default": null,
               "title": "Lat Error"
            },
            "epoch": {
               "default": null,
               "title": "Epoch",
               "type": "string"
            },
            "frame": {
               "default": "J2000",
               "title": "Frame",
               "type": "string"
            },
            "coord_type": {
               "default": null,
               "title": "Coord Type",
               "type": "string"
            },
            "computed": {
               "default": false,
               "title": "Computed",
               "type": "boolean"
            },
            "default": {
               "type": "boolean",
               "default": false,
               "title": "Default"
            }
         },
         "required": [
            "reference"
         ],
         "title": "CoordinateSchema",
         "type": "object"
      },
      "DateSchema": {
         "properties": {
            "value": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "integer"
                  },
                  {
                     "type": "number"
                  }
               ],
               "title": "Value"
            },
            "date_format": {
               "title": "Date Format",
               "type": "string"
            },
            "date_type": {
               "title": "Date Type",
               "type": "string"
            },
            "reference": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "items": {
                        "type": "string"
                     },
                     "type": "array"
                  }
               ],
               "title": "Reference"
            },
            "computed": {
               "default": null,
               "title": "Computed",
               "type": "boolean"
            }
         },
         "required": [
            "value",
            "date_format",
            "date_type",
            "reference"
         ],
         "title": "DateSchema",
         "type": "object"
      },
      "DistanceSchema": {
         "properties": {
            "value": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "number"
                  },
                  {
                     "type": "integer"
                  }
               ],
               "title": "Value"
            },
            "unit": {
               "default": null,
               "title": "Unit",
               "type": "string"
            },
            "reference": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "items": {
                        "type": "string"
                     },
                     "type": "array"
                  }
               ],
               "title": "Reference"
            },
            "distance_type": {
               "title": "Distance Type",
               "type": "string"
            },
            "error": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "number"
                  },
                  {
                     "type": "integer"
                  }
               ],
               "default": null,
               "title": "Error"
            },
            "cosmology": {
               "default": null,
               "title": "Cosmology",
               "type": "string"
            },
            "computed": {
               "default": false,
               "title": "Computed",
               "type": "boolean"
            },
            "uuid": {
               "default": null,
               "title": "Uuid",
               "type": "string"
            },
            "default": {
               "type": "boolean",
               "default": false,
               "title": "Default"
            }
         },
         "required": [
            "value",
            "reference",
            "distance_type"
         ],
         "title": "DistanceSchema",
         "type": "object"
      },
      "FilterSchema": {
         "properties": {
            "filter_key": {
               "title": "Filter Key",
               "type": "string"
            },
            "filter_name": {
               "title": "Filter Name",
               "type": "string"
            },
            "wave_eff": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "number"
                  },
                  {
                     "type": "integer"
                  }
               ],
               "default": null,
               "title": "Wave Eff"
            },
            "wave_min": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "number"
                  },
                  {
                     "type": "integer"
                  }
               ],
               "default": null,
               "title": "Wave Min"
            },
            "wave_max": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "number"
                  },
                  {
                     "type": "integer"
                  }
               ],
               "default": null,
               "title": "Wave Max"
            },
            "freq_eff": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "number"
                  },
                  {
                     "type": "integer"
                  }
               ],
               "default": null,
               "title": "Freq Eff"
            },
            "freq_min": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "number"
                  },
                  {
                     "type": "integer"
                  }
               ],
               "default": null,
               "title": "Freq Min"
            },
            "freq_max": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "number"
                  },
                  {
                     "type": "integer"
                  }
               ],
               "default": null,
               "title": "Freq Max"
            },
            "zp": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "number"
                  },
                  {
                     "type": "integer"
                  }
               ],
               "default": null,
               "title": "Zp"
            },
            "wave_units": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "number"
                  },
                  {
                     "type": "integer"
                  }
               ],
               "default": null,
               "title": "Wave Units"
            },
            "freq_units": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "number"
                  },
                  {
                     "type": "integer"
                  }
               ],
               "default": null,
               "title": "Freq Units"
            },
            "zp_units": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "number"
                  },
                  {
                     "type": "integer"
                  }
               ],
               "default": null,
               "title": "Zp Units"
            },
            "zp_system": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "number"
                  },
                  {
                     "type": "integer"
                  }
               ],
               "default": null,
               "title": "Zp System"
            }
         },
         "required": [
            "filter_key",
            "filter_name"
         ],
         "title": "FilterSchema",
         "type": "object"
      },
      "HostSchema": {
         "properties": {
            "reference": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "items": {
                        "type": "string"
                     },
                     "type": "array"
                  }
               ],
               "title": "Reference"
            },
            "host_ra": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "number"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Host Ra"
            },
            "host_dec": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "number"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Host Dec"
            },
            "host_ra_units": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Host Ra Units"
            },
            "host_dec_units": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Host Dec Units"
            },
            "host_z": {
               "anyOf": [
                  {
                     "type": "number"
                  },
                  {
                     "type": "string"
                  },
                  {
                     "type": "integer"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Host Z"
            },
            "host_type": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Host Type"
            },
            "host_name": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Host Name"
            }
         },
         "required": [
            "reference"
         ],
         "title": "HostSchema",
         "type": "object"
      },
      "NameSchema": {
         "properties": {
            "default_name": {
               "title": "Default Name",
               "type": "string"
            },
            "alias": {
               "items": {
                  "$ref": "#/$defs/_AliasSchema"
               },
               "title": "Alias",
               "type": "array"
            }
         },
         "required": [
            "default_name",
            "alias"
         ],
         "title": "NameSchema",
         "type": "object"
      },
      "PhotometrySchema": {
         "properties": {
            "reference": {
               "anyOf": [
                  {
                     "items": {
                        "type": "string"
                     },
                     "type": "array"
                  },
                  {
                     "type": "string"
                  }
               ],
               "title": "Reference"
            },
            "raw": {
               "items": {
                  "anyOf": [
                     {
                        "type": "number"
                     },
                     {
                        "type": "integer"
                     }
                  ]
               },
               "title": "Raw",
               "type": "array"
            },
            "raw_err": {
               "anyOf": [
                  {
                     "items": {
                        "type": "number"
                     },
                     "type": "array"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": [],
               "title": "Raw Err"
            },
            "raw_units": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "items": {
                        "type": "string"
                     },
                     "type": "array"
                  }
               ],
               "title": "Raw Units"
            },
            "value": {
               "anyOf": [
                  {
                     "items": {
                        "anyOf": [
                           {
                              "type": "number"
                           },
                           {
                              "type": "integer"
                           }
                        ]
                     },
                     "type": "array"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Value"
            },
            "value_err": {
               "anyOf": [
                  {
                     "items": {
                        "anyOf": [
                           {
                              "type": "number"
                           },
                           {
                              "type": "integer"
                           }
                        ]
                     },
                     "type": "array"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Value Err"
            },
            "value_units": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "items": {
                        "type": "string"
                     },
                     "type": "array"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Value Units"
            },
            "epoch_zeropoint": {
               "anyOf": [
                  {
                     "type": "number"
                  },
                  {
                     "type": "string"
                  },
                  {
                     "type": "integer"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Epoch Zeropoint"
            },
            "epoch_redshift": {
               "anyOf": [
                  {
                     "type": "number"
                  },
                  {
                     "type": "integer"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Epoch Redshift"
            },
            "filter": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "items": {
                        "type": "string"
                     },
                     "type": "array"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Filter"
            },
            "filter_key": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "items": {
                        "type": "string"
                     },
                     "type": "array"
                  }
               ],
               "title": "Filter Key"
            },
            "obs_type": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "items": {
                        "type": "string"
                     },
                     "type": "array"
                  }
               ],
               "title": "Obs Type"
            },
            "telescope_area": {
               "anyOf": [
                  {
                     "type": "number"
                  },
                  {
                     "items": {
                        "type": "number"
                     },
                     "type": "array"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Telescope Area"
            },
            "date": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "number"
                  },
                  {
                     "items": {
                        "anyOf": [
                           {
                              "type": "string"
                           },
                           {
                              "type": "number"
                           }
                        ]
                     },
                     "type": "array"
                  }
               ],
               "title": "Date"
            },
            "date_format": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "items": {
                        "type": "string"
                     },
                     "type": "array"
                  }
               ],
               "title": "Date Format"
            },
            "date_err": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "number"
                  },
                  {
                     "items": {
                        "anyOf": [
                           {
                              "type": "string"
                           },
                           {
                              "type": "number"
                           }
                        ]
                     },
                     "type": "array"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Date Err"
            },
            "date_min": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "number"
                  },
                  {
                     "items": {
                        "anyOf": [
                           {
                              "type": "string"
                           },
                           {
                              "type": "number"
                           }
                        ]
                     },
                     "type": "array"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Date Min"
            },
            "date_max": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "number"
                  },
                  {
                     "items": {
                        "anyOf": [
                           {
                              "type": "string"
                           },
                           {
                              "type": "number"
                           }
                        ]
                     },
                     "type": "array"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Date Max"
            },
            "ignore": {
               "anyOf": [
                  {
                     "type": "boolean"
                  },
                  {
                     "items": {
                        "type": "boolean"
                     },
                     "type": "array"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Ignore"
            },
            "upperlimit": {
               "anyOf": [
                  {
                     "type": "boolean"
                  },
                  {
                     "items": {
                        "type": "boolean"
                     },
                     "type": "array"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Upperlimit"
            },
            "sigma": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "number"
                  },
                  {
                     "items": {
                        "anyOf": [
                           {
                              "type": "string"
                           },
                           {
                              "type": "number"
                           }
                        ]
                     },
                     "type": "array"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Sigma"
            },
            "sky": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "number"
                  },
                  {
                     "items": {
                        "anyOf": [
                           {
                              "type": "string"
                           },
                           {
                              "type": "number"
                           }
                        ]
                     },
                     "type": "array"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Sky"
            },
            "telescope": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "items": {
                        "type": "string"
                     },
                     "type": "array"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Telescope"
            },
            "instrument": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "items": {
                        "type": "string"
                     },
                     "type": "array"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Instrument"
            },
            "phot_type": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "items": {
                        "type": "string"
                     },
                     "type": "array"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Phot Type"
            },
            "exptime": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "integer"
                  },
                  {
                     "type": "number"
                  },
                  {
                     "items": {
                        "anyOf": [
                           {
                              "type": "number"
                           },
                           {
                              "type": "integer"
                           },
                           {
                              "type": "string"
                           }
                        ]
                     },
                     "type": "array"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Exptime"
            },
            "aperture": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "integer"
                  },
                  {
                     "type": "number"
                  },
                  {
                     "items": {
                        "anyOf": [
                           {
                              "type": "number"
                           },
                           {
                              "type": "integer"
                           },
                           {
                              "type": "string"
                           }
                        ]
                     },
                     "type": "array"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Aperture"
            },
            "observer": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "items": {
                        "type": "string"
                     },
                     "type": "array"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Observer"
            },
            "reducer": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "items": {
                        "type": "string"
                     },
                     "type": "array"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Reducer"
            },
            "pipeline": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "items": {
                        "type": "string"
                     },
                     "type": "array"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Pipeline"
            },
            "corr_k": {
               "anyOf": [
                  {
                     "type": "boolean"
                  },
                  {
                     "type": "string"
                  },
                  {
                     "items": {
                        "anyOf": [
                           {
                              "type": "boolean"
                           },
                           {
                              "type": "string"
                           }
                        ]
                     },
                     "type": "array"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Corr K"
            },
            "corr_s": {
               "anyOf": [
                  {
                     "type": "boolean"
                  },
                  {
                     "type": "string"
                  },
                  {
                     "items": {
                        "anyOf": [
                           {
                              "type": "boolean"
                           },
                           {
                              "type": "string"
                           }
                        ]
                     },
                     "type": "array"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Corr S"
            },
            "corr_av": {
               "anyOf": [
                  {
                     "type": "boolean"
                  },
                  {
                     "type": "string"
                  },
                  {
                     "items": {
                        "anyOf": [
                           {
                              "type": "boolean"
                           },
                           {
                              "type": "string"
                           }
                        ]
                     },
                     "type": "array"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Corr Av"
            },
            "corr_host": {
               "anyOf": [
                  {
                     "type": "boolean"
                  },
                  {
                     "type": "string"
                  },
                  {
                     "items": {
                        "anyOf": [
                           {
                              "type": "boolean"
                           },
                           {
                              "type": "string"
                           }
                        ]
                     },
                     "type": "array"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Corr Host"
            },
            "corr_hostav": {
               "anyOf": [
                  {
                     "type": "boolean"
                  },
                  {
                     "type": "string"
                  },
                  {
                     "items": {
                        "anyOf": [
                           {
                              "type": "boolean"
                           },
                           {
                              "type": "string"
                           }
                        ]
                     },
                     "type": "array"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Corr Hostav"
            },
            "val_k": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "integer"
                  },
                  {
                     "type": "number"
                  },
                  {
                     "items": {
                        "anyOf": [
                           {
                              "type": "number"
                           },
                           {
                              "type": "integer"
                           },
                           {
                              "type": "string"
                           }
                        ]
                     },
                     "type": "array"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Val K"
            },
            "val_s": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "integer"
                  },
                  {
                     "type": "number"
                  },
                  {
                     "items": {
                        "anyOf": [
                           {
                              "type": "number"
                           },
                           {
                              "type": "integer"
                           },
                           {
                              "type": "string"
                           }
                        ]
                     },
                     "type": "array"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Val S"
            },
            "val_av": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "integer"
                  },
                  {
                     "type": "number"
                  },
                  {
                     "items": {
                        "anyOf": [
                           {
                              "type": "number"
                           },
                           {
                              "type": "integer"
                           },
                           {
                              "type": "string"
                           }
                        ]
                     },
                     "type": "array"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Val Av"
            },
            "val_host": {
               "anyOf": [
                  {
                     "type": "number"
                  },
                  {
                     "type": "integer"
                  },
                  {
                     "type": "string"
                  },
                  {
                     "items": {
                        "anyOf": [
                           {
                              "type": "number"
                           },
                           {
                              "type": "integer"
                           },
                           {
                              "type": "string"
                           },
                           {
                              "type": "null"
                           }
                        ]
                     },
                     "type": "array"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Val Host"
            },
            "val_hostav": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "integer"
                  },
                  {
                     "type": "number"
                  },
                  {
                     "items": {
                        "anyOf": [
                           {
                              "type": "number"
                           },
                           {
                              "type": "integer"
                           },
                           {
                              "type": "string"
                           }
                        ]
                     },
                     "type": "array"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Val Hostav"
            },
            "xray_model": {
               "anyOf": [
                  {
                     "items": {
                        "$ref": "#/$defs/_XrayModelSchema"
                     },
                     "type": "array"
                  },
                  {
                     "items": {
                        "type": "null"
                     },
                     "type": "array"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Xray Model"
            },
            "raw_err_detail": {
               "anyOf": [
                  {
                     "$ref": "#/$defs/_ErrDetailSchema"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null
            },
            "value_err_detail": {
               "anyOf": [
                  {
                     "$ref": "#/$defs/_ErrDetailSchema"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null
            }
         },
         "required": [
            "reference",
            "raw",
            "raw_units",
            "filter_key",
            "obs_type",
            "date",
            "date_format"
         ],
         "title": "PhotometrySchema",
         "type": "object"
      },
      "ReferenceSchema": {
         "properties": {
            "name": {
               "title": "Name",
               "type": "string"
            },
            "human_readable_name": {
               "title": "Human Readable Name",
               "type": "string"
            }
         },
         "required": [
            "name",
            "human_readable_name"
         ],
         "title": "ReferenceSchema",
         "type": "object"
      },
      "VersionSchema": {
         "properties": {
            "value": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "integer"
                  }
               ],
               "default": null,
               "title": "Value"
            },
            "comment": {
               "default": null,
               "title": "Comment",
               "type": "string"
            }
         },
         "title": "VersionSchema",
         "type": "object"
      },
      "_AliasSchema": {
         "properties": {
            "value": {
               "title": "Value",
               "type": "string"
            },
            "reference": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "items": {
                        "type": "string"
                     },
                     "type": "array"
                  }
               ],
               "title": "Reference"
            }
         },
         "required": [
            "value",
            "reference"
         ],
         "title": "_AliasSchema",
         "type": "object"
      },
      "_ErrDetailSchema": {
         "properties": {
            "upper": {
               "anyOf": [
                  {
                     "items": {
                        "anyOf": [
                           {
                              "type": "number"
                           },
                           {
                              "type": "integer"
                           },
                           {
                              "type": "string"
                           }
                        ]
                     },
                     "type": "array"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Upper"
            },
            "lower": {
               "anyOf": [
                  {
                     "items": {
                        "anyOf": [
                           {
                              "type": "number"
                           },
                           {
                              "type": "integer"
                           },
                           {
                              "type": "string"
                           }
                        ]
                     },
                     "type": "array"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Lower"
            },
            "systematic": {
               "anyOf": [
                  {
                     "items": {
                        "anyOf": [
                           {
                              "type": "number"
                           },
                           {
                              "type": "integer"
                           },
                           {
                              "type": "string"
                           }
                        ]
                     },
                     "type": "array"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Systematic"
            },
            "statistical": {
               "anyOf": [
                  {
                     "items": {
                        "anyOf": [
                           {
                              "type": "number"
                           },
                           {
                              "type": "integer"
                           },
                           {
                              "type": "string"
                           }
                        ]
                     },
                     "type": "array"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Statistical"
            },
            "iss": {
               "anyOf": [
                  {
                     "items": {
                        "anyOf": [
                           {
                              "type": "number"
                           },
                           {
                              "type": "integer"
                           },
                           {
                              "type": "string"
                           }
                        ]
                     },
                     "type": "array"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Iss"
            }
         },
         "title": "_ErrDetailSchema",
         "type": "object"
      },
      "_XrayModelSchema": {
         "properties": {
            "model_name": {
               "title": "Model Name",
               "type": "string"
            },
            "param_names": {
               "items": {
                  "type": "string"
               },
               "title": "Param Names",
               "type": "array"
            },
            "param_values": {
               "items": {
                  "anyOf": [
                     {
                        "type": "number"
                     },
                     {
                        "type": "integer"
                     },
                     {
                        "type": "string"
                     }
                  ]
               },
               "title": "Param Values",
               "type": "array"
            },
            "param_units": {
               "items": {
                  "anyOf": [
                     {
                        "type": "string"
                     },
                     {
                        "type": "null"
                     }
                  ]
               },
               "title": "Param Units",
               "type": "array"
            },
            "min_energy": {
               "anyOf": [
                  {
                     "type": "number"
                  },
                  {
                     "type": "integer"
                  },
                  {
                     "type": "string"
                  }
               ],
               "title": "Min Energy"
            },
            "max_energy": {
               "anyOf": [
                  {
                     "type": "number"
                  },
                  {
                     "type": "integer"
                  },
                  {
                     "type": "string"
                  }
               ],
               "title": "Max Energy"
            },
            "energy_units": {
               "title": "Energy Units",
               "type": "string"
            },
            "param_value_err_upper": {
               "anyOf": [
                  {
                     "items": {
                        "anyOf": [
                           {
                              "type": "number"
                           },
                           {
                              "type": "integer"
                           },
                           {
                              "type": "string"
                           }
                        ]
                     },
                     "type": "array"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Param Value Err Upper"
            },
            "param_value_err_lower": {
               "anyOf": [
                  {
                     "items": {
                        "anyOf": [
                           {
                              "type": "number"
                           },
                           {
                              "type": "integer"
                           },
                           {
                              "type": "string"
                           }
                        ]
                     },
                     "type": "array"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Param Value Err Lower"
            },
            "param_upperlimit": {
               "anyOf": [
                  {
                     "items": {
                        "anyOf": [
                           {
                              "type": "number"
                           },
                           {
                              "type": "integer"
                           },
                           {
                              "type": "string"
                           }
                        ]
                     },
                     "type": "array"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Param Upperlimit"
            },
            "param_descriptions": {
               "anyOf": [
                  {
                     "items": {
                        "type": "string"
                     },
                     "type": "array"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Param Descriptions"
            },
            "model_reference": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "items": {
                        "type": "string"
                     },
                     "type": "array"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Model Reference"
            }
         },
         "required": [
            "model_name",
            "param_names",
            "param_values",
            "param_units",
            "min_energy",
            "max_energy",
            "energy_units"
         ],
         "title": "_XrayModelSchema",
         "type": "object"
      }
   },
   "required": [
      "name",
      "coordinate",
      "reference_alias"
   ]
}

Fields:
  • classification (otter.schema.ClassificationDictSchema | None)

  • coordinate (list[otter.schema.CoordinateSchema])

  • date_reference (list[otter.schema.DateSchema] | None)

  • distance (list[otter.schema.DistanceSchema] | None)

  • filter_alias (list[otter.schema.FilterSchema] | None)

  • host (list[otter.schema.HostSchema] | None)

  • name (otter.schema.NameSchema)

  • photometry (list[otter.schema.PhotometrySchema] | None)

  • reference_alias (list[otter.schema.ReferenceSchema])

  • schema_version (otter.schema.VersionSchema | None)

Validators:
  • _verify_filter_alias » all fields

pydantic model otter.schema.VersionSchema#

Show JSON schema
{
   "title": "VersionSchema",
   "type": "object",
   "properties": {
      "value": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "integer"
            }
         ],
         "default": null,
         "title": "Value"
      },
      "comment": {
         "default": null,
         "title": "Comment",
         "type": "string"
      }
   }
}

Fields:
  • comment (str)

  • value (str | int)

pydantic model otter.schema.NameSchema#

Show JSON schema
{
   "title": "NameSchema",
   "type": "object",
   "properties": {
      "default_name": {
         "title": "Default Name",
         "type": "string"
      },
      "alias": {
         "items": {
            "$ref": "#/$defs/_AliasSchema"
         },
         "title": "Alias",
         "type": "array"
      }
   },
   "$defs": {
      "_AliasSchema": {
         "properties": {
            "value": {
               "title": "Value",
               "type": "string"
            },
            "reference": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "items": {
                        "type": "string"
                     },
                     "type": "array"
                  }
               ],
               "title": "Reference"
            }
         },
         "required": [
            "value",
            "reference"
         ],
         "title": "_AliasSchema",
         "type": "object"
      }
   },
   "required": [
      "default_name",
      "alias"
   ]
}

Fields:
  • alias (list[otter.schema._AliasSchema])

  • default_name (str)

pydantic model otter.schema.CoordinateSchema#

Show JSON schema
{
   "title": "CoordinateSchema",
   "type": "object",
   "properties": {
      "reference": {
         "anyOf": [
            {
               "items": {
                  "type": "string"
               },
               "type": "array"
            },
            {
               "type": "string"
            }
         ],
         "title": "Reference"
      },
      "ra": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "number"
            }
         ],
         "default": null,
         "title": "Ra"
      },
      "dec": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "number"
            }
         ],
         "default": null,
         "title": "Dec"
      },
      "l": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "number"
            }
         ],
         "default": null,
         "title": "L"
      },
      "b": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "number"
            }
         ],
         "default": null,
         "title": "B"
      },
      "lon": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "number"
            }
         ],
         "default": null,
         "title": "Lon"
      },
      "lat": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "number"
            }
         ],
         "default": null,
         "title": "Lat"
      },
      "ra_units": {
         "default": null,
         "title": "Ra Units",
         "type": "string"
      },
      "dec_units": {
         "default": null,
         "title": "Dec Units",
         "type": "string"
      },
      "l_units": {
         "default": null,
         "title": "L Units",
         "type": "string"
      },
      "b_units": {
         "default": null,
         "title": "B Units",
         "type": "string"
      },
      "lon_units": {
         "default": null,
         "title": "Lon Units",
         "type": "string"
      },
      "lat_units": {
         "default": null,
         "title": "Lat Units",
         "type": "string"
      },
      "ra_error": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "number"
            }
         ],
         "default": null,
         "title": "Ra Error"
      },
      "dec_error": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "number"
            }
         ],
         "default": null,
         "title": "Dec Error"
      },
      "l_error": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "number"
            }
         ],
         "default": null,
         "title": "L Error"
      },
      "b_error": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "number"
            }
         ],
         "default": null,
         "title": "B Error"
      },
      "lon_error": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "number"
            }
         ],
         "default": null,
         "title": "Lon Error"
      },
      "lat_error": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "number"
            }
         ],
         "default": null,
         "title": "Lat Error"
      },
      "epoch": {
         "default": null,
         "title": "Epoch",
         "type": "string"
      },
      "frame": {
         "default": "J2000",
         "title": "Frame",
         "type": "string"
      },
      "coord_type": {
         "default": null,
         "title": "Coord Type",
         "type": "string"
      },
      "computed": {
         "default": false,
         "title": "Computed",
         "type": "boolean"
      },
      "default": {
         "type": "boolean",
         "default": false,
         "title": "Default"
      }
   },
   "required": [
      "reference"
   ]
}

Fields:
  • b (str | float)

  • b_error (str | float)

  • b_units (str)

  • computed (bool)

  • coord_type (str)

  • dec (str | float)

  • dec_error (str | float)

  • dec_units (str)

  • default (bool)

  • epoch (str)

  • frame (str)

  • l (str | float)

  • l_error (str | float)

  • l_units (str)

  • lat (str | float)

  • lat_error (str | float)

  • lat_units (str)

  • lon (str | float)

  • lon_error (str | float)

  • lon_units (str)

  • ra (str | float)

  • ra_error (str | float)

  • ra_units (str)

  • reference (List[str] | str)

Validators:
  • _has_coordinate » all fields

pydantic model otter.schema.ClassificationSchema#

Show JSON schema
{
   "title": "ClassificationSchema",
   "type": "object",
   "properties": {
      "object_class": {
         "title": "Object Class",
         "type": "string"
      },
      "confidence": {
         "title": "Confidence",
         "type": "number"
      },
      "reference": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "items": {
                  "type": "string"
               },
               "type": "array"
            }
         ],
         "title": "Reference"
      },
      "default": {
         "type": "boolean",
         "default": false,
         "title": "Default"
      },
      "class_type": {
         "default": null,
         "title": "Class Type",
         "type": "string"
      }
   },
   "required": [
      "object_class",
      "confidence",
      "reference"
   ]
}

Fields:
  • class_type (str)

  • confidence (float)

  • default (bool)

  • object_class (str)

  • reference (str | List[str])

pydantic model otter.schema.ReferenceSchema#

Show JSON schema
{
   "title": "ReferenceSchema",
   "type": "object",
   "properties": {
      "name": {
         "title": "Name",
         "type": "string"
      },
      "human_readable_name": {
         "title": "Human Readable Name",
         "type": "string"
      }
   },
   "required": [
      "name",
      "human_readable_name"
   ]
}

Fields:
  • human_readable_name (str)

  • name (str)

pydantic model otter.schema.DateSchema#

Show JSON schema
{
   "title": "DateSchema",
   "type": "object",
   "properties": {
      "value": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "integer"
            },
            {
               "type": "number"
            }
         ],
         "title": "Value"
      },
      "date_format": {
         "title": "Date Format",
         "type": "string"
      },
      "date_type": {
         "title": "Date Type",
         "type": "string"
      },
      "reference": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "items": {
                  "type": "string"
               },
               "type": "array"
            }
         ],
         "title": "Reference"
      },
      "computed": {
         "default": null,
         "title": "Computed",
         "type": "boolean"
      }
   },
   "required": [
      "value",
      "date_format",
      "date_type",
      "reference"
   ]
}

Fields:
  • computed (bool)

  • date_format (str)

  • date_type (str)

  • reference (str | List[str])

  • value (str | int | float)

pydantic model otter.schema.PhotometrySchema#

Show JSON schema
{
   "title": "PhotometrySchema",
   "type": "object",
   "properties": {
      "reference": {
         "anyOf": [
            {
               "items": {
                  "type": "string"
               },
               "type": "array"
            },
            {
               "type": "string"
            }
         ],
         "title": "Reference"
      },
      "raw": {
         "items": {
            "anyOf": [
               {
                  "type": "number"
               },
               {
                  "type": "integer"
               }
            ]
         },
         "title": "Raw",
         "type": "array"
      },
      "raw_err": {
         "anyOf": [
            {
               "items": {
                  "type": "number"
               },
               "type": "array"
            },
            {
               "type": "null"
            }
         ],
         "default": [],
         "title": "Raw Err"
      },
      "raw_units": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "items": {
                  "type": "string"
               },
               "type": "array"
            }
         ],
         "title": "Raw Units"
      },
      "value": {
         "anyOf": [
            {
               "items": {
                  "anyOf": [
                     {
                        "type": "number"
                     },
                     {
                        "type": "integer"
                     }
                  ]
               },
               "type": "array"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Value"
      },
      "value_err": {
         "anyOf": [
            {
               "items": {
                  "anyOf": [
                     {
                        "type": "number"
                     },
                     {
                        "type": "integer"
                     }
                  ]
               },
               "type": "array"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Value Err"
      },
      "value_units": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "items": {
                  "type": "string"
               },
               "type": "array"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Value Units"
      },
      "epoch_zeropoint": {
         "anyOf": [
            {
               "type": "number"
            },
            {
               "type": "string"
            },
            {
               "type": "integer"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Epoch Zeropoint"
      },
      "epoch_redshift": {
         "anyOf": [
            {
               "type": "number"
            },
            {
               "type": "integer"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Epoch Redshift"
      },
      "filter": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "items": {
                  "type": "string"
               },
               "type": "array"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Filter"
      },
      "filter_key": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "items": {
                  "type": "string"
               },
               "type": "array"
            }
         ],
         "title": "Filter Key"
      },
      "obs_type": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "items": {
                  "type": "string"
               },
               "type": "array"
            }
         ],
         "title": "Obs Type"
      },
      "telescope_area": {
         "anyOf": [
            {
               "type": "number"
            },
            {
               "items": {
                  "type": "number"
               },
               "type": "array"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Telescope Area"
      },
      "date": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "number"
            },
            {
               "items": {
                  "anyOf": [
                     {
                        "type": "string"
                     },
                     {
                        "type": "number"
                     }
                  ]
               },
               "type": "array"
            }
         ],
         "title": "Date"
      },
      "date_format": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "items": {
                  "type": "string"
               },
               "type": "array"
            }
         ],
         "title": "Date Format"
      },
      "date_err": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "number"
            },
            {
               "items": {
                  "anyOf": [
                     {
                        "type": "string"
                     },
                     {
                        "type": "number"
                     }
                  ]
               },
               "type": "array"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Date Err"
      },
      "date_min": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "number"
            },
            {
               "items": {
                  "anyOf": [
                     {
                        "type": "string"
                     },
                     {
                        "type": "number"
                     }
                  ]
               },
               "type": "array"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Date Min"
      },
      "date_max": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "number"
            },
            {
               "items": {
                  "anyOf": [
                     {
                        "type": "string"
                     },
                     {
                        "type": "number"
                     }
                  ]
               },
               "type": "array"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Date Max"
      },
      "ignore": {
         "anyOf": [
            {
               "type": "boolean"
            },
            {
               "items": {
                  "type": "boolean"
               },
               "type": "array"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Ignore"
      },
      "upperlimit": {
         "anyOf": [
            {
               "type": "boolean"
            },
            {
               "items": {
                  "type": "boolean"
               },
               "type": "array"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Upperlimit"
      },
      "sigma": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "number"
            },
            {
               "items": {
                  "anyOf": [
                     {
                        "type": "string"
                     },
                     {
                        "type": "number"
                     }
                  ]
               },
               "type": "array"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Sigma"
      },
      "sky": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "number"
            },
            {
               "items": {
                  "anyOf": [
                     {
                        "type": "string"
                     },
                     {
                        "type": "number"
                     }
                  ]
               },
               "type": "array"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Sky"
      },
      "telescope": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "items": {
                  "type": "string"
               },
               "type": "array"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Telescope"
      },
      "instrument": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "items": {
                  "type": "string"
               },
               "type": "array"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Instrument"
      },
      "phot_type": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "items": {
                  "type": "string"
               },
               "type": "array"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Phot Type"
      },
      "exptime": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "integer"
            },
            {
               "type": "number"
            },
            {
               "items": {
                  "anyOf": [
                     {
                        "type": "number"
                     },
                     {
                        "type": "integer"
                     },
                     {
                        "type": "string"
                     }
                  ]
               },
               "type": "array"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Exptime"
      },
      "aperture": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "integer"
            },
            {
               "type": "number"
            },
            {
               "items": {
                  "anyOf": [
                     {
                        "type": "number"
                     },
                     {
                        "type": "integer"
                     },
                     {
                        "type": "string"
                     }
                  ]
               },
               "type": "array"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Aperture"
      },
      "observer": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "items": {
                  "type": "string"
               },
               "type": "array"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Observer"
      },
      "reducer": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "items": {
                  "type": "string"
               },
               "type": "array"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Reducer"
      },
      "pipeline": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "items": {
                  "type": "string"
               },
               "type": "array"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Pipeline"
      },
      "corr_k": {
         "anyOf": [
            {
               "type": "boolean"
            },
            {
               "type": "string"
            },
            {
               "items": {
                  "anyOf": [
                     {
                        "type": "boolean"
                     },
                     {
                        "type": "string"
                     }
                  ]
               },
               "type": "array"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Corr K"
      },
      "corr_s": {
         "anyOf": [
            {
               "type": "boolean"
            },
            {
               "type": "string"
            },
            {
               "items": {
                  "anyOf": [
                     {
                        "type": "boolean"
                     },
                     {
                        "type": "string"
                     }
                  ]
               },
               "type": "array"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Corr S"
      },
      "corr_av": {
         "anyOf": [
            {
               "type": "boolean"
            },
            {
               "type": "string"
            },
            {
               "items": {
                  "anyOf": [
                     {
                        "type": "boolean"
                     },
                     {
                        "type": "string"
                     }
                  ]
               },
               "type": "array"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Corr Av"
      },
      "corr_host": {
         "anyOf": [
            {
               "type": "boolean"
            },
            {
               "type": "string"
            },
            {
               "items": {
                  "anyOf": [
                     {
                        "type": "boolean"
                     },
                     {
                        "type": "string"
                     }
                  ]
               },
               "type": "array"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Corr Host"
      },
      "corr_hostav": {
         "anyOf": [
            {
               "type": "boolean"
            },
            {
               "type": "string"
            },
            {
               "items": {
                  "anyOf": [
                     {
                        "type": "boolean"
                     },
                     {
                        "type": "string"
                     }
                  ]
               },
               "type": "array"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Corr Hostav"
      },
      "val_k": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "integer"
            },
            {
               "type": "number"
            },
            {
               "items": {
                  "anyOf": [
                     {
                        "type": "number"
                     },
                     {
                        "type": "integer"
                     },
                     {
                        "type": "string"
                     }
                  ]
               },
               "type": "array"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Val K"
      },
      "val_s": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "integer"
            },
            {
               "type": "number"
            },
            {
               "items": {
                  "anyOf": [
                     {
                        "type": "number"
                     },
                     {
                        "type": "integer"
                     },
                     {
                        "type": "string"
                     }
                  ]
               },
               "type": "array"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Val S"
      },
      "val_av": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "integer"
            },
            {
               "type": "number"
            },
            {
               "items": {
                  "anyOf": [
                     {
                        "type": "number"
                     },
                     {
                        "type": "integer"
                     },
                     {
                        "type": "string"
                     }
                  ]
               },
               "type": "array"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Val Av"
      },
      "val_host": {
         "anyOf": [
            {
               "type": "number"
            },
            {
               "type": "integer"
            },
            {
               "type": "string"
            },
            {
               "items": {
                  "anyOf": [
                     {
                        "type": "number"
                     },
                     {
                        "type": "integer"
                     },
                     {
                        "type": "string"
                     },
                     {
                        "type": "null"
                     }
                  ]
               },
               "type": "array"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Val Host"
      },
      "val_hostav": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "integer"
            },
            {
               "type": "number"
            },
            {
               "items": {
                  "anyOf": [
                     {
                        "type": "number"
                     },
                     {
                        "type": "integer"
                     },
                     {
                        "type": "string"
                     }
                  ]
               },
               "type": "array"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Val Hostav"
      },
      "xray_model": {
         "anyOf": [
            {
               "items": {
                  "$ref": "#/$defs/_XrayModelSchema"
               },
               "type": "array"
            },
            {
               "items": {
                  "type": "null"
               },
               "type": "array"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Xray Model"
      },
      "raw_err_detail": {
         "anyOf": [
            {
               "$ref": "#/$defs/_ErrDetailSchema"
            },
            {
               "type": "null"
            }
         ],
         "default": null
      },
      "value_err_detail": {
         "anyOf": [
            {
               "$ref": "#/$defs/_ErrDetailSchema"
            },
            {
               "type": "null"
            }
         ],
         "default": null
      }
   },
   "$defs": {
      "_ErrDetailSchema": {
         "properties": {
            "upper": {
               "anyOf": [
                  {
                     "items": {
                        "anyOf": [
                           {
                              "type": "number"
                           },
                           {
                              "type": "integer"
                           },
                           {
                              "type": "string"
                           }
                        ]
                     },
                     "type": "array"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Upper"
            },
            "lower": {
               "anyOf": [
                  {
                     "items": {
                        "anyOf": [
                           {
                              "type": "number"
                           },
                           {
                              "type": "integer"
                           },
                           {
                              "type": "string"
                           }
                        ]
                     },
                     "type": "array"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Lower"
            },
            "systematic": {
               "anyOf": [
                  {
                     "items": {
                        "anyOf": [
                           {
                              "type": "number"
                           },
                           {
                              "type": "integer"
                           },
                           {
                              "type": "string"
                           }
                        ]
                     },
                     "type": "array"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Systematic"
            },
            "statistical": {
               "anyOf": [
                  {
                     "items": {
                        "anyOf": [
                           {
                              "type": "number"
                           },
                           {
                              "type": "integer"
                           },
                           {
                              "type": "string"
                           }
                        ]
                     },
                     "type": "array"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Statistical"
            },
            "iss": {
               "anyOf": [
                  {
                     "items": {
                        "anyOf": [
                           {
                              "type": "number"
                           },
                           {
                              "type": "integer"
                           },
                           {
                              "type": "string"
                           }
                        ]
                     },
                     "type": "array"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Iss"
            }
         },
         "title": "_ErrDetailSchema",
         "type": "object"
      },
      "_XrayModelSchema": {
         "properties": {
            "model_name": {
               "title": "Model Name",
               "type": "string"
            },
            "param_names": {
               "items": {
                  "type": "string"
               },
               "title": "Param Names",
               "type": "array"
            },
            "param_values": {
               "items": {
                  "anyOf": [
                     {
                        "type": "number"
                     },
                     {
                        "type": "integer"
                     },
                     {
                        "type": "string"
                     }
                  ]
               },
               "title": "Param Values",
               "type": "array"
            },
            "param_units": {
               "items": {
                  "anyOf": [
                     {
                        "type": "string"
                     },
                     {
                        "type": "null"
                     }
                  ]
               },
               "title": "Param Units",
               "type": "array"
            },
            "min_energy": {
               "anyOf": [
                  {
                     "type": "number"
                  },
                  {
                     "type": "integer"
                  },
                  {
                     "type": "string"
                  }
               ],
               "title": "Min Energy"
            },
            "max_energy": {
               "anyOf": [
                  {
                     "type": "number"
                  },
                  {
                     "type": "integer"
                  },
                  {
                     "type": "string"
                  }
               ],
               "title": "Max Energy"
            },
            "energy_units": {
               "title": "Energy Units",
               "type": "string"
            },
            "param_value_err_upper": {
               "anyOf": [
                  {
                     "items": {
                        "anyOf": [
                           {
                              "type": "number"
                           },
                           {
                              "type": "integer"
                           },
                           {
                              "type": "string"
                           }
                        ]
                     },
                     "type": "array"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Param Value Err Upper"
            },
            "param_value_err_lower": {
               "anyOf": [
                  {
                     "items": {
                        "anyOf": [
                           {
                              "type": "number"
                           },
                           {
                              "type": "integer"
                           },
                           {
                              "type": "string"
                           }
                        ]
                     },
                     "type": "array"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Param Value Err Lower"
            },
            "param_upperlimit": {
               "anyOf": [
                  {
                     "items": {
                        "anyOf": [
                           {
                              "type": "number"
                           },
                           {
                              "type": "integer"
                           },
                           {
                              "type": "string"
                           }
                        ]
                     },
                     "type": "array"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Param Upperlimit"
            },
            "param_descriptions": {
               "anyOf": [
                  {
                     "items": {
                        "type": "string"
                     },
                     "type": "array"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Param Descriptions"
            },
            "model_reference": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "items": {
                        "type": "string"
                     },
                     "type": "array"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Model Reference"
            }
         },
         "required": [
            "model_name",
            "param_names",
            "param_values",
            "param_units",
            "min_energy",
            "max_energy",
            "energy_units"
         ],
         "title": "_XrayModelSchema",
         "type": "object"
      }
   },
   "required": [
      "reference",
      "raw",
      "raw_units",
      "filter_key",
      "obs_type",
      "date",
      "date_format"
   ]
}

Fields:
  • aperture (str | int | float | List[float | int | str] | None)

  • corr_av (bool | str | List[bool | str] | None)

  • corr_host (bool | str | List[bool | str] | None)

  • corr_hostav (bool | str | List[bool | str] | None)

  • corr_k (bool | str | List[bool | str] | None)

  • corr_s (bool | str | List[bool | str] | None)

  • date (str | float | List[str | float])

  • date_err (str | float | List[str | float] | None)

  • date_format (str | List[str])

  • date_max (str | float | List[str | float] | None)

  • date_min (str | float | List[str | float] | None)

  • epoch_redshift (float | int | None)

  • epoch_zeropoint (float | str | int | None)

  • exptime (str | int | float | List[float | int | str] | None)

  • filter (str | List[str] | None)

  • filter_key (str | List[str])

  • ignore (bool | List[bool] | None)

  • instrument (str | List[str] | None)

  • obs_type (str | List[str])

  • observer (str | List[str] | None)

  • phot_type (str | List[str] | None)

  • pipeline (str | List[str] | None)

  • raw (list[float | int])

  • raw_err (List[float] | None)

  • raw_err_detail (otter.schema._ErrDetailSchema | None)

  • raw_units (str | List[str])

  • reducer (str | List[str] | None)

  • reference (List[str] | str)

  • sigma (str | float | List[str | float] | None)

  • sky (str | float | List[str | float] | None)

  • telescope (str | List[str] | None)

  • telescope_area (float | List[float] | None)

  • upperlimit (bool | List[bool] | None)

  • val_av (str | int | float | List[float | int | str] | None)

  • val_host (float | int | str | None | List[float | int | str | None])

  • val_hostav (str | int | float | List[float | int | str] | None)

  • val_k (str | int | float | List[float | int | str] | None)

  • val_s (str | int | float | List[float | int | str] | None)

  • value (list[float | int] | None)

  • value_err (list[float | int] | None)

  • value_err_detail (otter.schema._ErrDetailSchema | None)

  • value_units (str | List[str] | None)

  • xray_model (List[otter.schema._XrayModelSchema] | List[None] | None)

Validators:
  • _ensure_min_and_max_date » all fields

  • _ensure_xray_model » all fields

  • ensure_list » date

  • ensure_list » date_format

  • ensure_list » filter_key

  • ensure_list » obs_type

  • ensure_list » raw_err

  • ensure_list » raw_units

  • ensure_list » telescope

  • ensure_list » upperlimit

pydantic model otter.schema.FilterSchema#

Show JSON schema
{
   "title": "FilterSchema",
   "type": "object",
   "properties": {
      "filter_key": {
         "title": "Filter Key",
         "type": "string"
      },
      "filter_name": {
         "title": "Filter Name",
         "type": "string"
      },
      "wave_eff": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "number"
            },
            {
               "type": "integer"
            }
         ],
         "default": null,
         "title": "Wave Eff"
      },
      "wave_min": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "number"
            },
            {
               "type": "integer"
            }
         ],
         "default": null,
         "title": "Wave Min"
      },
      "wave_max": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "number"
            },
            {
               "type": "integer"
            }
         ],
         "default": null,
         "title": "Wave Max"
      },
      "freq_eff": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "number"
            },
            {
               "type": "integer"
            }
         ],
         "default": null,
         "title": "Freq Eff"
      },
      "freq_min": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "number"
            },
            {
               "type": "integer"
            }
         ],
         "default": null,
         "title": "Freq Min"
      },
      "freq_max": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "number"
            },
            {
               "type": "integer"
            }
         ],
         "default": null,
         "title": "Freq Max"
      },
      "zp": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "number"
            },
            {
               "type": "integer"
            }
         ],
         "default": null,
         "title": "Zp"
      },
      "wave_units": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "number"
            },
            {
               "type": "integer"
            }
         ],
         "default": null,
         "title": "Wave Units"
      },
      "freq_units": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "number"
            },
            {
               "type": "integer"
            }
         ],
         "default": null,
         "title": "Freq Units"
      },
      "zp_units": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "number"
            },
            {
               "type": "integer"
            }
         ],
         "default": null,
         "title": "Zp Units"
      },
      "zp_system": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "number"
            },
            {
               "type": "integer"
            }
         ],
         "default": null,
         "title": "Zp System"
      }
   },
   "required": [
      "filter_key",
      "filter_name"
   ]
}

Fields:
  • filter_key (str)

  • filter_name (str)

  • freq_eff (str | float | int)

  • freq_max (str | float | int)

  • freq_min (str | float | int)

  • freq_units (str | float | int)

  • wave_eff (str | float | int)

  • wave_max (str | float | int)

  • wave_min (str | float | int)

  • wave_units (str | float | int)

  • zp (str | float | int)

  • zp_system (str | float | int)

  • zp_units (str | float | int)

pydantic model otter.schema.HostSchema#

Show JSON schema
{
   "title": "HostSchema",
   "type": "object",
   "properties": {
      "reference": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "items": {
                  "type": "string"
               },
               "type": "array"
            }
         ],
         "title": "Reference"
      },
      "host_ra": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "number"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Host Ra"
      },
      "host_dec": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "number"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Host Dec"
      },
      "host_ra_units": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Host Ra Units"
      },
      "host_dec_units": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Host Dec Units"
      },
      "host_z": {
         "anyOf": [
            {
               "type": "number"
            },
            {
               "type": "string"
            },
            {
               "type": "integer"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Host Z"
      },
      "host_type": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Host Type"
      },
      "host_name": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Host Name"
      }
   },
   "required": [
      "reference"
   ]
}

Fields:
  • host_dec (str | float | None)

  • host_dec_units (str | None)

  • host_name (str | None)

  • host_ra (str | float | None)

  • host_ra_units (str | None)

  • host_type (str | None)

  • host_z (float | str | int | None)

  • reference (str | List[str])

Validators:
  • _has_coordinate_or_name » all fields

pydantic model otter.schema._AliasSchema#

Show JSON schema
{
   "title": "_AliasSchema",
   "type": "object",
   "properties": {
      "value": {
         "title": "Value",
         "type": "string"
      },
      "reference": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "items": {
                  "type": "string"
               },
               "type": "array"
            }
         ],
         "title": "Reference"
      }
   },
   "required": [
      "value",
      "reference"
   ]
}

Fields:
  • reference (str | List[str])

  • value (str)

pydantic model otter.schema._XrayModelSchema#

Show JSON schema
{
   "title": "_XrayModelSchema",
   "type": "object",
   "properties": {
      "model_name": {
         "title": "Model Name",
         "type": "string"
      },
      "param_names": {
         "items": {
            "type": "string"
         },
         "title": "Param Names",
         "type": "array"
      },
      "param_values": {
         "items": {
            "anyOf": [
               {
                  "type": "number"
               },
               {
                  "type": "integer"
               },
               {
                  "type": "string"
               }
            ]
         },
         "title": "Param Values",
         "type": "array"
      },
      "param_units": {
         "items": {
            "anyOf": [
               {
                  "type": "string"
               },
               {
                  "type": "null"
               }
            ]
         },
         "title": "Param Units",
         "type": "array"
      },
      "min_energy": {
         "anyOf": [
            {
               "type": "number"
            },
            {
               "type": "integer"
            },
            {
               "type": "string"
            }
         ],
         "title": "Min Energy"
      },
      "max_energy": {
         "anyOf": [
            {
               "type": "number"
            },
            {
               "type": "integer"
            },
            {
               "type": "string"
            }
         ],
         "title": "Max Energy"
      },
      "energy_units": {
         "title": "Energy Units",
         "type": "string"
      },
      "param_value_err_upper": {
         "anyOf": [
            {
               "items": {
                  "anyOf": [
                     {
                        "type": "number"
                     },
                     {
                        "type": "integer"
                     },
                     {
                        "type": "string"
                     }
                  ]
               },
               "type": "array"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Param Value Err Upper"
      },
      "param_value_err_lower": {
         "anyOf": [
            {
               "items": {
                  "anyOf": [
                     {
                        "type": "number"
                     },
                     {
                        "type": "integer"
                     },
                     {
                        "type": "string"
                     }
                  ]
               },
               "type": "array"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Param Value Err Lower"
      },
      "param_upperlimit": {
         "anyOf": [
            {
               "items": {
                  "anyOf": [
                     {
                        "type": "number"
                     },
                     {
                        "type": "integer"
                     },
                     {
                        "type": "string"
                     }
                  ]
               },
               "type": "array"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Param Upperlimit"
      },
      "param_descriptions": {
         "anyOf": [
            {
               "items": {
                  "type": "string"
               },
               "type": "array"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Param Descriptions"
      },
      "model_reference": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "items": {
                  "type": "string"
               },
               "type": "array"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Model Reference"
      }
   },
   "required": [
      "model_name",
      "param_names",
      "param_values",
      "param_units",
      "min_energy",
      "max_energy",
      "energy_units"
   ]
}

Config:
  • protected_namespaces: tuple = ()

Fields:
  • energy_units (str)

  • max_energy (float | int | str)

  • min_energy (float | int | str)

  • model_name (str)

  • model_reference (str | List[str] | None)

  • param_descriptions (List[str] | None)

  • param_names (List[str])

  • param_units (List[str | None])

  • param_upperlimit (List[float | int | str] | None)

  • param_value_err_lower (List[float | int | str] | None)

  • param_value_err_upper (List[float | int | str] | None)

  • param_values (List[float | int | str])

pydantic model otter.schema._ErrDetailSchema#

Show JSON schema
{
   "title": "_ErrDetailSchema",
   "type": "object",
   "properties": {
      "upper": {
         "anyOf": [
            {
               "items": {
                  "anyOf": [
                     {
                        "type": "number"
                     },
                     {
                        "type": "integer"
                     },
                     {
                        "type": "string"
                     }
                  ]
               },
               "type": "array"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Upper"
      },
      "lower": {
         "anyOf": [
            {
               "items": {
                  "anyOf": [
                     {
                        "type": "number"
                     },
                     {
                        "type": "integer"
                     },
                     {
                        "type": "string"
                     }
                  ]
               },
               "type": "array"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Lower"
      },
      "systematic": {
         "anyOf": [
            {
               "items": {
                  "anyOf": [
                     {
                        "type": "number"
                     },
                     {
                        "type": "integer"
                     },
                     {
                        "type": "string"
                     }
                  ]
               },
               "type": "array"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Systematic"
      },
      "statistical": {
         "anyOf": [
            {
               "items": {
                  "anyOf": [
                     {
                        "type": "number"
                     },
                     {
                        "type": "integer"
                     },
                     {
                        "type": "string"
                     }
                  ]
               },
               "type": "array"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Statistical"
      },
      "iss": {
         "anyOf": [
            {
               "items": {
                  "anyOf": [
                     {
                        "type": "number"
                     },
                     {
                        "type": "integer"
                     },
                     {
                        "type": "string"
                     }
                  ]
               },
               "type": "array"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Iss"
      }
   }
}

Fields:
  • iss (List[float | int | str] | None)

  • lower (List[float | int | str] | None)

  • statistical (List[float | int | str] | None)

  • systematic (List[float | int | str] | None)

  • upper (List[float | int | str] | None)