editeodoro / Bbarolo

Bbarolo is a 3D fitting tool to derive the kinematics of galaxies from emission-line observations.
http://editeodoro.github.io/Bbarolo/
GNU General Public License v2.0
30 stars 8 forks source link

MASK=FILE(filename.fits) support in pyBB #9

Closed tonywong94 closed 3 years ago

tonywong94 commented 6 years ago

Would be great to have input mask FITS file support in pyBBarolo. Currently exits with an error:

if key=='mask' and op[key][0].upper() not in ['SMOOTH','SEARCH','THRESHOLD','NEGATIVE','SMOOTH&SEARCH','NONE']: raise ValueError("%s ERROR: %s can only 'SMOOTH','SEARCH','THRESHOLD','NEGATIVE', 'SMOOTH&SEARCH' or 'NONE'."%(self.taskname,key))

I can still run with the regular executable (outside of Python) but let me know if this support may be added soon.

editeodoro commented 3 years ago

Added!