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
...
File ~/GBT/dysh/src/dysh/spectra/core.py:126 in exclude_to_region
if len(np.shape(exclude[0])) == 0:
File ~/GBT/anaconda3/lib/python3.11/site-packages/numpy/core/fromnumeric.py:2024 in shape
result = asarray(a).shape
File ~/GBT/anaconda3/lib/python3.11/site-packages/astropy/units/quantity.py:1352 in __float__
raise TypeError(
TypeError: only dimensionless scalar quantities can be converted to Python scalars
Environment
Dysh version
Python version
OS
The text was updated successfully, but these errors were encountered:
Describe the bug
The example for baseline subtraction claim we can use units in the exclude=, but it fails .
How to Reproduce
In the FS notebook I used
which caused the error
Environment
The text was updated successfully, but these errors were encountered: