Closed JulienDoerner closed 1 year ago
I have not yet the code itself, but focused on the docstrings.
I added the code style comments by @reichherzerp.
I also added some test for the new feature and added the changes to the CHANGELOG.md
I also changed the warning behavior of the densities. Until now, warnings are given if one density type is not activated. This causes a lot of warnings if for example only one component of the gas is used. I changed the warnings to occur only if all types are deactivated and the density is accordingly 0.
That's a good idea, and I'll proceed to merge now. Thanks for the contribution!
This PR has 3 major parts.
Additionally, all aspects are shown in a new example notebook which uses data for the mass distribution from Mertsch+(2021). This data are added to the additional resources (https://desycloud.desy.de/index.php/s/6zpYsCd29RLbFiA).