This release included support for NumPy version 2.1 and above and therefore Python 3.10 or newer is required.
The main feature: BASTA is now available for installation directly from PyPI (pip install basta
).
The source code have been restructured for easier distribution. All paths and internal references are updated to work regardless of how the code was installed. The documentation has been updated and the examples should work out-of-the-box.
A new helper tool is introduced to obtain the examples when the code is installed via pip. Therefore a new clean installation of BASTA in a working folder can be obtained like this (in a clean virtual environment):
pip install basta
mkdir -p work/BASTA
cd work/BASTA
BASTAdownload 16CygA
BASTAexamples full
This release includes some bugfixes in the distance fitting. Finally, we have done some refactoring -- mainly a lot of type hints and f-strings -- to continue the modernisation of the code.
Full Changelog: v1.4.1...v1.5.0