Skip to content

Commit

Permalink
Improved autodocs
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomas Stolker committed Nov 11, 2019
1 parent dd9d400 commit 24f98d9
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
4 changes: 4 additions & 0 deletions species/plot/plot_color.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,8 @@ def plot_color_magnitude(colorbox=None,
#
# if item[0] == 'HR 8799 b':
# label = 'Directly imaged'
# elif item[0] == 'beta Pic b':
# label = 'This study'
# else:
# label = None

Expand Down Expand Up @@ -555,6 +557,8 @@ def plot_color_color(colorbox,
#
# if item[0] == 'HR 8799 b':
# label = 'Directly imaged'
# elif item[0] == 'beta Pic b':
# label = 'This study'
# else:
# label = None

Expand Down
9 changes: 9 additions & 0 deletions species/read/read_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,11 @@ def get_model(self,
specres=None,
magnitude=False):
"""
Function to extract a model spectrum with a multidimensional interpolation of the model
grid. The parameters values should therefore lie within the boundaries of the grid points
that are stored in the database. The stored grid points can be inspected with
:func:`~species.read.read_model.ReadModel.get_points`.
Parameters
----------
model_par : dict
Expand Down Expand Up @@ -309,6 +314,10 @@ def get_model(self,
def get_data(self,
model_par):
"""
Function to extract a model spectra without interpolation for parameter values that are
stored within the database. The stored grid points can be inspected with
:func:`~species.read.read_model.ReadModel.get_points`.
Parameters
----------
model_par : dict
Expand Down

0 comments on commit 24f98d9

Please sign in to comment.