Breidablik
  • About
  • Getting Started
    • Installation
    • Examples
      • Example 1: Predict abundance from spectra
        • About
        • Example
      • Example 2: Check predicted abundance
        • About
        • Example
      • Example 3: Generate mock observed spectrum
        • About
        • Example
      • Example 4: Get abundance from REW
        • About
        • Example
      • Example 5: Get 3D NLTE correction
        • About
        • Example
  • Documentation
    • analysis
      • read
        • get_wavelengths()
        • kfolds()
        • read()
        • read_all()
        • read_all_abund()
        • split()
      • tools
        • cut()
        • cut_wavelength()
        • rew()
      • format_read
        • pixel_format()
        • rew_format()
    • interpolate
      • spectra
        • Spectra
          • Spectra.X
          • Spectra.__init__()
          • Spectra.cut_models
          • Spectra.find_abund()
          • Spectra.model_path
          • Spectra.models
          • Spectra.predict_flux()
          • Spectra.relative_error
          • Spectra.save_num
          • Spectra.scalar
          • Spectra.scalar_path
      • rew
        • Rew
          • Rew.__init__()
          • Rew.dim
          • Rew.find_abund()
          • Rew.model_path_610
          • Rew.model_path_810
          • Rew.models
          • Rew.scalar
          • Rew.scalar_610
          • Rew.scalar_810
          • Rew.scalar_path_610
          • Rew.scalar_path_810
          • Rew.scalars
      • nlte
        • Nlte
          • Nlte.__init__()
          • Nlte.model_path
          • Nlte.model_path_610
          • Nlte.model_path_810
          • Nlte.models
          • Nlte.nlte_correction()
          • Nlte.scalar
          • Nlte.scalar_610
          • Nlte.scalar_810
          • Nlte.scalar_path
          • Nlte.scalar_path_610
          • Nlte.scalar_path_810
          • Nlte.scalars
  • API Reference
    • conf
      • Attributes
      • Module Contents
        • project
        • copyright
        • author
        • extensions
        • autoapi_dirs
        • templates_path
        • exclude_patterns
        • master_doc
        • html_theme
        • html_theme_options
        • html_static_path
    • breidablik
      • Subpackages
        • breidablik.analysis
          • Submodules
            • breidablik.analysis.format_read
              • Functions
              • Module Contents
                • pixel_format()
                • rew_format()
            • breidablik.analysis.read
              • Attributes
              • Functions
              • Module Contents
                • _base_path
                • _name_add()
                • _get_dimension_path()
                • _closest_temp()
                • _get_model_path()
                • read()
                • get_wavelengths()
                • read_all_abund()
                • read_all()
                • split()
                • kfolds()
            • breidablik.analysis.test_read
              • Attributes
              • Classes
              • Module Contents
                • _base_path
                • balder_path
                • balder_files
                • pytestmark
                • Test_name_add
                  • Test_name_add.test_num()
                  • Test_name_add.test_sign()
                • Test_closest_temp
                  • Test_closest_temp.test_warning()
                  • Test_closest_temp.test_case1()
                • Test_get_wavelengths
                  • Test_get_wavelengths.test_monotonic()
            • breidablik.analysis.test_tools
              • Classes
              • Functions
              • Module Contents
                • assert_array_eq()
                • Test_cut_wavelength
                  • Test_cut_wavelength.test_empty()
                  • Test_cut_wavelength.test_inc_edge()
                  • Test_cut_wavelength.test_case1()
                  • Test_cut_wavelength.test_case2()
                  • Test_cut_wavelength.test_case3()
                • Test_cut
                  • Test_cut.test_empty()
                  • Test_cut.test_inc_edge()
                  • Test_cut.test_case1()
                  • Test_cut.test_case2()
                  • Test_cut.test_case3()
            • breidablik.analysis.tools
              • Functions
              • Module Contents
                • cut_wavelength()
                • cut()
                • rew()
        • breidablik.interpolate
          • Submodules
            • breidablik.interpolate.grid_check
              • Attributes
              • Functions
              • Module Contents
                • _base_path
                • _grid_check()
            • breidablik.interpolate.load
              • Classes
              • Functions
              • Module Contents
                • ReLU()
                • linear()
                • FFNN
                  • FFNN.forward()
                  • FFNN.__call__()
                  • FFNN.load()
            • breidablik.interpolate.nlte
              • Attributes
              • Classes
              • Module Contents
                • _base_path
                • Nlte
                  • Nlte.model_path
                  • Nlte.scalar_path
                  • Nlte.model_path_610
                  • Nlte.scalar_path_610
                  • Nlte.model_path_810
                  • Nlte.scalar_path_810
                  • Nlte.scalar
                  • Nlte.scalar_610
                  • Nlte.scalar_810
                  • Nlte.models
                  • Nlte.scalars
                  • Nlte.nlte_correction()
                  • Nlte._nlte_correction()
            • breidablik.interpolate.rew
              • Attributes
              • Classes
              • Module Contents
                • _base_path
                • Rew
                  • Rew.dim
                  • Rew.model_path_610
                  • Rew.scalar_path_610
                  • Rew.model_path_810
                  • Rew.scalar_path_810
                  • Rew.scalar
                  • Rew.scalar_610
                  • Rew.scalar_810
                  • Rew.models
                  • Rew.scalars
                  • Rew.find_abund()
                  • Rew._find_abund()
            • breidablik.interpolate.scalar
              • Classes
              • Module Contents
                • Scalar
                  • Scalar.mean
                  • Scalar.std
                  • Scalar.fit()
                  • Scalar._check()
                  • Scalar.transform()
                  • Scalar.untransform()
                  • Scalar.save()
                  • Scalar.load()
            • breidablik.interpolate.spectra
              • Attributes
              • Classes
              • Module Contents
                • _base_path
                • Spectra
                  • Spectra.model_path
                  • Spectra.scalar_path
                  • Spectra.scalar
                  • Spectra.models
                  • Spectra.X
                  • Spectra.relative_error
                  • Spectra.save_num
                  • Spectra.cut_models
                  • Spectra.find_abund()
                  • Spectra._window_search()
                  • Spectra._coarse_search()
                  • Spectra._calc_bayes_err()
                  • Spectra._bayesian_inference()
                  • Spectra._p_model_given_data()
                  • Spectra._chisq()
                  • Spectra.predict_flux()
                  • Spectra._predict_flux()
                  • Spectra._extrapolate()
                  • Spectra._interpolate()
                  • Spectra._phi()
                  • Spectra._dist()
            • breidablik.interpolate.test_grid_check
              • Classes
              • Module Contents
                • Test_grid_check
                  • Test_grid_check.test_warning()
                  • Test_grid_check.test_warning_marcs()
            • breidablik.interpolate.test_nlte
              • Attributes
              • Classes
              • Module Contents
                • flag
                • pytestmark
                • Test_nlte_correction
                  • Test_nlte_correction.setup_class()
                  • Test_nlte_correction.test_input_shape()
                  • Test_nlte_correction.test_warning_pred_abund()
                  • Test_nlte_correction.test_diff_line()
            • breidablik.interpolate.test_rew
              • Attributes
              • Classes
              • Module Contents
                • flag
                • pytestmark
                • Test_find_abund
                  • Test_find_abund.setup_class()
                  • Test_find_abund.test_input_shape()
                  • Test_find_abund.test_warning_dim()
                  • Test_find_abund.test_warning_pred_abund()
                  • Test_find_abund.test_diff_line()
            • breidablik.interpolate.test_scalar
              • Classes
              • Functions
              • Module Contents
                • assert_array_eq()
                • Test_fit
                  • Test_fit.setup_class()
                  • Test_fit.test_input()
                  • Test_fit.test_dimension()
                  • Test_fit.test_case1()
                • Test_transform
                  • Test_transform.setup_class()
                  • Test_transform.test_existance()
                  • Test_transform.test_input()
                  • Test_transform.test_dimension()
                  • Test_transform.test_dimension2()
                  • Test_transform.test_case1()
                • Test_save
                  • Test_save.setup_class()
                  • Test_save.test_existance()
                • Test_load
                  • Test_load.setup_class()
                  • Test_load.test_fnferror()
            • breidablik.interpolate.test_spectra
              • Attributes
              • Classes
              • Module Contents
                • flag
                • pytestmark
                • Test_find_abund
                  • Test_find_abund.setup_class()
                  • Test_find_abund.test_monontonic()
                  • Test_find_abund.test_shape()
                  • Test_find_abund.test_dimension()
                  • Test_find_abund.test_method()
                  • Test_find_abund.test_min_max_abund()
                  • Test_find_abund.test_abund_prior_warning()
                  • Test_find_abund.test_wl_overlap()
                  • Test_find_abund.test_abund_prior_shape()
                  • Test_find_abund.test_warning_pred_abund()
                • Test_predict_flux
                  • Test_predict_flux.setup_class()
                  • Test_predict_flux.test_input_shape()
                  • Test_predict_flux.test_warning_abundance()
      • Submodules
        • breidablik.grid_snapshot
          • Attributes
          • Module Contents
            • data
            • t_step
            • m_step
            • models
Breidablik
  • Welcome to Breidablik’s documentation!
  • View page source

Welcome to Breidablik’s documentation!

Contents:

  • About
  • Getting Started
    • Installation
    • Examples
  • Documentation
    • analysis
    • interpolate
  • API Reference
    • conf
    • breidablik

Indices and tables

  • Index

  • Module Index

  • Search Page

Next

© Copyright 2019, Ella Xi Wang.

Built with Sphinx using a theme provided by Read the Docs.