Releases: fact-project/pyfact
Add scripts to calculate theta, theta_off and ra/dec for reconstructed event lists
Merge pull request #90 from fact-project/analysis_scripts Add docstring to theta script
Bug fix for Auxservice
Fixed arguments in call of tree_path
to its new argument order and keys
Many new features
- Better Coordinate Trafos
- Calculate Theta and Theta Off
- Add mc reweighting functions
- Add mjd axes
Bug fix for coordinates imports
Merge pull request #80 from fact-project/hotfix Fix missing commas
Coordinate Transformations
In fact.coordinates
the transformation from camera coordinates in x, y in mm to the Horizontal Coordinate frame is now implemented.
Four utility functions can transform arrays of coordinates from The camera to Horzontal or Equatorial Frame and back
New fact.path
Add new module fact.path
Examples can be found in an ipython notebook
Fixes for io
This release fixes a bug where lists in pd.DataFrame columns got saved as strings in h5py hdf files
and adds the key and columns keyword arguments to read_data, to make it more flexible to use.
Adapt to new naming conventions
We now use the new naming conventions (all keys snake_case, gamma_prediction instead signal_prediction) per default.
v0.10.5
Improve split_on_off functions
The results now contain a column to which off region they were selected and off
keys are renamed
to their on
equivalents.
So for example a result might look like
>>> on, off = split_on_off_source_independet(...)
>>> print(off.head())
off_region Theta
1 0.2
3 0.5
So first event is from off region 1 and has Theta_Off_1 = 0.2