# Path: astroNN/config.py
# MAGIC_NUMBER = magic_num_reader()


import os
import warnings
import numpy as np
from astropy import units as u
from astroNN.config import MAGIC_NUMBER
    from astroNN.config import ENVVAR_WARN_FLAG
# ---------------------------------------------------------#
#   astroNN.gaia.gaia_shared: shared functions for apogee
# ---------------------------------------------------------#




default_parallax_unit = u.mas

# Sun's absmag in different Johnson/Cousins/2MASS/Sloan bands
# sun abs mag in pass bands source: https://arxiv.org/pdf/1804.07788.pdf --> Table 3
solar_absmag_bands = {'U': 5.61,  # Johnson U
                      'B': 5.44,  # Johnson B
                      'V': 4.81,  # Johnson V
                      'R': 4.43,  # Cousins R
                      'I': 4.10,  # Cousins I

# Path: astroNN/config.py
# MAGIC_NUMBER = magic_num_reader()


# Path: astroNN/gaia/gaia_shared.py
import os
import warnings
import numpy as np
from astropy import units as u
from astroNN.config import MAGIC_NUMBER
    from astroNN.config import ENVVAR_WARN_FLAG

# ---------------------------------------------------------#
#   astroNN.gaia.gaia_shared: shared functions for apogee
# ---------------------------------------------------------#




default_parallax_unit = u.mas

# Sun's absmag in different Johnson/Cousins/2MASS/Sloan bands
# sun abs mag in pass bands source: https://arxiv.org/pdf/1804.07788.pdf --> Table 3
solar_absmag_bands = {'U': 5.61,  # Johnson U
                      'B': 5.44,  # Johnson B
                      'V': 4.81,  # Johnson V
                      'R': 4.43,  # Cousins R
                      'I': 4.10,  # Cousins I

                      'J': 3.67,  # 2MASS J