Skip to content

Commit

Permalink
Fixes docs
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewfullard committed Aug 5, 2024
1 parent 4401047 commit dba6d35
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/physics/update_and_conv/update_and_conv.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,8 @@
"#nu_lower = tardis_config.supernova.luminosity_wavelength_end.to(u.Hz, u.spectral)\n",
"#nu_upper = tardis_config.supernova.luminosity_wavelength_start.to(u.Hz, u.spectral)\n",
"\n",
"L_output = sim.spectrum_solver.calculate_emitted_luminosity(0,np.inf)\n",
"from tardis.spectrum.luminosity import calculate_emitted_luminosity\n",
"L_output = calculate_emitted_luminosity(transport.transport_state.emitted_packet_nu, transport.transport_state.emitted_packet_luminosity, nu_lower, nu_upper)\n",
"L_output"
]
},
Expand Down

0 comments on commit dba6d35

Please sign in to comment.