wcxve / elisa

Efficient library for spectral analysis in high-energy astrophysics.
https://astro-elisa.readthedocs.io
GNU General Public License v3.0
10 stars 3 forks source link

Implement various grouping method as in ftgrouppha #3

Closed wcxve closed 6 months ago

wcxve commented 11 months ago

We should implement grouping method as in ftgrouppha.

Grouping method should also take data type into consideration, i.e., for poisson data with poisson background or gaussian background, we should use Li-Ma significance or GV significance formulae to assess the SNR.

wcxve commented 6 months ago

'const', 'min', 'bmin', 'bsig', 'sig', 'opt', 'optmin', 'optsig', 'optbmin', and 'optbsig' grouping methods are added.