rfinn / halphagui

development of gui interface for H-alpha narrowband imaging
GNU General Public License v3.0
0 stars 0 forks source link

use SE segmentation image to get galaxy sizes, not photutils #90

Closed rfinn closed 1 year ago

rfinn commented 1 year ago

Is your feature request related to a problem? Please describe. photutils is very slow, so it currently takes a long time to get the estimated size of each galaxy to use when making a cutout.

Describe the solution you'd like Source extractor is faster, plus it's already been run to determine the filter ratios. Use the SE segmentation image instead to improve speed.

rfinn commented 1 year ago

seems like I implemented this is get_galaxy_size.py. I have added an optional argument to getobjectsize, usese, that is set to true by default.

https://github.com/rfinn/halphagui/blob/master/get_galaxy_size.py#L52