Open eneights opened 1 year ago
@eneights do you have https://github.com/me-manu/ebltable installed?
I believe the DoubleSmoothlyBrokenPowerlaw
issue has been fixed on astromodels
dev
, should be included in the next release. @omodei might know when that's planned.
No, I don't have ebltable installed. So we just need to install that in order to use EBLattenuation?
And ok, sounds good, thank you!
No, I don't have ebltable installed. So we just need to install that in order to use EBLattenuation?
Yes, please try installing it and let me know if the error persists.
Yes, I'm able to use EBLattenuation after installing ebltable.
When I try to import the EBLattenuation and DoubleSmoothlyBrokenPowerlaw models, I get the errors
ImportError: cannot import name 'EBLattenuation' from 'threeML'
andImportError: cannot import name 'DoubleSmoothlyBrokenPowerlaw' from 'threeML'
Running
gives me the error
NameError: name 'EBLattenuation' is not defined
, and the same thing happens for DoubleSmoothlyBrokenPowerlaw.I don't have this issue with any other models.