You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
they retain units from self.flat_img, and don't work as limits (which need to be dimensionless in this case). Just changing vmin=vmin, vmax=vmax to vmin=vmin.value, vmax=vmax.value in lines 491 and 545 of filfinder2D.py (for medskel plotting) did the trick for me.
I am simply trying to reproduce the results of the example script in the FilFinder Tutorial and it gets stuck at:
fil.create_mask(verbose=True, border_masking=False, size_thresh=400 * u.pix**2, glob_thresh=0.0267)
The error is:
astropy.units.core.UnitConversionError: 'Unit("K")' is not a scaled version of 'Unit(dimensionless)'
raise TypeError('only dimensionless scalar quantities can be '
TypeError: only dimensionless scalar quantities can be converted to Python scalars
The text was updated successfully, but these errors were encountered: