From cf31b88e9b71503361b16afb797bb92f2b1828fa Mon Sep 17 00:00:00 2001 From: "Sergey E. Koposov" Date: Tue, 16 Jan 2024 13:29:58 +0000 Subject: [PATCH] update commenets --- py/rvspecfit/read_grid.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/py/rvspecfit/read_grid.py b/py/rvspecfit/read_grid.py index 220771c..e283001 100644 --- a/py/rvspecfit/read_grid.py +++ b/py/rvspecfit/read_grid.py @@ -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)) """ @@ -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) """