Scaling function for the generic ATMO grid presented in Goyal et al. (2018b).
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


Scaling function for the generic ATMO grid presented in Goyal, J., et al., 2018b, MNRAS, accepted for publication October 30th 2018.

The full grid of models can be found at

The data folder contains example models for this function. The name structure is kept consistent between models for better reading.

This function will take a single Generic ATMO Grid file and scale it 
with an input planetary system radii, gravity and temperature. 

dir = string for the directory containing the file you want to scale
	e.g. '/Users/name/Documents/Generic_Goyal_Grid/Rainout_condensation/'
file = string of the model name you want to run the input file should be selected such that it is closest to the gravity and temperature for the planet
	e.g. trans-iso-generic_1500_05_+0.0_0.56_0001_0.00_model.txt' 
	where the file naming convention is trans-iso-generic_temperature_gravity_metallicity_CtoO_haze_cloud_model.txt

rs = radius of the star in solar radii
rp = radius of the planet in jupiter radii
gp = gravity of the planet in cgs units
tp = temperature of the planet in K

wav = wavlength array for the model (microns)
rprs = (Rp/R*)^2 model