Commit 9c7de28e authored by Laura Ketzer's avatar Laura Ketzer
Browse files

worked on OwWu17 sample

parent be77b35d
......@@ -64,7 +64,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.2"
"version": "3.7.3"
}
},
"nbformat": 4,
......
......@@ -28,12 +28,13 @@ def evolve_one_planet(pl_folder_pair, t_final, init_step, eps, K_on, beta_on, ev
t_sat = 100.
# solve for Lx_curr, which is the Lx at time t_track_end, assuming a constant power law slope after time t_sat
L_xuv_track_end = 10**(alpha*(np.log10(t_final/t_sat))) * pl.Lx_age
L_x_track_end = 10**(alpha*(np.log10(t_final/t_sat))) * pl.Lx_age
# pass Lx to dictionary, not Lxuv, since Platypos automatically applies the conversion
Lx_track_end = 10**(alpha*(np.log10(t_final/t_sat))) * undo_what_Lxuv_all_does(L_xuv_track_end)
#Lx_track_end = 10**(alpha*(np.log10(t_final/t_sat))) * undo_what_Lxuv_all_does(L_xuv_track_end)
#pl.Lx_age = undo_what_Lxuv_all_does(pl.Lx_age)
track = {"t_start": pl.age, "t_sat": t_sat, "t_curr": t_final, "t_5Gyr": t_final,
"Lx_max": undo_what_Lxuv_all_does(pl.Lx_age), "Lx_curr": Lx_track_end,
"Lx_max": pl.Lx_age, "Lx_curr": Lx_track_end,
"Lx_5Gyr": Lx_track_end, "dt_drop": 0., "Lx_drop_factor": 0.}
pl.set_name(t_final, init_step, eps, K_on, beta_on, evo_track_dict=track) # set planet name based on specified track
......
star_id,mass_star,radius_star,age,Lbol,Lx_age
star_age1.0_mass0.84,0.8393139377549008,None,1.0,1.0,1.01600621419015e+30
\ No newline at end of file
a,core_mass,fenv,mass,radius,metallicity,age
0.2586387437829932,4.9058730177443675,2.452281283301818,5.029203227183807,4.257821130237101,solarZ,1.0
\ No newline at end of file
a,core_mass,mass,radius,metallicity,track
0.2586387437829932,4.9058730177443675,4.9058730177443675,1.4882609127236799,solarZ,planet_0003_track_1.0_100.0_3000.0_1.6604678172253663e+29_0.0_0.0
\ No newline at end of file
t_start,t_sat,t_curr,t_5Gyr,Lx_max,Lx_curr,Lx_5Gyr,dt_drop,Lx_drop_factor
1.0,100.0,3000.0,3000.0,1.6604678172253663e+29,2.9950555675384887e+24,2.9950555675384887e+24,0.0,0.0
\ No newline at end of file
star_id,mass_star,radius_star,age,Lbol,Lx_age
star_age1.0_mass0.87,0.8650301163225012,None,1.0,1.0,1.0471361597976247e+30
\ No newline at end of file
a,core_mass,fenv,mass,radius,metallicity,age
0.11314345277900296,6.100733510458275,3.499419927010579,6.321965635692458,5.073124068129578,solarZ,1.0
\ No newline at end of file
a,core_mass,mass,radius,metallicity,track
0.11314345277900296,6.100733510458275,6.100733510458275,1.571612642298886,solarZ,planet_0004_track_1.0_100.0_3000.0_1.7182058118300628e+29_0.0_0.0
\ No newline at end of file
t_start,t_sat,t_curr,t_5Gyr,Lx_max,Lx_curr,Lx_5Gyr,dt_drop,Lx_drop_factor
1.0,100.0,3000.0,3000.0,1.7182058118300628e+29,3.1006301611717223e+24,3.1006301611717223e+24,0.0,0.0
\ No newline at end of file
star_id,mass_star,radius_star,age,Lbol,Lx_age
star_age1.0_mass0.97,0.9744339245841386,None,1.0,1.0,1.1795716455554592e+30
\ No newline at end of file
a,core_mass,fenv,mass,radius,metallicity,age
0.1708354969993818,1.907894982844895,10.176675961331764,2.1240529709450087,9.146259989606918,solarZ,1.0
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment