ICSM / ampere

A tool to fit the SED and spectra of dusty objects to constrain, among other things, the dust properties and mineralogy
6 stars 2 forks source link

Syntrax errors in CCMExtinctionLaw module. #76

Open jeroenbouwman opened 8 months ago

jeroenbouwman commented 8 months ago

The following syntax should be fixed to include a multiplication operator * :

anaconda3/envs/ampere/lib/python3.10/site-packages/ampere/models/extinctionModels.py:141: SyntaxWarning: 'float' object is not callable; perhaps you missed a comma? P_a = -(0.04473((inverse_wavelength - 5.9)2)) - (0.009779((inverse_wavelength - 5.9)3)) anaconda3/envs/ampere/lib/python3.10/site-packages/ampere/models/extinctionModels.py:141: SyntaxWarning: 'float' object is not callable; perhaps you missed a comma? P_a = -(0.04473((inverse_wavelength - 5.9)2)) - (0.009779((inverse_wavelength - 5.9)3)) Anaconda3/envs/ampere/lib/python3.10/site-packages/ampere/models/extinctionModels.py:179: SyntaxWarning: 'float' object is not callable; perhaps you missed a comma? P_b = (0.2130((inverse_wavelength - 5.9)2)) + (0.1207((inverse_wavelength - 5.9)3)) anaconda3/envs/ampere/lib/python3.10/site-packages/ampere/models/extinctionModels.py:179: SyntaxWarning: 'float' object is not callable; perhaps you missed a comma? P_b = (0.2130((inverse_wavelength - 5.9)2)) + (0.1207((inverse_wavelength - 5.9)3))