pahfit
pahfit copied to clipboard
Description output file incorrect for fit_spectrum
I think there is an incorrect description for the output file in fit_spectrum:
The code states: Returns ------- obsfit : PAHFITBase model PAHFIT model with best fit parameters
But if you do: obsfit = fit_spectrum(obs, pmodel, maxiter=2000) help(obsfit)
you get: Help on CompoundModel in module astropy.modeling.core object:
class CompoundModel(Model)
| CompoundModel(op, left, right, name=None, inverse=None)
|
....