Skip to content

Calibrator.Fit output problems #90

@mattodeg

Description

@mattodeg

Good morning. I am using RASCAL as a tool for line identification and fitting for a project at my University.

I found no problem using the whole MWE provided in the doc, apart form the fit function used to fit lines from a spectrum provided by an atlas.

The doc -- and the MWE provided there -- suggests to use fit_coeff, rms, residual, peak_utilisation = c.fit(max_tries=1000, fit_deg=4) but when I try to run it it gives me an error of too many values to unpack. After few tries I found that it returns only one array, so there is no need to give the 4 variables as before.

But when looking better into the array, I discovered it has a length of 7.

So my question is: what are these 7 values?

Thanks.

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentationquestionFurther information is requested

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions