gaia_access 0.1.4

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 ravedr5_gra table.

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

/// The Radial Velocity Experiment (RAVE): Fifth Data Release. Astroseismic gravities (RAVE_Gravity_SC.dat). Original catalogue released by Kunder et al. 2017 AJ 153, 75K. Data retrieved using the VizieR catalogue access tool, CDS, Strasbourg, France. The original description of the VizieR service was published in A&AS 143, 23. VizieR catalogue II/279.
#[allow(non_camel_case_types)]
pub struct ravedr5_gra;

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

/// The columns in the ravedr5_gra table.
#[allow(non_camel_case_types)]
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, strum::Display)]
pub enum Col {
    /// ! Target designation (RAVE_OBS_ID)
    name,
    /// ? Log gravity calibrated astroseismically (logg_SC)
    loggsc,
    /// ? Error on loggSC (elogg_SC)
    e_loggsc,
    /// [0/1] Difference between loggSC and loggK less than 0.5dex (1=true, 0=false) (Flag050)
    flag050,
    /// [0/1]? Difference between loggSC and loggK less than 0.75dex (1=true, 0=false) (Flag075)
    flag075,
    /// [0/1]? Normal star, meaning c1-c20 are all "n" (1=true, 0=false) (Flag_M)
    flagm,
    /// ? Temperature from infrared flux (Teff_IR)
    teffir,
    /// ? Abundance of Mg (Mg) (2)
    mg_h,
    /// ? Number of used spectral lines for calculation (Mg_N)
    o_mg_h,
    /// ? Abundance of Al (Al) (2)
    al_h,
    /// ? Number of used spectral lines for calculation (Al_N)
    o_al_h,
    /// ? Abundance of Si (Si) (2)
    si_h,
    /// ? Number of used spectral lines for calculation (Si_N)
    o_si_h,
    /// ? Abundance of Ti (Ti) (2)
    ti_h,
    /// ? Number of used spectral lines for calculation (Ti_N)
    o_ti_h,
    /// ? Abundance of Fe (Fe) (2)
    fe_h,
    /// ? Number of used spectral lines for calculation (Fe_N)
    o_fe_h,
    /// ? Abundance of Ni (Ni) (2)
    ni_h,
    /// ? Number of used spectral lines for calculation (Ni_N)
    o_ni_h,
    /// ? Alpha-enhancement from chemical pipeline (Alpha_c)
    a_fe_c,
    /// ? Chi-square of chemical pipeline (CHISQ_c) (2)
    chisqc,
    /// ? Fraction of spectrum used for calculation of abundances (frac_c)
    fracc,
    /// ? Total extinction in V-band from Schlegel et al. (1998ApJ...500..525S) (AV_Schlegel)
    avschl,
    /// ? Spectrophotometric distance (distance) (1)
    dist,
    /// ? Error on distance (edistance) (1)
    e_dist,
    /// ? Log Av extinction (log_Av) (1)
    logav,
    /// ? Error on LogAv (elog_Av) (1)
    e_logav,
    /// ? Spectrophotometric parallax (parallax) (1)
    plx,
    /// ? Error on plx (eparallax) (1)
    e_plx,
    /// ? Distance modulus (DistanceModulus_Binney) (1)
    dm,
    /// ? Error on DM (eDistanceModulus_Binney) (1)
    e_dm,
    /// ? Fit flag see sec.3 of Binney et al. (2014MNRAS.437..351B) (Fit_Flag_Binney)
    ffb,
    /// ? Fit quality "F" given by Eq. 15 of Binney et al. (2014MNRAS.437..351B) (FitQuality_Binney)
    fqb,
    /// ? Number of components required for multi-Gaussian distance modulus fit (N_Gauss_fit)
    ngauss,
    /// ? Mean of 1st Gaussian (Gauss_mean_1)
    gm1,
    /// ? Sigma of 1st Gaussian (Gauss_sigma_1)
    gs1,
    /// ? Normalisation of 1st Gaussian (Gauss_frac_1)
    gf1,
    /// ? Mean of 2nd Gaussian (Gauss_mean_2)
    gm2,
    /// ? Sigma of 2nd Gaussian (Gauss_sigma_2)
    gs2,
    /// ? Normalisation of 2nd Gaussian (Gauss_frac_2)
    gf2,
    /// ? Mean of 3rd Gaussian (Gauss_mean_3)
    gm3,
    /// ? Sigma of 3rd Gaussian (Gauss_sigma_3)
    gs3,
    /// ? Normalisation of 3rd Gaussian (Gauss_frac_3)
    gf3,
}

impl Column for Col {}

#[cfg(test)]
/// Collects all the known columns in the ravedr5_gra table.
pub fn collect_known(map: &mut std::collections::HashMap<String, Vec<String>>) {
    let mut col_strings = Vec::new();
    col_strings.push(Col::name.to_string());
    col_strings.push(Col::loggsc.to_string());
    col_strings.push(Col::e_loggsc.to_string());
    col_strings.push(Col::flag050.to_string());
    col_strings.push(Col::flag075.to_string());
    col_strings.push(Col::flagm.to_string());
    col_strings.push(Col::teffir.to_string());
    col_strings.push(Col::mg_h.to_string());
    col_strings.push(Col::o_mg_h.to_string());
    col_strings.push(Col::al_h.to_string());
    col_strings.push(Col::o_al_h.to_string());
    col_strings.push(Col::si_h.to_string());
    col_strings.push(Col::o_si_h.to_string());
    col_strings.push(Col::ti_h.to_string());
    col_strings.push(Col::o_ti_h.to_string());
    col_strings.push(Col::fe_h.to_string());
    col_strings.push(Col::o_fe_h.to_string());
    col_strings.push(Col::ni_h.to_string());
    col_strings.push(Col::o_ni_h.to_string());
    col_strings.push(Col::a_fe_c.to_string());
    col_strings.push(Col::chisqc.to_string());
    col_strings.push(Col::fracc.to_string());
    col_strings.push(Col::avschl.to_string());
    col_strings.push(Col::dist.to_string());
    col_strings.push(Col::e_dist.to_string());
    col_strings.push(Col::logav.to_string());
    col_strings.push(Col::e_logav.to_string());
    col_strings.push(Col::plx.to_string());
    col_strings.push(Col::e_plx.to_string());
    col_strings.push(Col::dm.to_string());
    col_strings.push(Col::e_dm.to_string());
    col_strings.push(Col::ffb.to_string());
    col_strings.push(Col::fqb.to_string());
    col_strings.push(Col::ngauss.to_string());
    col_strings.push(Col::gm1.to_string());
    col_strings.push(Col::gs1.to_string());
    col_strings.push(Col::gf1.to_string());
    col_strings.push(Col::gm2.to_string());
    col_strings.push(Col::gs2.to_string());
    col_strings.push(Col::gf2.to_string());
    col_strings.push(Col::gm3.to_string());
    col_strings.push(Col::gs3.to_string());
    col_strings.push(Col::gf3.to_string());
    map.insert(ravedr5_gra.string(), col_strings);
}