Skip to content

Commit

Permalink
Fixed issues with new package structure
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasstolker committed Nov 11, 2023
1 parent 8295837 commit 30a9943
Show file tree
Hide file tree
Showing 74 changed files with 2,102 additions and 1,749 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ pypi-test:
docs:
rm -f docs/species.core.rst
rm -f docs/species.data.rst
rm -f docs/species.data.*.rst
rm -f docs/species.fit.rst
rm -f docs/species.phot.rst
rm -f docs/species.plot.rst
Expand All @@ -28,6 +29,8 @@ docs:
cd docs/
$(MAKE) -C docs clean
$(MAKE) -C docs html
rm -f docs/species_config.ini
rm -f docs/species_database.hdf5

coverage:
coverage run --source=species -m pytest
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

There are tools available for grid and free retrievals using Bayesian inference, synthetic photometry, interpolating a variety atmospheric and evolutionary model grids (including the possibility to add a custom grid), color-magnitude and color-color diagrams, empirical spectral analysis, spectral and photometric calibration, and analysis of emission lines. The package has been released on `PyPI <https://pypi.org/project/species/>`_ and is actively developed and maintained on Github.

**Important:** Importing the *species* package had become slow because of the many classes and functions that were implicitly imported. The initialization of the package has therefore been adjusted. In the latest version, any functionalities should be explicitly imported from the modules that they are part of.
**Important:** Importing the *species* package had become slow because of the many classes and functions that were implicitly imported. The initialization of the package has therefore been adjusted. Any functionalities should now be explicitly imported from the modules that they are part of.

Documentation
-------------
Expand Down
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Documentation for *species*
*species* is a toolkit for atmospheric characterization of directly imaged exoplanets.

.. important::
Importing the ``species`` package had become slow because of the many classes and functions that were implicitly imported. The initialization of the package has therefore been adjusted. In the latest version, any functionalities should be explicitly imported from the modules that they are part of.
Importing the ``species`` package had become slow because of the many classes and functions that were implicitly imported. The initialization of the package has therefore been adjusted. Any functionalities should now be explicitly imported from the modules that they are part of.

.. toctree::
:maxdepth: 2
Expand Down
21 changes: 21 additions & 0 deletions docs/species.data.companion_data.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
species.data.companion\_data package
====================================

Submodules
----------

species.data.companion\_data.companion\_spectra module
------------------------------------------------------

.. automodule:: species.data.companion_data.companion_spectra
:members:
:undoc-members:
:show-inheritance:

Module contents
---------------

.. automodule:: species.data.companion_data
:members:
:undoc-members:
:show-inheritance:
21 changes: 21 additions & 0 deletions docs/species.data.filter_data.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
species.data.filter\_data package
=================================

Submodules
----------

species.data.filter\_data.filter\_data module
---------------------------------------------

.. automodule:: species.data.filter_data.filter_data
:members:
:undoc-members:
:show-inheritance:

Module contents
---------------

.. automodule:: species.data.filter_data
:members:
:undoc-members:
:show-inheritance:
101 changes: 101 additions & 0 deletions docs/species.data.isochrone_data.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
species.data.isochrone\_data package
====================================

Submodules
----------

species.data.isochrone\_data.add\_isochrone module
--------------------------------------------------

.. automodule:: species.data.isochrone_data.add_isochrone
:members:
:undoc-members:
:show-inheritance:

species.data.isochrone\_data.iso\_ames module
---------------------------------------------

.. automodule:: species.data.isochrone_data.iso_ames
:members:
:undoc-members:
:show-inheritance:

species.data.isochrone\_data.iso\_atmo module
---------------------------------------------

.. automodule:: species.data.isochrone_data.iso_atmo
:members:
:undoc-members:
:show-inheritance:

species.data.isochrone\_data.iso\_baraffe2015 module
----------------------------------------------------

.. automodule:: species.data.isochrone_data.iso_baraffe2015
:members:
:undoc-members:
:show-inheritance:

species.data.isochrone\_data.iso\_btsettl module
------------------------------------------------

.. automodule:: species.data.isochrone_data.iso_btsettl
:members:
:undoc-members:
:show-inheritance:

species.data.isochrone\_data.iso\_linder2019 module
---------------------------------------------------

.. automodule:: species.data.isochrone_data.iso_linder2019
:members:
:undoc-members:
:show-inheritance:

species.data.isochrone\_data.iso\_manual module
-----------------------------------------------

.. automodule:: species.data.isochrone_data.iso_manual
:members:
:undoc-members:
:show-inheritance:

species.data.isochrone\_data.iso\_marleau module
------------------------------------------------

.. automodule:: species.data.isochrone_data.iso_marleau
:members:
:undoc-members:
:show-inheritance:

species.data.isochrone\_data.iso\_nextgen module
------------------------------------------------

.. automodule:: species.data.isochrone_data.iso_nextgen
:members:
:undoc-members:
:show-inheritance:

species.data.isochrone\_data.iso\_saumon2008 module
---------------------------------------------------

.. automodule:: species.data.isochrone_data.iso_saumon2008
:members:
:undoc-members:
:show-inheritance:

species.data.isochrone\_data.iso\_sonora module
-----------------------------------------------

.. automodule:: species.data.isochrone_data.iso_sonora
:members:
:undoc-members:
:show-inheritance:

Module contents
---------------

.. automodule:: species.data.isochrone_data
:members:
:undoc-members:
:show-inheritance:
29 changes: 29 additions & 0 deletions docs/species.data.misc_data.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
species.data.misc\_data package
===============================

Submodules
----------

species.data.misc\_data.accretion\_data module
----------------------------------------------

.. automodule:: species.data.misc_data.accretion_data
:members:
:undoc-members:
:show-inheritance:

species.data.misc\_data.dust\_data module
-----------------------------------------

.. automodule:: species.data.misc_data.dust_data
:members:
:undoc-members:
:show-inheritance:

Module contents
---------------

.. automodule:: species.data.misc_data
:members:
:undoc-members:
:show-inheritance:
29 changes: 29 additions & 0 deletions docs/species.data.model_data.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
species.data.model\_data package
================================

Submodules
----------

species.data.model\_data.custom\_model module
---------------------------------------------

.. automodule:: species.data.model_data.custom_model
:members:
:undoc-members:
:show-inheritance:

species.data.model\_data.model\_spectra module
----------------------------------------------

.. automodule:: species.data.model_data.model_spectra
:members:
:undoc-members:
:show-inheritance:

Module contents
---------------

.. automodule:: species.data.model_data
:members:
:undoc-members:
:show-inheritance:
29 changes: 29 additions & 0 deletions docs/species.data.phot_data.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
species.data.phot\_data package
===============================

Submodules
----------

species.data.phot\_data.phot\_leggett module
--------------------------------------------

.. automodule:: species.data.phot_data.phot_leggett
:members:
:undoc-members:
:show-inheritance:

species.data.phot\_data.phot\_vlm\_plx module
---------------------------------------------

.. automodule:: species.data.phot_data.phot_vlm_plx
:members:
:undoc-members:
:show-inheritance:

Module contents
---------------

.. automodule:: species.data.phot_data
:members:
:undoc-members:
:show-inheritance:
Loading

0 comments on commit 30a9943

Please sign in to comment.