cositools / cosipy

The COSI high-level data analysis tools
Apache License 2.0
3 stars 16 forks source link

Can change the axis of PsiChi of the binned data to HealpixAxis? #73

Closed hiyoneda closed 8 months ago

hiyoneda commented 10 months ago

The axis of "PsiChi" is defined as a standard axis, but it would be useful to define it as HealpixAxis because one wants to know the healpix parameters (nside, npix) in some cases, and we can also store the coordinate information (local or galactic)

L93        PsiChi_bin_edges = np.arange(0,npix+1,1)
...
L103        self.binned_data = Histogram([time_bin_edges, energy_bin_edges, phi_bin_edges, PsiChi_bin_edges], labels = ['Time','Em','Phi','PsiChi'], sparse=True)