fact-project / aict-tools

Reproducible Artificial Intelligence for Cherenkov Telescopes
MIT License
6 stars 6 forks source link

Config units #128

Closed LukasNickel closed 4 years ago

LukasNickel commented 4 years ago

Allows to set units for the columns:

These can be set in the DISP config. Defaults are "deg" for all az/zd columns and "rad" for delta.

!! This will break the CTA analyses, because the explicit deg2rad(delta) is gone!! Your will need to specify the unit as "deg" as is done in the examples/config_source_cta.yaml.

Further ideas:

ToDo:

maxnoe commented 4 years ago

focal_length: yes energy: yes, but only needed for the plots (axis labels)

of the top of my head I think that's all, let me check

maxnoe commented 4 years ago

I added tests for the plotting scripts here: https://github.com/fact-project/aict-tools/pull/129

maxnoe commented 4 years ago

Testing disp results would be nice, but I also run the open_crab_sample_analysis before each release is made as an integration test. So at least the FACT chain is fully tested.

LukasNickel commented 4 years ago

I suppose the failing tests are related to the sklearn2pmml requirements, that you changed in #129 @MaxNoe ?

maxnoe commented 4 years ago

Yes

maxnoe commented 4 years ago

Actually, now with the master merged, also the plot_disp_performance was failing, fixed it.