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

Wrong dimensions for array 'spec' in helpers.py line 62 #51

Closed jontymarshall closed 1 year ago

jontymarshall commented 3 years ago

Running the powerlaw AGN example script and come across an error when setting up the optimiser. The problem occurs with a variable spec. In Line 62 of helpers.py it's defined as

s0 = spec[:,xl] but spec is one dimensional (for this example script at least). I deleted the ':,' part (as all the other variables in that function were defined with index 'xl' and the code runs fine.

pscicluna commented 1 year ago

Closing unless further issues reported.