Open IlariaViale opened 4 months ago
Dear @IlariaViale,
I am very sorry for the late reply. To me it's working without those errors.
Is there any chance that you are using an older version that does not contain the fixes in https://github.com/cosimoNigro/agnpy/pull/145?
Seems to me the parameters
attribute was added there.
Or maybe we did the latest release (that I assumed you installed via conda) before fixing this! Using the dev version should fix this.
Hi all,
I was trying to compute the synchrotron emission from a distribution of electrons defined through the
InterpolatedDistribution
of agnpy. However, at the linesed_synch = synch.sed_flux(nu_grid)
(wherenu_grid = np.logspace(9, 27) * u.Hz
) I obtain the following error (I am using a jupyter notebook):I obtain the same also when trying to compute
sed_synch_ssa = synch_ssa.sed_flux(nu_grid)
,sed_ssc = ssc.sed_flux(nu_grid)
, andsed_ssc_ssa = ssc_ssa.sed_flux(nu_grid)
.