PaNOSC-ViNYL / SimEx

Start-to-end photon experiment simulation platform
https://simex.readthedocs.io/
GNU General Public License v3.0
26 stars 25 forks source link

add total Intensity dump function #200

Closed JunCEEE closed 4 years ago

JunCEEE commented 4 years ago

There are only some plot functions in prop_diagnostics.py. No way to dump the data into a numpy array.

I will add tests later. Thanks.

CFGrote commented 4 years ago

Where are we?

JunCEEE commented 4 years ago

Hi @CFGrote,

I noticed there were dumpToFile functions defined in AbstractAnalysis.py. But that is not what I need. I just need the functions to be able to export the data into numpy array. So I renamed the function name to numpyTotalPower to avoid misunderstanding.

It should be now ready to be merged.