-
Notifications
You must be signed in to change notification settings - Fork 11
Description
Jorge hi,
I can no longer run tpfplotter because of the error below. I tried on two different machines, same thing.
I am using python 3.8 & astropy==5.1
`WARNING: AstropyDeprecationWarning: The update_default_config function is deprecated and may be removed in a future version. [astroquery._astropy_init]
....
....
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "tpfplotter.py", line 303, in
division = int(np.log10(np.nanmax(np.nanmean(tpf.flux * u.s/u.electron,axis=0))))
File "/home/trifonov/.local/lib/python3.8/site-packages/astropy/units/quantity.py", line 591, in array_ufunc
converters, unit = converters_and_unit(function, method, *inputs)
File "/home/trifonov/.local/lib/python3.8/site-packages/astropy/units/quantity_helper/converters.py", line 174, in converters_and_unit
converters, result_unit = ufunc_helper(function, *units)
File "/home/trifonov/.local/lib/python3.8/site-packages/astropy/units/quantity_helper/helpers.py", line 141, in helper_dimensionless_to_dimensionless
raise UnitTypeError("Can only apply '{}' function to "
astropy.units.core.UnitTypeError: Can only apply 'log10' function to dimensionless quantities`