File tree Expand file tree Collapse file tree 5 files changed +116
-85
lines changed
Expand file tree Collapse file tree 5 files changed +116
-85
lines changed Original file line number Diff line number Diff line change 1515out = vplanet .run (path / "vpl.in" , units = False )
1616
1717fig = plt .figure (figsize = (6.5 , 8 ))
18- plt .subplot (2 , 1 , 1 )
18+ plt .subplot (3 , 1 , 1 )
1919plt .plot (
2020 out .sinewave .Time ,
2121 out .sinewave .Luminosity ,
2828 color = vplot .colors .pale_blue ,
2929 label = "None" ,
3030)
31- plt .legend (loc = "best" , title = "Stellar Model" )
31+ plt .legend (loc = "best" , title = "STELLAR Model" )
3232plt .ylabel (r"Luminosity (L$_\odot$)" )
3333plt .xlabel ("Time (yr)" )
3434
35- plt .subplot (2 , 1 , 2 )
35+ plt .subplot (3 , 1 , 2 )
3636plt .plot (out .sinewave .Time , out .sinewave .Temperature , color = vplot .colors .red )
3737plt .plot (out .none .Time , out .none .Temperature , color = vplot .colors .pale_blue )
3838plt .ylabel ("Effective Temperature (K)" )
3939plt .xlabel ("Time (yr)" )
4040
41+ plt .subplot (3 , 1 , 3 )
42+ plt .plot (out .sinewave .Time , out .sinewave .LXUVTot , color = vplot .colors .red )
43+ plt .plot (out .none .Time , out .none .LXUVTot , color = vplot .colors .pale_blue )
44+ plt .ylabel (r"XUV Luminosity (L$_\odot$)" )
45+ plt .xlabel ("Time (yr)" )
46+
47+
4148# Save the figure
4249ext = get_args ().ext
4350fig .savefig (path / f"LuminosityCycle.{ ext } " , bbox_inches = "tight" , dpi = 300 )
Original file line number Diff line number Diff line change 66dRadius 0.00465
77dLuminosity -1
88dLuminosityAmplitude -0.1
9- dLuminosityPeriod -100
9+ dLuminosityPeriod -10
1010dLuminosityPhase 0
1111
1212saOutputOrder Time -Luminosity -Radius Temperature -RotPer -LXUVTot RadGyra
Original file line number Diff line number Diff line change @@ -8,10 +8,10 @@ sUnitLength AU
88sUnitTime YEARS
99sUnitAngle d
1010bDoLog 1
11- iDigits 6
11+ iDigits 16
1212dMinValue 1e-10
1313bDoForward 1
1414bVarDt 1
1515dEta 0.01
16- dStopTime 1000
17- dOutputTime 1
16+ dStopTime 100
17+ dOutputTime 0. 1
You can’t perform that action at this time.
0 commit comments