core
core copied to clipboard
The core source repository for the Cherab project.
Following on from https://github.com/cherab/core/pull/439#issuecomment-2120494947: The bolometry demos use `cherab.tools.inversions.invert_regularised_nnls`, since in the past this has produced the most reasonable-looking inversions in test cases using all the available Cherab inversion routines...
This fixes #438 by rescaling the `w_matrix`, `b_vector` and `tikhonov_matrix` before passing them to `nnls` to avoid possible issues with the recent versions of SciPy. Also, `**kwargs` are added, so...
This draft PR fixes #57 by adding `ThermalCXLine` model and implementing `ThermalCXPEC`. `ThermalCXPEC` is implemented as a function of 3 variables: electron density, electron temperature and donor temperature assuming Maxwellian...
Recently I had to add an ADF15 file sent to me from ADAS which has a header the current parser doesn't recognise. I changed the adf15 parsing slightly to make...
It appears that the `nnls()` method is reimplemented in SciPy 1.12, and due to some changes in the termination criteria, `inversion_with_raytransfer.py`, `inversion_with_voxels.py` bolometer demos and `admit_tomographic_inversion.py` from #427 return zero...
* Add a Regularisation section to the tomography documentation, describing the functionality inside the admt_utils module. * Fixup the docstrings in admt_utils. * Add calculation of "skewed" second derivative operators,...
Hi, The comment below warns users about corrupt OpenADAS-data: https://github.com/cherab/core/blob/547e7d3b5ae979ae4bf7403c6ba1893c66b80bd3/cherab/openadas/repository/create.py#L154 Installing the file in question to the repository works without issues, so I wonder if the problem is with the...
This is a draft PR with an update for the `BeamEmissionMultiplet` line shape, which models the MSE under pure linear Stark conditions. This PR is created on top of the...
This PR fixes #393 and #396. 1. The line shape models are moved to a separate submodule following the file structure proposed in #396. This change does not affect the...
Radiation models should get tests making sure they provide the expected spectra and are not changed accidentally: - [x] GaussianLine - [x] MultipletLineShape - [x] StarkBroadenedLine - [x] BeamCXLine -...