lib/trinitycrmod/graphs.rb in trinitycrmod-0.3.10 vs lib/trinitycrmod/graphs.rb in trinitycrmod-0.3.11
- old
+ new
@@ -69,9 +69,13 @@
end
# Graph of Te against rho for a given t_index
def eln_temp_prof_graphkit(options)
return nt_prof_graphkit(options.absorb({header: /e\- temp/, title: 'Te', units: 'keV'}))
end
+ # Graph of n against rho for a given t_index
+ def dens_graphkit(options)
+ return nt_prof_graphkit(options.absorb({header: /dens/, title: 'n', units: '10^20 m^-3'}))
+ end
# Graph of ion power integrated from the magnetic axis to rho vs rho
def ion_pwr_prof_graphkit(options)
return pbalance_prof_graphkit(options.absorb({header: /i\+ pwr/, title: 'Integrated ion power', units: 'MW'}))
end