gaia_access 0.1.1

Access the Gaia ESA Archive for astronomical data.
Documentation
// This code is generated by generate_code.py, do not modify it manually.

//! This module contains all the known columns in the vari_summary table.

use crate::traits::{Column, Table};

/// Summary table that provides the information on where a {\tt sourceId} can be found in the different {\tt Variability} tables and statistical parameters of time series, using only transits not rejected.
///
/// Note that NULL is reported when the statistical parameter value is missing or cannot be calculated.
#[allow(non_camel_case_types)]
pub struct vari_summary;

impl Table for vari_summary {
    fn string(&self) -> String {
        "vari_summary".to_string()
    }
}

/// The columns in the vari_summary table.
#[allow(non_camel_case_types)]
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, strum::Display)]
pub enum Col {
    /// Solution Identifier
    solution_id,
    /// Unique source identifier
    source_id,
    /// Total number of G FOV transits selected for variability analysis
    num_selected_g_fov,
    /// Mean observation time for G FoV transits
    mean_obs_time_g_fov,
    /// Time duration of the time series for G FoV transits
    time_duration_g_fov,
    /// Minimum G FoV magnitude
    min_mag_g_fov,
    /// Maximum G FoV magnitude
    max_mag_g_fov,
    /// Mean G FoV magnitude
    mean_mag_g_fov,
    /// Median G FoV magnitude
    median_mag_g_fov,
    /// Difference between the highest and lowest G FoV magnitudes
    range_mag_g_fov,
    /// Trimmed difference between the highest and lowest G FoV magnitudes
    trimmed_range_mag_g_fov,
    /// Square root of the unweighted G FoV magnitude variance
    std_dev_mag_g_fov,
    /// Standardized unweighted G FoV magnitude skewness
    skewness_mag_g_fov,
    /// Standardized unweighted G FoV magnitude kurtosis
    kurtosis_mag_g_fov,
    /// Median Absolute Deviation (MAD) for G FoV transits
    mad_mag_g_fov,
    /// Abbe value for G FoV transits
    abbe_mag_g_fov,
    /// Interquartile range for G FoV transits
    iqr_mag_g_fov,
    /// Stetson G FoV variability index
    stetson_mag_g_fov,
    /// Signal-to-Noise G FoV estimate
    std_dev_over_rms_err_mag_g_fov,
    /// Greatest absolute deviation from the G FoV median normalized by the error
    outlier_median_g_fov,
    /// Total number of BP observations selected for variability analysis
    num_selected_bp,
    /// Mean observation time for BP observations
    mean_obs_time_bp,
    /// Time duration of the BP time series
    time_duration_bp,
    /// Minimum BP magnitude
    min_mag_bp,
    /// Maximum BP magnitude
    max_mag_bp,
    /// Mean BP magnitude
    mean_mag_bp,
    /// Median BP magnitude
    median_mag_bp,
    /// Difference between the highest and lowest BP magnitudes
    range_mag_bp,
    /// Trimmed difference between the highest and lowest BP magnitudes
    trimmed_range_mag_bp,
    /// Square root of the unweighted BP magnitude variance
    std_dev_mag_bp,
    /// Standardized unweighted BP magnitude skewness
    skewness_mag_bp,
    /// Standardized unweighted BP magnitude kurtosis
    kurtosis_mag_bp,
    /// Median Absolute Deviation (MAD) for BP observations
    mad_mag_bp,
    /// Abbe value for BP observations
    abbe_mag_bp,
    /// Interquartile BP magnitude range
    iqr_mag_bp,
    /// Stetson BP variability index
    stetson_mag_bp,
    /// Signal-to-Noise BP estimate
    std_dev_over_rms_err_mag_bp,
    /// Greatest absolute deviation from the BP median normalized by the error
    outlier_median_bp,
    /// Total number of RP observations selected for variability analysis
    num_selected_rp,
    /// Mean observation time for RP observations
    mean_obs_time_rp,
    /// Time duration of the RP time series
    time_duration_rp,
    /// Minimum RP magnitude
    min_mag_rp,
    /// Maximum RP magnitude
    max_mag_rp,
    /// Mean RP magnitude
    mean_mag_rp,
    /// Median RP magnitude
    median_mag_rp,
    /// Difference between the highest and lowest RP magnitudes
    range_mag_rp,
    /// Trimmed difference between the highest and lowest RP magnitudes
    trimmed_range_mag_rp,
    /// Square root of the unweighted RP magnitude variance
    std_dev_mag_rp,
    /// Standardized unweighted RP magnitude skewness
    skewness_mag_rp,
    /// Standardized unweighted RP magnitude kurtosis
    kurtosis_mag_rp,
    /// Median Absolute Deviation (MAD) for RP observations
    mad_mag_rp,
    /// Abbe value for RP observations
    abbe_mag_rp,
    /// Interquartile RP magnitude range
    iqr_mag_rp,
    /// Stetson RP variability index
    stetson_mag_rp,
    /// Signal-to-Noise RP estimate
    std_dev_over_rms_err_mag_rp,
    /// Greatest absolute deviation from the RP median normalized by the error
    outlier_median_rp,
    /// Source is present in \texttt{VariClassifierResult}
    in_vari_classification_result,
    /// Source is present in \texttt{VariRrlyrae}
    in_vari_rrlyrae,
    /// Source is present in \texttt{VariCepheid}
    in_vari_cepheid,
    /// Source is present in \texttt{VariPlanetaryTransit}
    in_vari_planetary_transit,
    /// Source is present in \texttt{VariShortTimescale}
    in_vari_short_timescale,
    /// Source is present in \texttt{VariLongPeriodVariable}
    in_vari_long_period_variable,
    /// Source is present in \texttt{VariEclipsingBinary}
    in_vari_eclipsing_binary,
    /// Source is present in \texttt{VariRotationModulation}
    in_vari_rotation_modulation,
    /// Source is present in \texttt{VariMsOscillator}
    in_vari_ms_oscillator,
    /// Source is present in \texttt{VariAgn}
    in_vari_agn,
    /// Source is present in \texttt{VariMicrolensing}
    in_vari_microlensing,
    /// Source is present in \texttt{VariCompactCompanion}
    in_vari_compact_companion,
}

