Skip to content

Commit

Permalink
update commenets
Browse files Browse the repository at this point in the history
  • Loading branch information
segasai committed Jan 16, 2024
1 parent b531baa commit cf31b88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions py/rvspecfit/read_grid.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ def get_spec(params,
1-D array of spectrum
Example
-------
>>> lam,spec=read_grid.get_spec(1,5250,-1,0.4)
>>> lam,spec=read_grid.get_spec(dict(logg=1,teff=5250,met=-1,alpha=0.4))
"""

Expand Down Expand Up @@ -402,7 +402,7 @@ def rebin(lam0, spec0, newlam, resolution):
Example
-------
>>> lam,spec=read_grid.get_spec(1,5250,-1,0.4)
>>> lam,spec=read_grid.get_spec(dict(logg=1,teff=5250,met=-1,alpha=0.4))
>>> newlam = np.linspace(4000,9000,4000)
>>> newspec=read_grid.rebin(lam, spec, newlam, 1800)
"""
Expand Down

0 comments on commit cf31b88

Please sign in to comment.