Skip to main content

A Python module for computing the Earth-matter effect upon neutrinos. Works alone or with snewpy.

Project description

image Image by dreamstudio.ai

BEMEWS

A python module for calculating the Earth-matter Effect. Works standalone or with SNEWPY

  1. You will need the python-devel, pybind11 and setuptools packages

  2. Modify setup.py to use the correct libraries and paths.

  3. To compile enter

sudo python3 setup.py install

  1. If you don't want to sudo you may want to use the option

--install-lib=destination/directory/

  1. 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

  2. A script is provided that allows SNEWPY to include the Earth-matter Effect in its flavor transformation prescription.

TROUBLESHOOTING:

  1. 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)

  2. 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.

  3. BEMEWS uses OpenMP. You may want to set the OMP_NUM_THREADS environment variable to a number suitable for your machine.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bemews-1.0a1.tar.gz (116.7 kB view details)

Uploaded Source

Built Distributions

BEMEWS-1.0a1-cp312-cp312-macosx_10_9_universal2.whl (694.4 kB view details)

Uploaded CPython 3.12 macOS 10.9+ universal2 (ARM64, x86-64)

BEMEWS-1.0a1-cp311-cp311-macosx_10_9_universal2.whl (696.2 kB view details)

Uploaded CPython 3.11 macOS 10.9+ universal2 (ARM64, x86-64)

BEMEWS-1.0a1-cp310-cp310-macosx_10_9_universal2.whl (692.8 kB view details)

Uploaded CPython 3.10 macOS 10.9+ universal2 (ARM64, x86-64)

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

Hashes for bemews-1.0a1.tar.gz
Algorithm Hash digest
SHA256 46652299ac1893a5236d99ff51da53146cdd8f85800aa008c298a552fd556531
MD5 5410d4885021889b7b3ab5faabb92125
BLAKE2b-256 f350328731990eb210a90e97d36700d7c9ee58b0fb1f221c18ce4dce54bae4de

See more details on using hashes here.

File details

Details for the file BEMEWS-1.0a1-cp312-cp312-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for BEMEWS-1.0a1-cp312-cp312-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 667d3b74461781c7be2be260740bfc4573f7de647eca2e98009e6a995fb18b9c
MD5 dfba29f69c5b1de4a464318c9a716a30
BLAKE2b-256 92e9448aca3e2b0cf4369d54ccca1ed601bad4fa9776f75ce71cfe3c1b622402

See more details on using hashes here.

File details

Details for the file BEMEWS-1.0a1-cp311-cp311-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for BEMEWS-1.0a1-cp311-cp311-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 b74a46f249de96a397f62e5bbe80e6327972646a4de1f9799df2e3e17b39b3f2
MD5 275cb9548212abdf06ede8e9902abe76
BLAKE2b-256 37eb998ec507665d1138e8b7337ed4c6d2a799ecbb369d89716422bda0420d25

See more details on using hashes here.

File details

Details for the file BEMEWS-1.0a1-cp310-cp310-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for BEMEWS-1.0a1-cp310-cp310-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 2295bf30389b5191bad61170387fd2ec00e493b36b042968d0f59351ff1423d8
MD5 20ae3d5b420cf5d57c0a36f618a56376
BLAKE2b-256 0ad0c10a5de3d7d1fec0a8762356538c1e7f3017a192e00939c7b04619395c6a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page