PaulHancock / Aegean

The Aegean source finding program and associated tools
http://aegeantools.rtfd.io/
Other
47 stars 14 forks source link

Different rms/bkg modes, adaptive box size, rejig #214

Open tjgalvin opened 5 months ago

tjgalvin commented 5 months ago

I got a little carried away when looking at changing the way bane calculates the background and rms. I have added some other modes that can be specified on the CLI.

There is also the start of an adaptive box size mode. The idea being that different box car sizes (and potentially smoothed scales) could be used. At the moment the only consideration that is made is the number of pixels that survived the clipping. If too many pixels were clipped, use a larger box.

I have also rejigged the code a little to separate out the logic a little more clearly, and try to separate out the functions into smaller more isolated units of work.

tjgalvin commented 5 months ago

For what it is worth, I think the default behavior is preserved.