This release is a pre-release and may not be stable for production use.
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.
Metadata
Release files for BEMEWS 1.0a1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| bemews-1.0a1.tar.gz | 116.7 kB | Without provenance | Details for bemews-1.0a1.tar.gz |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| BEMEWS-1.0a1-cp312-cp312-macosx_10_9_universal2.whl | CPython 3.12 | CPython 3.12 | macOS 10.9+ universal2 (ARM64, x86-64) | Details for BEMEWS-1.0a1-cp312-cp312-macosx_10_9_universal2.whl |
| BEMEWS-1.0a1-cp311-cp311-macosx_10_9_universal2.whl | CPython 3.11 | CPython 3.11 | macOS 10.9+ universal2 (ARM64, x86-64) | Details for BEMEWS-1.0a1-cp311-cp311-macosx_10_9_universal2.whl |
| BEMEWS-1.0a1-cp310-cp310-macosx_10_9_universal2.whl | CPython 3.10 | CPython 3.10 | macOS 10.9+ universal2 (ARM64, x86-64) | Details for BEMEWS-1.0a1-cp310-cp310-macosx_10_9_universal2.whl |
Total release size: 2.2 MB
Release files / bemews-1.0a1.tar.gz
| Download URL | bemews-1.0a1.tar.gz |
|---|---|
| Size | 116.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
46652299ac1893a5236d99ff51da53146cdd8f85800aa008c298a552fd556531
|
|
BLAKE2b-256 checksum How to use checksums |
f350328731990eb210a90e97d36700d7c9ee58b0fb1f221c18ce4dce54bae4de
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.5
|
Release files / BEMEWS-1.0a1-cp312-cp312-macosx_10_9_universal2.whl
| Download URL | BEMEWS-1.0a1-cp312-cp312-macosx_10_9_universal2.whl |
|---|---|
| Size | 694.4 kB |
| Tags | CPython 3.12 macOS 10.9+ universal2 (ARM64, x86-64) |
|
SHA-256 checksum How to use checksums |
667d3b74461781c7be2be260740bfc4573f7de647eca2e98009e6a995fb18b9c
|
|
BLAKE2b-256 checksum How to use checksums |
92e9448aca3e2b0cf4369d54ccca1ed601bad4fa9776f75ce71cfe3c1b622402
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.5
|
Release files / BEMEWS-1.0a1-cp311-cp311-macosx_10_9_universal2.whl
| Download URL | BEMEWS-1.0a1-cp311-cp311-macosx_10_9_universal2.whl |
|---|---|
| Size | 696.2 kB |
| Tags | CPython 3.11 macOS 10.9+ universal2 (ARM64, x86-64) |
|
SHA-256 checksum How to use checksums |
b74a46f249de96a397f62e5bbe80e6327972646a4de1f9799df2e3e17b39b3f2
|
|
BLAKE2b-256 checksum How to use checksums |
37eb998ec507665d1138e8b7337ed4c6d2a799ecbb369d89716422bda0420d25
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.5
|
Release files / BEMEWS-1.0a1-cp310-cp310-macosx_10_9_universal2.whl
| Download URL | BEMEWS-1.0a1-cp310-cp310-macosx_10_9_universal2.whl |
|---|---|
| Size | 692.8 kB |
| Tags | CPython 3.10 macOS 10.9+ universal2 (ARM64, x86-64) |
|
SHA-256 checksum How to use checksums |
2295bf30389b5191bad61170387fd2ec00e493b36b042968d0f59351ff1423d8
|
|
BLAKE2b-256 checksum How to use checksums |
0ad0c10a5de3d7d1fec0a8762356538c1e7f3017a192e00939c7b04619395c6a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.5
|
Security for BEMEWS 1.0a1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.