This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
data:data_analysis_manual [2025/01/09 11:17] eric buchlin [Read and display data (Python)] |
data:data_analysis_manual [2025/01/09 11:25] (current) eric buchlin Moved Python line fitting |
||
---|---|---|---|
Line 238: | Line 238: | ||
* Example with [[:data:data_analysis_manual:sunraster|with sunraster]]. | * Example with [[:data:data_analysis_manual:sunraster|with sunraster]]. | ||
* Tutorial about [[https://git.ias.u-psud.fr/spice/data-analysis-club/-/blob/main/20230516-coordinates/coordinates.ipynb|plotting and coordinates transforms]] | * Tutorial about [[https://git.ias.u-psud.fr/spice/data-analysis-club/-/blob/main/20230516-coordinates/coordinates.ipynb|plotting and coordinates transforms]] | ||
- | * Tutorial about [[https://github.com/aperiosoftware/parallel-modeling-examples/blob/main/spice/Final_Tutorial.ipynb|parallel line fitting]], using astropy.modelling with astropy>=7.0. | ||
Line 265: | Line 264: | ||
For IDL Gaussian fitting software, please check: **[[data:line_fitting_idl|IDL software for emission line fitting]]**. | For IDL Gaussian fitting software, please check: **[[data:line_fitting_idl|IDL software for emission line fitting]]**. | ||
+ | |||
+ | Fitting in Python can be done with any fitting library, including [[https://docs.astropy.org/en/stable/modeling/|astropy.modelling]]. From astropy 7.0, there is a user-friendly way of doing the fitting in parallel ([[https://github.com/aperiosoftware/parallel-modeling-examples/blob/main/spice/Final_Tutorial.ipynb|tutorial]] by Stuart Mumford). | ||