dwkim78 / ASTRiDE

AUTOMATED STREAK DETECTION FOR ASTRONOMICAL IMAGES
MIT License
49 stars 23 forks source link

remove_bkg set to "map" #14

Closed shwaylay closed 3 years ago

shwaylay commented 4 years ago

Hi,

I am trying to use astride to detect meteors in fits files taken by an All Sky camera. Whenever I try to detect streaks with remove_bkg set to "map," it causes an error no matter what bkg_box_size value I use. It works fine if I use "constant" however.

Thank you for your time.

dwkim78 commented 3 years ago

Could you give more details (e.g error messages, fits images you used)?

Thanks,

shwaylay commented 3 years ago

Yeah, the error message I get is:

File "C:...\try_astride_multiple.py", line 115, in do_one streak.detect() File "C:...\Python\Python38-32\lib\site-packages\astride\detect.py", line 104, in detect self._remove_background() File "C:...\Python\Python38-32\lib\site-packages\astride\detect.py", line 118, in _remove_background sigma_clip = SigmaClip(sigma=3., iters=10) TypeError: init() got an unexpected keyword argument 'iters'

and you can find examples of the fits files I am working with on this website from the "link to archives" link.

Thanks again

dwkim78 commented 3 years ago

I just uploaded new version of ASTRiDE. Please upgrade the package and let me know if it works.

Thanks,

shwaylay commented 3 years ago

It works. Thanks!