Open phajy opened 1 week ago
We can add new grouping methods such as minimum signal-to-noise ratio.
Multiple datasets could be grouped in the same way so they can be summed for fitting or plotting purposes. In addition provide a method to copying the binning from a template spectrum.
Some existing relevant functions include the following.
https://github.com/fjebaker/SpectralFitting.jl/blob/8b9bbd19a7320618753a82ac5bb81706767ee693/src/datasets/spectraldata.jl#L273-L305
https://github.com/fjebaker/SpectralFitting.jl/blob/8b9bbd19a7320618753a82ac5bb81706767ee693/src/datasets/spectrum.jl#L86-L109
And the file grouping.jl
grouping.jl
We can add new grouping methods such as minimum signal-to-noise ratio.
Multiple datasets could be grouped in the same way so they can be summed for fitting or plotting purposes. In addition provide a method to copying the binning from a template spectrum.
Some existing relevant functions include the following.
https://github.com/fjebaker/SpectralFitting.jl/blob/8b9bbd19a7320618753a82ac5bb81706767ee693/src/datasets/spectraldata.jl#L273-L305
https://github.com/fjebaker/SpectralFitting.jl/blob/8b9bbd19a7320618753a82ac5bb81706767ee693/src/datasets/spectrum.jl#L86-L109
And the file
grouping.jl