numpy.logspace error when trying to fit my own data
nablack3 opened this issue · 1 comments
I uploaded my own data and am trying to analyze it with the TDE model, however I am stuck with this numpy.logspace error:
File "C:\Users\muddy\anaconda3\envs\research\Lib\site-packages\mosfit\modules\arrays\densetimes.py", line 36, in process
x + self._rest_t_explosion for x in np.logspace(
File "<array_function internals>", line 5, in logspace
TypeError: no implementation found for 'numpy.logspace' on types that implement array_function: [<class 'astropy.units.quantity.Quantity'>]
I tried changing logspace to geomspace, and that seems to move it forward, however I then get this error:
File "C:\Users\muddy\anaconda3\envs\research\Lib\site-packages\mosfit\modules\transforms\viscous.py", line 54, in process
new_lums = uniq_lums[np.searchsorted(uniq_times,
IndexError: index 0 is out of bounds for axis 0 with size 0