from importlib import metadata as _md
from .bhmie_python import bhmie_python
try:
    from .bhmie_fortran import bhmie_fortran
except ImportError:
    print('fortran mie routines unavailable')

__version__ = _md.version("dsharp_opac")

from .dsharp_opac import \
    progress_bar, \
    diel_const, \
    diel_from_lnk_file, \
    diel_henning, \
    diel_jaeger98, \
    diel_segelstein_water, \
    diel_preibisch93, \
    diel_pollack1994, \
    diel_draine2003, \
    diel_WeingartnerDraine2001_astrosil, \
    diel_drainelee84_astrosil, \
    diel_vacuum, \
    diel_zubko96, \
    diel_warren84, \
    diel_warrenbrandt08, \
    diel_ricci10, \
    diel_mixed, \
    powerlaw_N_of_a, \
    gaussian_N_of_a, \
    get_kappa_from_q, \
    get_size_averaged_opacity, \
    get_mie_coefficients, \
    calculate_mueller_matrix, \
    make_opacity_dict, \
    write_disklab_opacity, \
    write_radmc3d_scatmat_file, \
    read_radmc3d_scatmat_file, \
    compare_nk, \
    get_ricci_mix, \
    get_dsharp_mix, \
    get_opacities, \
    size_average_opacity, \
    get_smooth_opacities, \
    distribution, \
    get_B11_fit, \
    get_B11S_fit, \
    get_datafile, \
    chop_forward_scattering

__all__ = [
    'bhmie_python',
    'bhmie_fortran',
    'progress_bar',
    'diel_const',
    'diel_from_lnk_file',
    'diel_henning',
    'diel_jaeger98',
    'diel_segelstein_water',
    'diel_preibisch93',
    'diel_pollack1994',
    'diel_draine2003',
    'diel_WeingartnerDraine2001_astrosil',
    'diel_drainelee84_astrosil',
    'diel_vacuum',
    'diel_zubko96',
    'diel_warren84',
    'diel_warrenbrandt08',
    'diel_ricci10',
    'diel_mixed',
    'powerlaw_N_of_a',
    'gaussian_N_of_a',
    'get_kappa_from_q',
    'get_size_averaged_opacity',
    'get_smooth_opacities',
    'get_mie_coefficients',
    'calculate_mueller_matrix',
    'make_opacity_dict',
    'write_disklab_opacity',
    'write_radmc3d_scatmat_file',
    'read_radmc3d_scatmat_file',
    'compare_nk',
    'get_ricci_mix',
    'get_dsharp_mix',
    'get_opacities',
    'size_average_opacity',
    'distribution',
    'get_B11_fit',
    'get_B11S_fit',
    'get_datafile',
    'chop_forward_scattering']
