A Python module for computing the Earth-matter effect upon neutrinos. Works alone or with snewpy.
Project description
Image by dreamstudio.ai
BEMEWS
A python module for calculating the Earth-matter Effect. Works standalone or with SNEWPY
-
You will need the python-devel, pybind11 and setuptools packages
-
Modify setup.py to use the correct libraries and paths.
-
To compile enter
sudo python3 setup.py install
- If you don't want to sudo you may want to use the option
--install-lib=destination/directory/
-
The python code BEMEWS.py uses the module to compute the Earth matter effects upon a neutrino signal from Betelgeuse in SuperK. It will generate a lot of files in the whichever folder is named in the script. The output can be switched off by changing the outputflag to False
-
A script is provided that allows SNEWPY to include the Earth-matter Effect in its flavor transformation prescription.
TROUBLESHOOTING:
-
When using EMEWS you may have to set the PYTHONPATH environment variable to your PWD and/or wherever the EMEWS module was installed in steps 3) or step 4)
-
If your script still cannot find the module you may need to put the *.so library in the same directory as the file. The *.so library is in one of the subfolders in the build directory.
-
BEMEWS uses OpenMP. You may want to set the OMP_NUM_THREADS environment variable to a number suitable for your machine.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file bemews-1.0a1.tar.gz
.
File metadata
- Download URL: bemews-1.0a1.tar.gz
- Upload date:
- Size: 116.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 46652299ac1893a5236d99ff51da53146cdd8f85800aa008c298a552fd556531 |
|
MD5 | 5410d4885021889b7b3ab5faabb92125 |
|
BLAKE2b-256 | f350328731990eb210a90e97d36700d7c9ee58b0fb1f221c18ce4dce54bae4de |
File details
Details for the file BEMEWS-1.0a1-cp312-cp312-macosx_10_9_universal2.whl
.
File metadata
- Download URL: BEMEWS-1.0a1-cp312-cp312-macosx_10_9_universal2.whl
- Upload date:
- Size: 694.4 kB
- Tags: CPython 3.12, macOS 10.9+ universal2 (ARM64, x86-64)
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 667d3b74461781c7be2be260740bfc4573f7de647eca2e98009e6a995fb18b9c |
|
MD5 | dfba29f69c5b1de4a464318c9a716a30 |
|
BLAKE2b-256 | 92e9448aca3e2b0cf4369d54ccca1ed601bad4fa9776f75ce71cfe3c1b622402 |
File details
Details for the file BEMEWS-1.0a1-cp311-cp311-macosx_10_9_universal2.whl
.
File metadata
- Download URL: BEMEWS-1.0a1-cp311-cp311-macosx_10_9_universal2.whl
- Upload date:
- Size: 696.2 kB
- Tags: CPython 3.11, macOS 10.9+ universal2 (ARM64, x86-64)
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b74a46f249de96a397f62e5bbe80e6327972646a4de1f9799df2e3e17b39b3f2 |
|
MD5 | 275cb9548212abdf06ede8e9902abe76 |
|
BLAKE2b-256 | 37eb998ec507665d1138e8b7337ed4c6d2a799ecbb369d89716422bda0420d25 |
File details
Details for the file BEMEWS-1.0a1-cp310-cp310-macosx_10_9_universal2.whl
.
File metadata
- Download URL: BEMEWS-1.0a1-cp310-cp310-macosx_10_9_universal2.whl
- Upload date:
- Size: 692.8 kB
- Tags: CPython 3.10, macOS 10.9+ universal2 (ARM64, x86-64)
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2295bf30389b5191bad61170387fd2ec00e493b36b042968d0f59351ff1423d8 |
|
MD5 | 20ae3d5b420cf5d57c0a36f618a56376 |
|
BLAKE2b-256 | 0ad0c10a5de3d7d1fec0a8762356538c1e7f3017a192e00939c7b04619395c6a |