ColRadPy icon indicating copy to clipboard operation
ColRadPy copied to clipboard

Incorrect Units for PECs on y-axis in .plot_pec_sticks([0],[0],[0])

Open stinkymonke opened this issue 1 year ago • 1 comments

The y-axis (PEC) in the documentation for the "Post processing analysis advanced >> PECs" has units of [ph cm^-3 s^-1], whereas the use of the .plot_pec_sticks([0],[0],[0]) has axis label [ph cm^-1 s^-1].

Documentation: image

Function (.plot_pec_sticks([0],[0],[0])): image

stinkymonke avatar Sep 01 '24 23:09 stinkymonke

The units of PEC should be ph cm^3 s^{-1}. Makes sense when you think I =n_en_zPEC [ph cm^{-3} s^{-1}]. There is a typo in the ColRadPy paper unfortunately "cm^{-3}" and I guess also in the documentation. Good catch, if you change the units to cm^3 I will merge that request. Thanks.

johnson-c avatar Sep 04 '24 16:09 johnson-c

I finally merged and fix this... thanks!

johnson-c avatar Jun 17 '25 20:06 johnson-c