Detailled examples

This page lists the different Jupyter notebook included in this package written to check each and every implemented feature.

examples/01_specdata_read_plot_extract

Testing the I/O methods of the package

Case 101

  • Instantiate a SpecModel object and use its base plot method

  • Instantiate multiple SpecModels objects and use its

  • its base plot method to create a combined plot.

Case 102

  • Instantiate a SpecModel object,

  • Identify a spectral feature,

  • Extract it and return it as a new SpecModel object.

examples/02_specdata_read_plot_fit

Testing the fittings methods of the package

Case 201

  • Instantiate a SpecModel object, and

  • Fit its whole, or parts of its, continuum using polynomial functions,

  • Overplot the data with the best fitting results.

Case 202

  • Instantiate a SpecModel object, identify a spectral feature, extract and return it as a new SpecModel object.

  • Fit the new SpecModel object with a simple curve and overplot the data with the best-fitting results.