adam_core.photometry.bandpasses.tables module¶
- class adam_core.photometry.bandpasses.tables.BandpassCurves(table: Table, **kwargs: int | float | str)[source]¶
Bases:
TableCanonical bandpass response curves.
Each row represents a single filter response curve: wavelength (nm) and a normalized dimensionless throughput (0..1).
- filter_id¶
A column for storing large strings (over 231 bytes long). Large string data is stored in variable-length chunks.
- instrument¶
A column for storing large strings (over 231 bytes long). Large string data is stored in variable-length chunks.
- band¶
A column for storing large strings (over 231 bytes long). Large string data is stored in variable-length chunks.
- wavelength_nm¶
A column for storing large lists of values (over 231 objects).
Unless you need to represent data with more than 2**31 elements, prefer ListColumn.
The values in the list can be of any type.
Note that all quivr Tables are storing lists of values, so this column type is only useful for storing lists of lists.
- Parameters:
value_type – The type of the values in the list.
nullable – Whether the list can contain null values.
metadata – A dictionary of metadata to attach to the column.
validator – A validator to run against the column’s values.
- throughput¶
A column for storing large lists of values (over 231 objects).
Unless you need to represent data with more than 2**31 elements, prefer ListColumn.
The values in the list can be of any type.
Note that all quivr Tables are storing lists of values, so this column type is only useful for storing lists of lists.
- Parameters:
value_type – The type of the values in the list.
nullable – Whether the list can contain null values.
metadata – A dictionary of metadata to attach to the column.
validator – A validator to run against the column’s values.
- source¶
A column for storing large strings (over 231 bytes long). Large string data is stored in variable-length chunks.
- schema: ClassVar[pa.Schema] = filter_id: large_string not null instrument: large_string not null band: large_string not null wavelength_nm: large_list<item: double> not null child 0, item: double throughput: large_list<item: double> not null child 0, item: double source: large_string not null¶
- table: pa.Table¶
- class adam_core.photometry.bandpasses.tables.ObservatoryBandMap(table: Table, **kwargs: int | float | str)[source]¶
Bases:
TableMap (MPC observatory_code, reported band) -> canonical filter_id.
key is a convenience column: f”{observatory_code}|{reported_band}”.
- observatory_code¶
A column for storing large strings (over 231 bytes long). Large string data is stored in variable-length chunks.
- reported_band¶
A column for storing large strings (over 231 bytes long). Large string data is stored in variable-length chunks.
- filter_id¶
A column for storing large strings (over 231 bytes long). Large string data is stored in variable-length chunks.
- key¶
A column for storing large strings (over 231 bytes long). Large string data is stored in variable-length chunks.
- schema: ClassVar[pa.Schema] = observatory_code: large_string not null reported_band: large_string not null filter_id: large_string not null key: large_string not null¶
- table: pa.Table¶
- class adam_core.photometry.bandpasses.tables.AsteroidTemplates(table: Table, **kwargs: int | float | str)[source]¶
Bases:
TableAsteroid reflectance templates, including fixed population mixes.
reflectance is dimensionless and should be normalized at 550 nm.
- template_id¶
A column for storing large strings (over 231 bytes long). Large string data is stored in variable-length chunks.
- wavelength_nm¶
A column for storing large lists of values (over 231 objects).
Unless you need to represent data with more than 2**31 elements, prefer ListColumn.
The values in the list can be of any type.
Note that all quivr Tables are storing lists of values, so this column type is only useful for storing lists of lists.
- Parameters:
value_type – The type of the values in the list.
nullable – Whether the list can contain null values.
metadata – A dictionary of metadata to attach to the column.
validator – A validator to run against the column’s values.
- reflectance¶
A column for storing large lists of values (over 231 objects).
Unless you need to represent data with more than 2**31 elements, prefer ListColumn.
The values in the list can be of any type.
Note that all quivr Tables are storing lists of values, so this column type is only useful for storing lists of lists.
- Parameters:
value_type – The type of the values in the list.
nullable – Whether the list can contain null values.
metadata – A dictionary of metadata to attach to the column.
validator – A validator to run against the column’s values.
- weight_C¶
A column for storing 64-bit floating point numbers.
- weight_S¶
A column for storing 64-bit floating point numbers.
- citation¶
A column for storing large strings (over 231 bytes long). Large string data is stored in variable-length chunks.
- schema: ClassVar[pa.Schema] = template_id: large_string not null wavelength_nm: large_list<item: double> not null child 0, item: double reflectance: large_list<item: double> not null child 0, item: double weight_C: double not null weight_S: double not null citation: large_string not null¶
- table: pa.Table¶
- class adam_core.photometry.bandpasses.tables.TemplateBandpassIntegrals(table: Table, **kwargs: int | float | str)[source]¶
Bases:
TablePrecomputed template×filter integrals.
- The stored scalar is intended for photon-counting synthetic photometry:
I = ∫ F_sun(λ) * R_ast(λ) * T(λ) * λ dλ
where F_sun is the adopted solar spectrum, R_ast is reflectance, and T is throughput.
- template_id¶
A column for storing large strings (over 231 bytes long). Large string data is stored in variable-length chunks.
- filter_id¶
A column for storing large strings (over 231 bytes long). Large string data is stored in variable-length chunks.
- integral_photon¶
A column for storing 64-bit floating point numbers.
- schema: ClassVar[pa.Schema] = template_id: large_string not null filter_id: large_string not null integral_photon: double not null¶
- table: pa.Table¶