impl Column for Col {}

#[cfg(test)]
pub fn collect_known(map: &mut std::collections::HashMap<String, Vec<String>>) {
    let mut col_strings = Vec::new();
    col_strings.push(Col::solution_id.to_string());
    col_strings.push(Col::source_id.to_string());
    col_strings.push(Col::num_selected_g_fov.to_string());
    col_strings.push(Col::mean_obs_time_g_fov.to_string());
    col_strings.push(Col::time_duration_g_fov.to_string());
    col_strings.push(Col::min_mag_g_fov.to_string());
    col_strings.push(Col::max_mag_g_fov.to_string());
    col_strings.push(Col::mean_mag_g_fov.to_string());
    col_strings.push(Col::median_mag_g_fov.to_string());
    col_strings.push(Col::range_mag_g_fov.to_string());
    col_strings.push(Col::trimmed_range_mag_g_fov.to_string());
    col_strings.push(Col::std_dev_mag_g_fov.to_string());
    col_strings.push(Col::skewness_mag_g_fov.to_string());
    col_strings.push(Col::kurtosis_mag_g_fov.to_string());
    col_strings.push(Col::mad_mag_g_fov.to_string());
    col_strings.push(Col::abbe_mag_g_fov.to_string());
    col_strings.push(Col::iqr_mag_g_fov.to_string());
    col_strings.push(Col::stetson_mag_g_fov.to_string());
    col_strings.push(Col::std_dev_over_rms_err_mag_g_fov.to_string());
    col_strings.push(Col::outlier_median_g_fov.to_string());
    col_strings.push(Col::num_selected_bp.to_string());
    col_strings.push(Col::mean_obs_time_bp.to_string());
    col_strings.push(Col::time_duration_bp.to_string());
    col_strings.push(Col::min_mag_bp.to_string());
    col_strings.push(Col::max_mag_bp.to_string());
    col_strings.push(Col::mean_mag_bp.to_string());
    col_strings.push(Col::median_mag_bp.to_string());
    col_strings.push(Col::range_mag_bp.to_string());
    col_strings.push(Col::trimmed_range_mag_bp.to_string());
    col_strings.push(Col::std_dev_mag_bp.to_string());
    col_strings.push(Col::skewness_mag_bp.to_string());
    col_strings.push(Col::kurtosis_mag_bp.to_string());
    col_strings.push(Col::mad_mag_bp.to_string());
    col_strings.push(Col::abbe_mag_bp.to_string());
    col_strings.push(Col::iqr_mag_bp.to_string());
    col_strings.push(Col::stetson_mag_bp.to_string());
    col_strings.push(Col::std_dev_over_rms_err_mag_bp.to_string());
    col_strings.push(Col::outlier_median_bp.to_string());
    col_strings.push(Col::num_selected_rp.to_string());
    col_strings.push(Col::mean_obs_time_rp.to_string());
    col_strings.push(Col::time_duration_rp.to_string());
    col_strings.push(Col::min_mag_rp.to_string());
    col_strings.push(Col::max_mag_rp.to_string());
    col_strings.push(Col::mean_mag_rp.to_string());
    col_strings.push(Col::median_mag_rp.to_string());
    col_strings.push(Col::range_mag_rp.to_string());
    col_strings.push(Col::trimmed_range_mag_rp.to_string());
    col_strings.push(Col::std_dev_mag_rp.to_string());
    col_strings.push(Col::skewness_mag_rp.to_string());
    col_strings.push(Col::kurtosis_mag_rp.to_string());
    col_strings.push(Col::mad_mag_rp.to_string());
    col_strings.push(Col::abbe_mag_rp.to_string());
    col_strings.push(Col::iqr_mag_rp.to_string());
    col_strings.push(Col::stetson_mag_rp.to_string());
    col_strings.push(Col::std_dev_over_rms_err_mag_rp.to_string());
    col_strings.push(Col::outlier_median_rp.to_string());
    col_strings.push(Col::in_vari_classification_result.to_string());
    col_strings.push(Col::in_vari_rrlyrae.to_string());
    col_strings.push(Col::in_vari_cepheid.to_string());
    col_strings.push(Col::in_vari_planetary_transit.to_string());
    col_strings.push(Col::in_vari_short_timescale.to_string());
    col_strings.push(Col::in_vari_long_period_variable.to_string());
    col_strings.push(Col::in_vari_eclipsing_binary.to_string());
    col_strings.push(Col::in_vari_rotation_modulation.to_string());
    col_strings.push(Col::in_vari_ms_oscillator.to_string());
    col_strings.push(Col::in_vari_agn.to_string());
    col_strings.push(Col::in_vari_microlensing.to_string());
    col_strings.push(Col::in_vari_compact_companion.to_string());
    map.insert(vari_summary.string(), col_strings);
}