Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tomlouden committed Apr 26, 2017
1 parent 8396055 commit 0d5f18a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion spiderman/params.py
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ def lightcurve(self,t,use_phase=False,stellar_grid=False,eclipse=True):

if self.thermal == True:
if stellar_grid == False:
star_grid = sp.stellar_grid.gen_grid(self.l1,self.l2)
star_grid = sp.stellar_grid.gen_grid(self.l1,self.l2,logg=4.5)
teffs = star_grid[0]
totals = star_grid[1]
else:
Expand Down
3 changes: 1 addition & 2 deletions spiderman/stellar_grid.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@
import numpy as np
import spiderman

def gen_grid(l1,l2):
def gen_grid(l1,l2,logg=4.5):

logg = 4.5
z = -0.0

h =6.62607004e-34;
Expand Down
4 changes: 2 additions & 2 deletions spiderman/web.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def generate_planet(spider_params,t,use_phase=False,stellar_grid=False):

if spider_params.thermal == True:
if stellar_grid == False:
star_grid = sp.stellar_grid.gen_grid(spider_params.l1,spider_params.l2)
star_grid = sp.stellar_grid.gen_grid(spider_params.l1,spider_params.l2,logg=4.5)
teffs = star_grid[0]
totals = star_grid[1]
else:
Expand Down Expand Up @@ -64,7 +64,7 @@ def lightcurve(t,spider_params,stellar_grid=False):

if spider_params.thermal == True:
if stellar_grid == False:
star_grid = sp.stellar_grid.gen_grid(spider_params.l1,spider_params.l2)
star_grid = sp.stellar_grid.gen_grid(spider_params.l1,spider_params.l2,logg=4.5)
teffs = star_grid[0]
totals = star_grid[1]
else:
Expand Down

0 comments on commit 0d5f18a

Please sign in to comment.