comet_maths

Mar 19, 2024ยท
Pieter De Vis
Pieter De Vis
ยท 1 min read

โ” What is comet_maths?

comet_maths is a python module with useful mathematical algorithms (including interpolation with uncertainties) for general use as well as for use in the other tools in the CoMet toolkit.

๐Ÿ“ Where can comet_maths be found?

The comet_maths documentation is available here. There are also jupyter notebooks available in the example section.

๐Ÿ“‹ What can comet_maths tool be used for?

There are quite a range of different functionalities within comet_maths. There are currently three submodules. One for linear algebra (mainly used for matrix operations in both obsarray and punpy), one for random generators (mainly used for sample generation in punpy) and one for interpolation (for general use).

โœ”๏ธ Interpolation using comet_maths

The interpolation submodules focuses on two aspects. First, it aims to provide interpolation uncertainties that are as realistic as possible, and include both a contribution from the uncertainty on the input data point, as well as a contribution from the uncertainty in the model used for interpolation. Second, the interpolation module has functionality to interpolate between some low-resolution data points following a high resolution example. The example spectrum gets scaled in order to go through the low-resolution data points to form a sensible interpolation. For more info, see the comet_maths documentation.

Pieter De Vis
Authors
Pieter De Vis
Senior Scientist, NPL
Pieter works in the Climate and Earth Observation Group at the UKโ€™s National Physical Laboratory. His expertise lies in atmospheric correction, the propagation of uncertainties through a measurement function, and uncertainties in model fitting.