Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 1.5.0 #464

Merged
merged 215 commits into from
Aug 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
215 commits
Select commit Hold shift + click to select a range
27e99f1
Add compatibility with raysect 0.8.0
jacklovell Dec 14, 2021
9e86233
Merge branch 'development' into raysect-0.8-compat
jacklovell Feb 24, 2022
6584c90
Add ThermalCXLine model.
vsnever Nov 18, 2022
7b357e1
Add ThermalCXPEC and update atomic data interface.
vsnever Nov 18, 2022
f69b74c
Add cylindrical and periodic mappers.
vsnever Nov 23, 2022
251b11b
Add tests for periodic and cylindrical mappers.
vsnever Nov 25, 2022
c0a60ee
Update CHANGELOG.
vsnever Nov 25, 2022
d507c7d
Merge branch 'development' into feature/cylindrical_and_periodic_mappers
vsnever Dec 23, 2022
73b87df
Rename periodic/cylindrical mappers to periodic/cylindrical transform…
vsnever Dec 26, 2022
c2e4459
Merge branch 'development' into feature/cylindrical_and_periodic_mappers
vsnever Dec 26, 2022
04b7813
Add docs for math.transfrom sub-module.
vsnever Dec 28, 2022
0964da4
Move lineshapes to a dedicated submodule. Add Doppler and Zeeman effe…
vsnever Dec 30, 2022
85cece3
Fixed errors in StarkBroadenedLine.
vsnever Jan 9, 2023
7a50416
Plot Stark-broadened lines in logscale to show the power-law decay of…
vsnever Jan 10, 2023
86b4cd7
Fixed the unit test for the Stark-broadened line after changing the l…
vsnever Jan 12, 2023
b252bee
Added demo that plots Balmer-alpha and Paschen-beta Stark-Zeeman line…
vsnever Jan 12, 2023
55336c3
Converted show_supported_transitions() to a class method.
vsnever Jan 16, 2023
035c95f
Updated documentation for the line shape models.
vsnever Jan 17, 2023
f07fd32
Updated documentation for demos. Changelog update.
vsnever Jan 17, 2023
d944175
A small fix in documentation for StarkBroadenedLine and Stark-Zeeman …
vsnever Jan 18, 2023
0b290cd
Update changelog.md.
vsnever Jan 19, 2023
63e964b
Allow custom line shapes in BeamCXLine model. (#394)
vsnever Jan 20, 2023
4a6807f
Update install_adf15() so it could install thermal CX PECs from starn…
vsnever Jan 23, 2023
394fe4c
Add numerical integration to Bremsstrahlung plasma model.
vsnever Jan 24, 2023
0578c09
Update changelog.
vsnever Jan 24, 2023
bbcc030
Set the integrand in Bremsstrahlung in integrator setter and not in e…
vsnever Jan 26, 2023
520abd0
Fixed an error in _thermalcx_adf15_2dto3d_converter.
vsnever Jan 26, 2023
19158b1
Merge branch 'development' into raysect-0.8-compat
jacklovell Feb 8, 2023
56e4e7a
Require raysect 0.8.1
jacklovell Feb 13, 2023
7e20179
Force -O3 compilation
jacklovell Feb 14, 2023
e851cee
Make development version number PEP440-compliant
jacklovell Feb 14, 2023
0ab324a
Update Changelog
jacklovell Feb 14, 2023
793c4c6
Merge pull request #379 from cherab/raysect-0.8-compat
jacklovell Feb 14, 2023
e668771
Merge branch 'development' into enhancement/bremss_integration
vsnever Feb 14, 2023
80ab7c6
Merge branch 'development' into enhancement/beamcxline_custom_lineshape
vsnever Feb 14, 2023
781cf49
Merge branch 'development' into enhancement/stark_zeeman_doppler_line…
vsnever Feb 14, 2023
c0c364d
Merge branch 'development' into feature/cylindrical_and_periodic_mappers
vsnever Feb 14, 2023
e12fd5b
Fix coverage configuration to properly omit test files
jacklovell Feb 23, 2023
a029b09
Package demo scripts and data in sdists and wheels
jacklovell Feb 23, 2023
ba14ce9
Build extensions in parallel by default
jacklovell Feb 23, 2023
4c86b1a
Merge pull request #406 from cherab/bugfix-coverage
jacklovell Feb 23, 2023
3007d55
Remove MANIFEST.in and include_package_data, specify package_data man…
jacklovell Feb 24, 2023
6b8b71c
Fix find_packages and package_data
jacklovell Feb 27, 2023
f86d0fa
Merge branch 'development' into feature/cylindrical_and_periodic_mappers
vsnever Mar 13, 2023
751f324
Add tests for VectorPeriodicTransform#D functions.
vsnever Mar 14, 2023
ab14fb8
Fixed copy-paste errors in TestPeriodicTransform.
vsnever Mar 14, 2023
e2ed3cc
Added a test for the BeamEmissionMultiplet line shape model.
vsnever Apr 5, 2023
f4722c2
Merge pull request #407 from cherab/parallel-build
jacklovell Apr 6, 2023
55705a1
Merge branch 'development' into package-demos
jacklovell Apr 6, 2023
1014567
Add analytic plasma demo using raysect's function framework
jacklovell Jan 17, 2020
ac6863a
Add a docs extras requirement for building documentation
jacklovell Apr 6, 2023
81cf653
Merge pull request #388 from vsnever/feature/cylindrical_and_periodic…
jacklovell Apr 6, 2023
9ae5a3e
Merge pull request #404 from cherab/analytic-plasma-demo-performance
jacklovell Apr 6, 2023
49861bf
Merge branch 'development' into package-demos
jacklovell Apr 6, 2023
5ab259a
Merge branch 'development' into enhancement/stark_zeeman_doppler_line…
vsnever Apr 10, 2023
04d5d19
Moved the parameters of StarkBroadenedLine and ParametrisedZeemanTrip…
vsnever Apr 11, 2023
8053582
Merge branch 'development' into enhancement/beamcxline_custom_lineshape
vsnever Apr 12, 2023
af0581e
Added tests for BeamCXLine model.
vsnever Apr 27, 2023
fd127df
Merge branch 'development' into enhancement/bremss_integration
vsnever Apr 27, 2023
e430547
The numerical constant in the bremsstrahlung model is expressed in te…
vsnever May 1, 2023
5f61aae
Updated bremsstrahlung model docstring.
vsnever May 1, 2023
807fc55
Removed unused imports in test_beamcxline.py
vsnever May 1, 2023
00c70f3
Added a test for Bremsstrahlung model.
vsnever May 1, 2023
d748239
Added 'units' attribute to RayTransferPipelineXD. Added tests for Ray…
vsnever May 2, 2023
df3c33e
Fix incorrect description of the new feature in CHANGELOG.md
vsnever May 3, 2023
8e719ba
Update CHANGELOG.md
vsnever May 3, 2023
b3b0d57
Made expression for bremsstrahlung look clearer and updated docstring…
vsnever May 3, 2023
b10723a
Merge pull request #401 from vsnever/enhancement/beamcxline_custom_li…
jacklovell May 4, 2023
8bcd4a0
Merge branch 'development' into enhancement/stark_zeeman_doppler_line…
vsnever May 5, 2023
237a340
Merge branch 'development' into enhancement/bremss_integration
vsnever May 5, 2023
09d519c
Updated BeamCXLine and related tests to support new LineShapeModel in…
vsnever May 5, 2023
fb924d4
Renamed 'units' attribute of the RayTransferPipelineBase as 'kind' an…
vsnever May 10, 2023
41e7f70
Updated the docstrings of RayTransferPipelineXD.
vsnever May 10, 2023
cf1f696
Merge branch 'development' into enhancement/raytransfer_pipeline
vsnever May 10, 2023
26452e9
Merge pull request #413 from vsnever/enhancement/raytransfer_pipeline
jacklovell Jun 28, 2023
38b9f7a
Merge branch 'development' into enhancement/bremss_integration
vsnever Jul 13, 2023
9cfaad6
Merge branch 'development' into enhancement/stark_zeeman_doppler_line…
vsnever Jul 13, 2023
8a5ace6
Fix NotImplementedError in TestLaserSpectrum.
vsnever Aug 9, 2023
089d88a
Merge pull request #418 from vsnever/fix/test_laser_spectrum
vsnever Aug 9, 2023
52add90
Merge branch 'development' into enhancement/bremss_integration
vsnever Aug 9, 2023
dec9673
Merge branch 'development' into enhancement/stark_zeeman_doppler_line…
vsnever Aug 9, 2023
1aafe62
Fix update bug of LaserMaterial
Mateasek Oct 26, 2023
f0ff4f2
Update changelog
Mateasek Oct 26, 2023
09abc73
Update changelog
Mateasek Oct 26, 2023
23d1a7b
Change LaserMaterial transforms caching
Mateasek Oct 27, 2023
91ae41a
Fix deprecated Polygon initialisation.
vsnever Oct 27, 2023
17cb93f
Merge pull request #423 from vsnever/bugfix/ToroidalVoxelGrid_plot_po…
vsnever Oct 27, 2023
7c987a5
Merge branch 'development' into fix/laser_material_update
Mateasek Oct 27, 2023
bba7229
Fix parsing of the ADF15 metadata for H-like ions.
vsnever Nov 23, 2023
0e6a150
Merge pull request #421 from Mateasek/fix/laser_material_update
jacklovell Nov 30, 2023
def6d5f
Merge pull request #408 from cherab/package-demos
jacklovell Nov 30, 2023
25e839f
Merge pull request #402 from vsnever/enhancement/bremss_integration
jacklovell Nov 30, 2023
51602c8
Merge branch 'development' into enhancement/stark_zeeman_doppler_line…
vsnever Dec 1, 2023
53ef1d3
Explicitly handle the 'bnd' ADF15 files when parsing the metadata.
vsnever Dec 1, 2023
7ec2059
Merge branch 'development' into fix/adas_pec_hlike_header
vsnever Dec 1, 2023
cd06ea0
Merge pull request #425 from vsnever/fix/adas_pec_hlike_header
jacklovell Dec 1, 2023
73e3f4a
Merge branch 'development' into enhancement/stark_zeeman_doppler_line…
vsnever Dec 1, 2023
b622ba5
Merge branch 'development' into feature/thermal_cx_line
vsnever Dec 1, 2023
dc6afce
Added a test for the ExcitationLine model.
vsnever Dec 4, 2023
270241b
Added tests for ExcitationLine, RecombinationLine and ThermalCXLine.
vsnever Dec 4, 2023
fb6e549
Fix error in BeamCXLine docstring.
vsnever Dec 4, 2023
7b068c7
Added documentation for line emission models.
vsnever Dec 4, 2023
2599717
Update changelog.
vsnever Dec 4, 2023
0518d72
Remove target species as a donor from cached CX PECs.
vsnever Dec 5, 2023
25428af
Add demo for ThermalCXLine model.
vsnever Dec 5, 2023
b84f9ad
Add missing declarations for internal variables in ZeemanMultiplet.
vsnever Dec 19, 2023
745a3ea
Fix IRVB calculate sensitivity method
jacklovell Mar 4, 2024
42d6e74
Merge pull request #428 from cherab/irvb-bugfix
vsnever Mar 28, 2024
3e12081
Add support for Apple GPUs to get_flops() function.
vsnever Apr 2, 2024
bd36ca1
Merge pull request #430 from vsnever/enhancement/apple_opencl
jacklovell Apr 4, 2024
e4f8071
Improve beam direction and beam density calculations.
vsnever Apr 24, 2024
8a2eb63
Fix incorrect docstrings for atomic rate interface classes.
vsnever Apr 27, 2024
68189f1
Update BES demo and beam-related pictures in the docs.
vsnever May 1, 2024
735c6bc
Fix Sphinx warnings about documents not being included in toctree
jacklovell May 9, 2024
af1c2ac
Revert positional argument names change as this can break user code.
vsnever May 9, 2024
3f642b3
Merge pull request #432 from vsnever/docs/core_atomic_rates
jacklovell May 10, 2024
fb2a5da
Added equations for Beam density and direction calculation. Moved Sin…
vsnever May 10, 2024
70b188b
Highlighted the line about beam density and direction change in CHANG…
vsnever May 10, 2024
9a9a191
Added tests for the beam density and direction calculation.
vsnever May 11, 2024
b2f4bac
Added beam direction plot to the docs.
vsnever May 11, 2024
0a45524
Merge branch 'development' into enhancement/beam_direction_and_density
vsnever May 11, 2024
74cd1b6
Merge branch 'development' into feature/thermal_cx_line
vsnever May 12, 2024
e2f3c6d
Undo adding docstrings to ExcitationLine and RecombinationLine as the…
vsnever May 12, 2024
c78e020
Add comments for atomic rates caching.
vsnever May 12, 2024
e799a6b
Make ThermalCXPEC to return zero if plasma parameters are <=zero thre…
vsnever May 12, 2024
751878f
Pass RecursiveDict as normal dict to functions.
vsnever May 12, 2024
ea93664
Added docstrings for ExcitationLine and RecombinationLine models.
vsnever May 12, 2024
e91e2a4
Placed the equations for the beam density and direction in the math b…
vsnever May 13, 2024
e468607
Replace deprecated cumtrapz with cumulative_trapezoid.
vsnever May 13, 2024
858ad98
Handle ImportError for cumulative_trapezoid for SciPy < 1.7.
vsnever May 13, 2024
eb21099
Add normalisation to invert_regularised_nnls(). Add **kwargs to pass …
vsnever May 14, 2024
a8d8cce
Updated invert_regularised_nnls docstring and CHANGELOG.md.
vsnever May 14, 2024
753d7de
Converted docstrings to raw string format.
vsnever May 14, 2024
a433d5f
Rename TestAtomicData to MockAtomicData to avoid unittest warnings.
vsnever May 14, 2024
f92ff9d
Convert docstrings for ExcitationLine and RecombinationLine to raw st…
vsnever May 14, 2024
4e2d169
Convert docstring for ThermalCXLine to raw string format.
vsnever May 14, 2024
5a66349
Merge pull request #435 from vsnever/docs/line_emission_models
jacklovell May 16, 2024
058d26c
Merge pull request #433 from vsnever/enhancement/beam_direction_and_d…
jacklovell May 16, 2024
f0a43f2
Merge pull request #437 from vsnever/fix/cumtrapz_deprecation
jacklovell May 16, 2024
6d03432
Moved plasma setup to setUp() function in the unit tests for line emi…
vsnever May 16, 2024
c04bac7
Replaced zero threshold with 0 in openadas ThermalCXPEC.
vsnever May 16, 2024
b413c4f
Moved C5+ PEC installation from the demo to populate().
vsnever May 16, 2024
76b533f
Removed isdir() check before makedirs because exist_ok is set to True.
vsnever May 16, 2024
3644dd4
Merge branch 'development' into feature/thermal_cx_line
vsnever May 16, 2024
b0dae07
Merge pull request #434 from cherab/sphinx-warnings-fix
jacklovell May 20, 2024
67128fd
Merge branch 'development' into feature/thermal_cx_line
vsnever May 21, 2024
b0113d9
Updated CHANGELOG with the info about the C VI lines.
vsnever May 21, 2024
d28d9e5
Merge branch 'development' into fix/nnls
vsnever May 22, 2024
e96b381
Rescale rnorm after parameter normalisation in invert_regularised_nnls.
vsnever May 22, 2024
b3cc6ad
Merge pull request #439 from vsnever/fix/nnls
jacklovell Jun 3, 2024
b586625
Add donor_metastable attribute to core BeamCXPEC (#411). Replace rece…
vsnever Jun 27, 2024
5208b01
Update figures for CX spectroscopy in documentation.
vsnever Jun 27, 2024
b2230cb
Update changelog.
vsnever Jun 27, 2024
406651a
Limit NumPy version to 1.x until Raysect binaries built with NumPy>=2…
vsnever Jun 28, 2024
422abfb
Moved numpy version restriction to the matrix element.
vsnever Jul 10, 2024
645d697
Brake variable declaration line in BeamCXLine._composite_cx_rate() in…
vsnever Jul 10, 2024
d033dd1
Merge pull request #443 from vsnever/fix/numpy_version
jacklovell Jul 11, 2024
c9af352
Merge branch 'development' into bugfix/beamcxpec
vsnever Jul 11, 2024
941df80
Merge branch 'development' into feature/thermal_cx_line
vsnever Jul 11, 2024
7cb03bc
Merge branch 'development' into enhancement/stark_zeeman_doppler_line…
vsnever Jul 11, 2024
99c9df4
Add cython~=3 to the requirements.
vsnever Jul 14, 2024
dc8e00c
Add setUp to the TestCases containing Plasma to ensure that Plasma st…
vsnever Jul 19, 2024
3ad37ad
Make atomic rates return zero if plasma or beam parameters <= 0.
vsnever Jul 20, 2024
d81096a
Correct and expand documentation for the core AtomicData class
vsnever Jul 22, 2024
8934c8c
Improve documentation for openadas repository install and manipulatio…
vsnever Jul 24, 2024
9710d18
Improve documentation for openadas atomic data interpolators.
vsnever Jul 27, 2024
58a3a9f
Add the power radiated in spectral lines due to charge exchange with …
vsnever Jul 30, 2024
1236237
Add the TestCase for the TotalRadiatedPower model.
vsnever Jul 30, 2024
554a02f
Move power density -> spectral radiance conversion to a separate line.
vsnever Jul 30, 2024
3400bef
Tidy up the code for the TotalRadiatedPower.
vsnever Jul 30, 2024
ccdd280
Update CHANGELOG.
vsnever Jul 30, 2024
b173acc
Add an empty line after code-block directive.
vsnever Jul 30, 2024
2a77f38
Merge pull request #454 from vsnever/docs/openadas_rates
jacklovell Jul 31, 2024
db0f614
Merge branch 'development' into docs/atomic_repository_manipulation
vsnever Jul 31, 2024
d955f01
Merge branch 'development' into docs/core_atomic_data_interface
vsnever Jul 31, 2024
5017dd8
Merge pull request #453 from vsnever/docs/atomic_repository_manipulation
jacklovell Jul 31, 2024
69fa7f8
Merge pull request #451 from vsnever/enhancement/zero_rates_if_zero_p…
jacklovell Jul 31, 2024
18eacf6
Merge pull request #449 from vsnever/enhancement/test_setup
jacklovell Jul 31, 2024
d285c92
Merge branch 'development' into docs/core_atomic_data_interface
vsnever Jul 31, 2024
7552b72
Merge pull request #444 from vsnever/bugfix/beamcxpec
jacklovell Jul 31, 2024
9bbe9db
Merge pull request #452 from vsnever/docs/core_atomic_data_interface
jacklovell Jul 31, 2024
4f1e14a
Merge branch 'development' into feature/thermal_cx_line
vsnever Jul 31, 2024
d8a0b8c
Merge pull request #386 from vsnever/feature/thermal_cx_line
jacklovell Jul 31, 2024
b723dff
Merge branch 'development' into enhancement/stark_zeeman_doppler_line…
vsnever Jul 31, 2024
87d3d66
Pass atomic_data to lineshape initialiser in ThermalCXLine.
vsnever Jul 31, 2024
d74d66c
Pass atomic_data to custom lineshapes in the line emission tests.
vsnever Jul 31, 2024
523812a
Merge branch 'development' into enhancement/cython3_support
vsnever Aug 1, 2024
239a6bf
Remove Cython from install_requires.
vsnever Aug 1, 2024
30b3430
Merge branch 'development' into enhancement/add_cx_to_total_radiated_…
vsnever Aug 1, 2024
fd4449b
Replace 'composition' Python property with get_composition() Cython g…
vsnever Aug 1, 2024
cee4bbe
Merge pull request #455 from vsnever/enhancement/add_cx_to_total_radi…
jacklovell Aug 1, 2024
08ac36d
Merge branch 'development' into enhancement/stark_zeeman_doppler_line…
jacklovell Aug 1, 2024
58ef28e
Merge pull request #400 from vsnever/enhancement/stark_zeeman_doppler…
jacklovell Aug 1, 2024
895ef8e
Merge pull request #447 from vsnever/enhancement/cython3_support
jacklovell Aug 1, 2024
8dc0cf2
Fix copy-paste naming error in TestTotalRadiatedPower.
vsnever Aug 2, 2024
054e270
Replace deprecated scipy.integrate.quadrature with GaussianQuadrature…
vsnever Aug 2, 2024
66ee813
Merge pull request #456 from vsnever/test/fix_copypaste_radiated_power
vsnever Aug 2, 2024
a501470
Fix uninitialised variable warning in GaussianQuadrature.
vsnever Aug 2, 2024
3e0f352
Merge pull request #458 from vsnever/fix/uninitialised_variable_in_qu…
jacklovell Aug 2, 2024
177038f
Merge branch 'development' into test/remove_deprecated_scipy_quadrature
vsnever Aug 2, 2024
b7d1971
Bump version to 1.5.0rc1
jacklovell Aug 2, 2024
08a14b7
Replace GaussianQuadrature with scipy.integrate.quad in test_lineshap…
vsnever Aug 2, 2024
95197e5
Define relative_tolerance in test_stark_broadened_line() and compare …
vsnever Aug 2, 2024
1e08f1e
Remove print() in test_lineshapes.py.
vsnever Aug 2, 2024
d78f7f1
Add r prefix to the strings used in re.match().
vsnever Aug 4, 2024
9b1e92f
Add r prefix to docstrings with escape characters to fix SyntaxWarnin…
vsnever Aug 6, 2024
de28d00
Add r prefix to the docstring of the SeldenMatobaThomsonSpectrum model
vsnever Aug 6, 2024
2fd8b49
Merge pull request #457 from vsnever/test/remove_deprecated_scipy_qua…
jacklovell Aug 7, 2024
34e8503
Merge pull request #462 from vsnever/fix/raw_docstrings
jacklovell Aug 7, 2024
9707866
Change Raysect version to 0.8.1.* in dependencies.
vsnever Aug 8, 2024
342d879
Merge pull request #461 from vsnever/fix/raw_strings
jacklovell Aug 8, 2024
0c8e002
Merge pull request #463 from vsnever/fix/raysect_0.8.1.post
jacklovell Aug 15, 2024
44e83c2
Fix kwargs syntax in invert_regularised_nnls docstring
jacklovell Aug 15, 2024
5ef847c
Bump version for 1.5.0rc2
jacklovell Aug 15, 2024
a844270
Release 1.5.0
jacklovell Aug 27, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .coveragerc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[run]
plugins = Cython.Coverage
source = cherab
omit = *tests*
omit = */tests/*
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
fail-fast: false
matrix:
numpy-version: ["oldest-supported-numpy", "numpy"]
numpy-version: ["oldest-supported-numpy", "'numpy<2'"]
python-version: ["3.7", "3.8", "3.9", "3.10"]
steps:
- name: Checkout code
Expand All @@ -23,9 +23,9 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- name: Install Python dependencies
run: python -m pip install --prefer-binary cython>=0.28 ${{ matrix.numpy-version }} scipy matplotlib "pyopencl[pocl]>=2022.2.4"
run: python -m pip install --prefer-binary cython~=3.0 ${{ matrix.numpy-version }} scipy matplotlib "pyopencl[pocl]>=2022.2.4"
- name: Install Raysect from pypi
run: pip install raysect==0.7.1
run: pip install raysect==0.8.1.*
- name: Build cherab
run: dev/build.sh
- name: Run tests
Expand Down
36 changes: 35 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,41 @@
Project Changelog
=================

Release 1.5.0 (27 Aug 2024)
-------------------

API changes:
* The line shape models are moved to a dedicated submodule. The user code should not be affected though. (#396)
* The line shape models now have AtomicData as a required parameter.
* The method show_supported_transitions() of StarkBroadenedLine and ParametrisedZeemanTriplet is removed.
* The argument stark_model_coefficients of StarkBroadenedLine is now a tuple instead of a dict.
* The argument line_parameters of ParametrisedZeemanTriplet is now a tuple instead of a dict.

New:
* Support Raysect 0.8
* Cython version 3 is now required to build the package.
* Add custom line shape support to BeamCXLine model. (#394)
* Add PeriodicTransformXD and VectorPeriodicTransformXD functions to support the data simulated with periodic boundary conditions. (#387)
* Add CylindricalTransform and VectorCylindricalTransform to transform functions from cylindrical to Cartesian coordinates. (#387)
* Add numerical integration of Bremsstrahlung spectrum over a spectral bin. (#395)
* Replace the coarse numerical constant in the Bremsstrahlung model with an exact expression. (#409)
* Add the kind attribute to RayTransferPipelineXD that determines whether the ray transfer matrix is multiplied by sensitivity ('power') or not ('radiance'). (#412)
* Improved parsing of metadata from the ADAS ADF15 'bnd' files for H-like ions. Raises a runtime error if the metadata cannot be parsed. (#424)
* **Beam dispersion calculation has changed from sigma(z) = sigma + z * tan(alpha) to sigma(z) = sqrt(sigma^2 + (z * tan(alpha))^2) for consistancy with the Gaussian beam model. Attention!!! The results of BES and CX spectroscopy are affected by this change. (#414)**
* Improved beam direction calculation to allow for natural broadening of the BES line shape due to beam divergence. (#414)
* Add kwargs to invert_regularised_nnls to pass them to scipy.optimize.nnls. (#438)
* StarkBroadenedLine now supports Doppler broadening and Zeeman splitting. (#393)
* Add the power radiated in spectral lines due to charge exchange with thermal neutral hydrogen to the TotalRadiatedPower model. (#370)
* Add thermal charge-exchange emission model. (#57)
* PECs for C VI spectral lines for n <= 5 are now included in populate(). Rerun populate() after upgrading to 1.5 to update the atomic data repository.
* All interpolated atomic rates now return 0 if plasma parameters <= 0, which matches the behaviour of emission models. (#450)

Bug fixes:
* Fix deprecated transforms being cached in LaserMaterial after laser.transform update (#420)
* Fix IRVB calculate sensitivity method.
* Fix missing donor_metastable attribute in the core BeamCXPEC class (#411).
* **Fix the receiver ion density being passed to the BeamCXPEC instead of the total ion density in the BeamCXLine. Also fix incorrect BeamCXPEC dosctrings. Attention!!! The results of CX spectroscopy are affected by this change. (#441)**

Release 1.4.0 (3 Feb 2023)
-------------------

Expand All @@ -9,7 +44,6 @@ API changes:
* Support for Python 3.6 is dropped. It may still work, but is no longer actively tested.

Bug fixes:
* Fixed generomak plasma edge data paths.
* Fix and improve OpenCL utility functions. (#358)
* Fixed Bremsstrahlung trapezium evaluation (#384).

Expand Down
6 changes: 0 additions & 6 deletions MANIFEST.in

This file was deleted.

7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,13 @@ with a build-time dependency on Cherab need to use a Cython version newer than
3.0a5, due to a [bug](https://github.com/cython/cython/issues/2918) in how
earlier versions of Cython handle namespaces.

By default, pip will install from wheel archives on PyPI. If a binary wheel is not
available for your version of Python, or if you are installing in editable mode
for development, the package will be compiled locally on your machine. Compilation
is done in parallel by default, using all available processors, but can be
overridden by setting the environment variable `CHERAB_NCPU` to the number of
processors to use.

Governance
----------

Expand Down
2 changes: 1 addition & 1 deletion cherab/core/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.4.0
1.5.0
70 changes: 70 additions & 0 deletions cherab/core/atomic/data/lineshape/stark/d.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
{
"0": {
"3 -> 2": [
3.71e-18,
0.7665,
0.064
],
"4 -> 2": [
8.425e-18,
0.7803,
0.050
],
"5 -> 2": [
1.31e-15,
0.6796,
0.030
],
"6 -> 2": [
3.954e-16,
0.7149,
0.028
],
"7 -> 2": [
6.258e-16,
0.712,
0.029
],
"8 -> 2": [
7.378e-16,
0.7159,
0.032
],
"9 -> 2": [
8.947e-16,
0.7177,
0.033
],
"4 -> 3": [
1.330e-16,
0.7449,
0.045
],
"5 -> 3": [
6.64e-16,
0.7356,
0.044
],
"6 -> 3": [
2.481e-15,
0.7118,
0.016
],
"7 -> 3": [
3.270e-15,
0.7137,
0.029
],
"8 -> 3": [
4.343e-15,
0.7133,
0.032
],
"9 -> 3": [
5.588e-15,
0.7165,
0.033
]
},
"reference": "B. Lomanowski, et al. Inferring divertor plasma properties from hydrogen Balmer and Paschen series spectroscopy in JET-ILW. Nuclear Fusion 55.12 (2015) <a href=\"https://doi.org/10.1088/0029-5515/55/12/123028\">123028</a>"
}
70 changes: 70 additions & 0 deletions cherab/core/atomic/data/lineshape/stark/h.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
{
"0": {
"3 -> 2": [
3.71e-18,
0.7665,
0.064
],
"4 -> 2": [
8.425e-18,
0.7803,
0.050
],
"5 -> 2": [
1.31e-15,
0.6796,
0.030
],
"6 -> 2": [
3.954e-16,
0.7149,
0.028
],
"7 -> 2": [
6.258e-16,
0.712,
0.029
],
"8 -> 2": [
7.378e-16,
0.7159,
0.032
],
"9 -> 2": [
8.947e-16,
0.7177,
0.033
],
"4 -> 3": [
1.330e-16,
0.7449,
0.045
],
"5 -> 3": [
6.64e-16,
0.7356,
0.044
],
"6 -> 3": [
2.481e-15,
0.7118,
0.016
],
"7 -> 3": [
3.270e-15,
0.7137,
0.029
],
"8 -> 3": [
4.343e-15,
0.7133,
0.032
],
"9 -> 3": [
5.588e-15,
0.7165,
0.033
]
},
"reference": "B. Lomanowski, et al. Inferring divertor plasma properties from hydrogen Balmer and Paschen series spectroscopy in JET-ILW. Nuclear Fusion 55.12 (2015) <a href=\"https://doi.org/10.1088/0029-5515/55/12/123028\">123028</a>"
}
70 changes: 70 additions & 0 deletions cherab/core/atomic/data/lineshape/stark/t.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
{
"0": {
"3 -> 2": [
3.71e-18,
0.7665,
0.064
],
"4 -> 2": [
8.425e-18,
0.7803,
0.050
],
"5 -> 2": [
1.31e-15,
0.6796,
0.030
],
"6 -> 2": [
3.954e-16,
0.7149,
0.028
],
"7 -> 2": [
6.258e-16,
0.712,
0.029
],
"8 -> 2": [
7.378e-16,
0.7159,
0.032
],
"9 -> 2": [
8.947e-16,
0.7177,
0.033
],
"4 -> 3": [
1.330e-16,
0.7449,
0.045
],
"5 -> 3": [
6.64e-16,
0.7356,
0.044
],
"6 -> 3": [
2.481e-15,
0.7118,
0.016
],
"7 -> 3": [
3.270e-15,
0.7137,
0.029
],
"8 -> 3": [
4.343e-15,
0.7133,
0.032
],
"9 -> 3": [
5.588e-15,
0.7165,
0.033
]
},
"reference": "B. Lomanowski, et al. Inferring divertor plasma properties from hydrogen Balmer and Paschen series spectroscopy in JET-ILW. Nuclear Fusion 55.12 (2015) <a href=\"https://doi.org/10.1088/0029-5515/55/12/123028\">123028</a>"
}
35 changes: 35 additions & 0 deletions cherab/core/atomic/data/lineshape/zeeman/parametrised/b.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"4": {
"6 -> 5": [
0.0083423,
2.0519,
-0.2960
],
"7 -> 6": [
0.0228379,
1.6546,
-0.2941
],
"8 -> 6": [
0.0084065,
1.8041,
-0.3177
],
"8 -> 7": [
0.0541883,
1.4128,
-0.2966
],
"9 -> 7": [
0.0190781,
1.5440,
-0.3211
],
"10 -> 8": [
0.0391914,
1.3569,
-0.3252
]
},
"reference": "A. Blom and C. Jupén. Parametrisation of the Zeeman effect for hydrogen-like spectra in high-temperature plasmas. Plasma Phys. Control. Fusion 44 (2002) <a href=\"https://doi.org/10.1088/0741-3335/44/7/312\">1229-1241</a>"
}
25 changes: 25 additions & 0 deletions cherab/core/atomic/data/lineshape/zeeman/parametrised/be.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"3": {
"5 -> 4": [
0.0060354,
2.1245,
-0.3190
],
"6 -> 5": [
0.0202754,
1.6538,
-0.3192
],
"7 -> 5": [
0.0078966,
1.7017,
-0.3348
],
"8 -> 6": [
0.0205025,
1.4581,
-0.3450
]
},
"reference": "A. Blom and C. Jupén. Parametrisation of the Zeeman effect for hydrogen-like spectra in high-temperature plasmas. Plasma Phys. Control. Fusion 44 (2002) <a href=\"https://doi.org/10.1088/0741-3335/44/7/312\">1229-1241</a>"
}
Loading
Loading