Closed jvavrek closed 5 months ago
The pre-commit stage is complaining about
tests/spectrum_test.py:880:55: E251 unexpected spaces around keyword / parameter equals
tests/spectrum_test.py:880:57: E202 whitespace before '}'
tests/spectrum_test.py:880:57: E251 unexpected spaces around keyword / parameter equals
via flake8
due to
raise ValueError(f"Invalid {areal_density_gcm2 = }")
which is clearly incorrect. Ignoring.
Compute what a spectrum would look like after being attenuated by a given areal density of a given material, using the XCOM tools.