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

Flavor Transformations plus Earth matter #258

Open
wants to merge 172 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
172 commits
Select commit Hold shift + click to select a range
646d95c
Flavor Transformations plus Earth matter
jpkneller Jun 16, 2023
1f74606
Update generate_* functions in snowglobes.py with flavor transformati…
jpkneller Jun 16, 2023
a8d6be5
Update flavor_transformation.py
jpkneller Jun 16, 2023
3c4f552
Update base.py
jpkneller Jun 16, 2023
9b458c4
Create Readme.md
jpkneller Jun 16, 2023
8487e24
Add files via upload
jpkneller Jun 16, 2023
8b9fd1d
Add files via upload
jpkneller Jun 16, 2023
626e6b8
Rename python/snewpy/EME/adiabatic_basis.cpp to python/snewpy/EME/src…
jpkneller Jun 16, 2023
0ecd2e4
Add files via upload
jpkneller Jun 16, 2023
2e8a497
Rename RK.Sqa3Earth.cpp to RK.Sqa3Earth.cpp
jpkneller Jun 16, 2023
16e2b8d
Rename RK.h to RK.h
jpkneller Jun 16, 2023
b362400
Rename Sqa3.h to Sqa3.h
jpkneller Jun 16, 2023
5339862
Add files via upload
jpkneller Jun 16, 2023
4c5e463
Rename python/snewpy/SQA/src/algorithm2.h to python/snewpy/SQA/src/ms…
jpkneller Jun 16, 2023
ea377c3
Add files via upload
jpkneller Jun 16, 2023
b7a9b3a
Add files via upload
jpkneller Jun 16, 2023
387a497
Rename python/snewpy/SQA/src/mstl/units and constants.cpp to python/s…
jpkneller Jun 16, 2023
b2b9352
Add files via upload
jpkneller Jun 16, 2023
255f6e1
Add files via upload
jpkneller Jun 16, 2023
79bcfee
Rename python/snewpy/SQA/src/mstl/number.h to python/snewpy/SQA/src/m…
jpkneller Jun 16, 2023
8322e23
Add files via upload
jpkneller Jun 16, 2023
f82ec9b
Add files via upload
jpkneller Jun 16, 2023
b0bca2f
Rename python/snewpy/SQA/src/mstl/math2/discontinuous.cpp to python/s…
jpkneller Jun 16, 2023
79d0520
Add files via upload
jpkneller Jun 16, 2023
eacb5b3
Add files via upload
jpkneller Jun 16, 2023
0b3cda6
Rename python/snewpy/SQA/src/mstl/math2/algorithm3.cpp to python/snew…
jpkneller Jun 16, 2023
3dfa696
Add files via upload
jpkneller Jun 16, 2023
94ed71f
Add files via upload
jpkneller Jun 16, 2023
32cccdb
Rename python/snewpy/SQA/src/mstl/math2/column and row vectors.cpp to…
jpkneller Jun 16, 2023
ed461b7
Add files via upload
jpkneller Jun 16, 2023
849e931
Rename update.h to update.h
jpkneller Jun 16, 2023
990f582
Rename update.Sqa3Earth.cpp to update.Sqa3Earth.cpp
jpkneller Jun 16, 2023
87e1e16
Update and rename jacobians.h to jacobians.h
jpkneller Jun 16, 2023
0a659d0
Rename input_class.h to input_class.h
jpkneller Jun 16, 2023
a773978
Rename eigenvalues.h to eigenvalues.h
jpkneller Jun 16, 2023
39dbbf2
Rename jacobians.cpp to jacobians.cpp
jpkneller Jun 16, 2023
40fb380
Rename mixing_angles.h to mixing_angles.h
jpkneller Jun 16, 2023
b800deb
Rename output.h to output.h
jpkneller Jun 16, 2023
974e407
Rename flavour_basis.h to flavour_basis.h
jpkneller Jun 16, 2023
a7df048
Rename Sqa3Earth.cpp to Sqa3Earth.cpp
jpkneller Jun 16, 2023
4e2593e
Rename adiabatic_basis.cpp to adiabatic_basis.cpp
jpkneller Jun 16, 2023
52d2cd8
Rename adiabatic_basis.h to adiabatic_basis.h
jpkneller Jun 16, 2023
b5e65ce
Rename parameters.h to parameters.h
jpkneller Jun 16, 2023
359f769
Rename potentials.h to potentials.h
jpkneller Jun 16, 2023
c1a8019
Rename potentials.cpp to potentials.cpp
jpkneller Jun 16, 2023
a68182f
Rename parameters.cpp to parameters.cpp
jpkneller Jun 16, 2023
b015bad
Rename eigenvalues.cpp to eigenvalues.cpp
jpkneller Jun 16, 2023
6e248a4
Update and rename output_matrix.h to output_matrix.h
jpkneller Jun 16, 2023
e26639a
Rename output_matrix.Sqa3SN.cpp to output_matrix.Sqa3SN.cpp
jpkneller Jun 16, 2023
6efded6
Rename output_matrix.Sqa3Earth.cpp to output_matrix.Sqa3Earth.cpp
jpkneller Jun 16, 2023
06691d6
Rename output.Sqa3SN.cpp to output.Sqa3SN.cpp
jpkneller Jun 16, 2023
59f39c8
Rename output.Sqa3Earth.cpp to output.Sqa3Earth.cpp
jpkneller Jun 16, 2023
846fdce
Rename flavour_basis.cpp to flavour_basis.cpp
jpkneller Jun 16, 2023
f6a9bab
Rename mixing_angles.cpp to mixing_angles.cpp
jpkneller Jun 16, 2023
2c603c5
Rename input_class.Sqa3SN.cpp to input_class.Sqa3SN.cpp
jpkneller Jun 16, 2023
85f4891
Rename input_class.Sqa3Earth.cpp to input_class.Sqa3Earth.cpp
jpkneller Jun 16, 2023
aa41d1c
Add files via upload
jpkneller Jun 16, 2023
b99f00a
Fix compiler warnings
jpkneller Aug 25, 2023
c79314d
Compiler warning fixes
jpkneller Aug 25, 2023
cf3f963
Update and rename setup.Sqa3Earth.py to setup.Sqa3Earth.Linux.py
jpkneller Aug 25, 2023
05fb8fb
setup file for Mac
jpkneller Aug 25, 2023
b9ca7d1
Update Readme.md
jpkneller Aug 25, 2023
6a4d358
Add files via upload
jpkneller Aug 25, 2023
2f75a1c
Update README.Sqa3Earth.md
jpkneller Aug 25, 2023
039dda2
Update setup.Sqa3Earth.Linux.py
jpkneller Aug 25, 2023
37a55ca
Update mmatrix member templates.cpp
jpkneller Sep 13, 2023
eb507ab
Update Sqa3Earth.py
jpkneller Sep 13, 2023
f783756
Update snowglobes.py
jpkneller Oct 18, 2023
42da6dd
Update flavor_transformation.py
jpkneller Oct 18, 2023
c775d8c
Update base.py
jpkneller Oct 18, 2023
abfdf29
Add files via upload
jpkneller Oct 18, 2023
6681597
Update SNEWS2.0_rate_table_singleexample+EME.py
jpkneller Oct 18, 2023
dc3fd22
Update snowglobes_interface.py
jpkneller Oct 18, 2023
2627b9f
Add files via upload
jpkneller Oct 18, 2023
aa7ee8d
Add files via upload
jpkneller Oct 18, 2023
5cd5fad
Update setup.Sqa3Earth.Linux.py
jpkneller Oct 18, 2023
383ec1b
Delete python/snewpy/EME/Readme.md
jpkneller Oct 18, 2023
6162c66
Add files via upload
jpkneller Oct 18, 2023
f86be70
Delete requirements.Sqa3Earth.txt
jpkneller Oct 18, 2023
9c50501
Delete setup.Sqa3Earth.Linux.py
jpkneller Oct 18, 2023
65f3b2e
Delete README.Sqa3Earth.md
jpkneller Oct 18, 2023
7f9479c
Add files via upload
jpkneller Oct 18, 2023
e34f1f0
Update flavor_transformation.py
jpkneller Oct 18, 2023
92ba256
Add files via upload
jpkneller Oct 18, 2023
75a01d9
Add files via upload
jpkneller Oct 18, 2023
379254b
Add files via upload
jpkneller Oct 18, 2023
ceb585a
Add files via upload
jpkneller Oct 18, 2023
d9d5fec
Add files via upload
jpkneller Oct 18, 2023
16697c2
Add files via upload
jpkneller Oct 18, 2023
58429be
Update Sqa3Earth.py
jpkneller Oct 18, 2023
04115e6
Update Sqa3Earth.py
jpkneller Oct 18, 2023
df0b913
Add files via upload
jpkneller Oct 18, 2023
96f66b9
Delete python/snewpy/SQA/src/mstl/math2/spline/interpolation base fun…
jpkneller Oct 18, 2023
09be66f
Delete python/snewpy/SQA/src/mstl/math2/spline/interpolation base.h
jpkneller Oct 18, 2023
901cac4
Delete python/snewpy/SQA/src/mstl/math2/spline/interpolation base.cpp
jpkneller Oct 18, 2023
7dbac1d
Add files via upload
jpkneller Oct 18, 2023
0a00ac4
Add files via upload
jpkneller Oct 18, 2023
4df1d89
Add files via upload
jpkneller Oct 20, 2023
d5a4d7c
Delete python/snewpy/EME/setup.Sqa3Earth.Linux.py
jpkneller Oct 20, 2023
ddff6d4
Delete python/snewpy/EME/setup.Sqa3Earth.Mac.py
jpkneller Oct 20, 2023
c459032
Delete python/snewpy/EME/README.Sqa3Earth.md
jpkneller Oct 20, 2023
218898f
Delete python/snewpy/EME/requirements.Sqa3Earth.txt
jpkneller Oct 20, 2023
76519fb
Add files via upload
jpkneller Oct 20, 2023
971515e
Update README.Sqa3Earth.md
jpkneller Oct 20, 2023
3c519fa
Update README.md
jpkneller Oct 23, 2023
d457217
Rename setup.Sqa3Earth.Linux.py to setup.Sqa3Earth.py
jpkneller Oct 23, 2023
ebd70af
Update README.md
jpkneller Oct 23, 2023
130cf6c
Update README.Sqa3Earth.md
jpkneller Oct 23, 2023
976f704
Update and rename README.Sqa3Earth.md to README.EMEWS.md
jpkneller Oct 31, 2023
d14d081
Update and rename Sqa3Earth.py to EMEWS_example.py
jpkneller Oct 31, 2023
9c6929c
Rename requirements.Sqa3Earth.txt to requirements.EMEWS.txt
jpkneller Oct 31, 2023
8e8cf11
Update flavor_transformation.py
jpkneller Oct 31, 2023
7489761
Update and rename setup.Sqa3Earth.py to setup.EMEWS.py
jpkneller Oct 31, 2023
706fba9
Update and rename setup.Sqa3Earth.Mac.py to setup.EMEWS.Mac.py
jpkneller Oct 31, 2023
60e96ad
Rename RK.Sqa3Earth.cpp to RK.EMEWS.cpp
jpkneller Oct 31, 2023
84ec251
Update and rename Sqa3Earth.cpp to EMEWS.cpp
jpkneller Oct 31, 2023
255caf1
Update EMEWS.cpp
jpkneller Oct 31, 2023
d537c8c
Update and rename Sqa3.h to EMEWS.h
jpkneller Oct 31, 2023
ad30ea7
Update and rename RK.h to RK.h
jpkneller Oct 31, 2023
786011f
Update and rename adiabatic_basis.h to adiabatic_basis.h
jpkneller Oct 31, 2023
49aa749
Rename adiabatic_basis.cpp to adiabatic_basis.cpp
jpkneller Oct 31, 2023
c840596
Update and rename eigenvalues.h to eigenvalues.h
jpkneller Oct 31, 2023
e9be307
Rename eigenvalues.cpp to eigenvalues.cpp
jpkneller Oct 31, 2023
5e557c2
Update and rename flavour_basis.h to flavour_basis.h
jpkneller Oct 31, 2023
1e85bcf
Update and rename input_class.h to input_class.h
jpkneller Oct 31, 2023
97e7ad0
Rename flavour_basis.cpp to flavour_basis.cpp
jpkneller Oct 31, 2023
6f52aea
Update and rename input_class.Sqa3Earth.cpp to input_class.EMEWS.cpp
jpkneller Oct 31, 2023
f3b2439
Rename jacobians.cpp to jacobians.cpp
jpkneller Oct 31, 2023
da6ae80
Update and rename jacobians.h to jacobians.h
jpkneller Oct 31, 2023
8503fa2
Rename mixing_angles.cpp to mixing_angles.cpp
jpkneller Oct 31, 2023
6410864
Update and rename mixing_angles.h to mixing_angles.h
jpkneller Oct 31, 2023
40ec76d
Rename output.Sqa3Earth.cpp to output.EMEWS.cpp
jpkneller Oct 31, 2023
86b81f1
Update and rename output.h to output.h
jpkneller Oct 31, 2023
0bc81d2
Rename output_matrix.Sqa3Earth.cpp to output_matrix.EMEWS.cpp
jpkneller Oct 31, 2023
fb178fa
Update update.h
jpkneller Oct 31, 2023
6138d9d
Rename update.h to update.h
jpkneller Oct 31, 2023
0833b57
Rename update.Sqa3Earth.cpp to update.EMEWS.cpp
jpkneller Oct 31, 2023
f5eee02
Update potentials.h
jpkneller Oct 31, 2023
40a98a6
Rename potentials.h to potentials.h
jpkneller Oct 31, 2023
82429a3
Rename potentials.cpp to potentials.cpp
jpkneller Oct 31, 2023
786c5fc
Update and rename parameters.h to parameters.h
jpkneller Oct 31, 2023
f17f308
Rename parameters.cpp to parameters.cpp
jpkneller Oct 31, 2023
8095e9a
Update and rename output_matrix.h to output_matrix.h
jpkneller Oct 31, 2023
5730a3d
Rename mstl.h to mstl.h
jpkneller Oct 31, 2023
e4d02e9
Rename math2.h to math2.h
jpkneller Oct 31, 2023
92a063f
Add files via upload
jpkneller Oct 31, 2023
4b597e1
Update and rename EMEWS_example.py to EMEWS_example.py
jpkneller Oct 31, 2023
9286509
Rename PREM.Ye.dat to PREM.Ye.dat
jpkneller Oct 31, 2023
f7e393a
Rename PREM.rho.dat to PREM.rho.dat
jpkneller Oct 31, 2023
cb1a768
Add files via upload
jpkneller Oct 31, 2023
fb878a6
Add files via upload
jpkneller Oct 31, 2023
e721789
Rename python/snewpy/EMEWS/src/mstl/math2/column and row vectors.cpp …
jpkneller Oct 31, 2023
29f97da
Add files via upload
jpkneller Oct 31, 2023
5a7da48
Add files via upload
jpkneller Oct 31, 2023
c6c7cf7
Rename python/snewpy/EMEWS/src/mstl/math2/algorithm3.cpp to python/sn…
jpkneller Oct 31, 2023
797a313
Add files via upload
jpkneller Oct 31, 2023
e6f0e64
Add files via upload
jpkneller Oct 31, 2023
98eb523
Rename python/snewpy/EMEWS/src/mstl/math2/discontinuous.cpp to python…
jpkneller Oct 31, 2023
62d24cc
Add files via upload
jpkneller Oct 31, 2023
db64808
Delete python/snewpy/SQA/src directory
jpkneller Oct 31, 2023
830e967
Add files via upload
jpkneller Oct 31, 2023
28dfd75
Rename python/snewpy/EMEWS/src/mstl/units and constants.cpp to python…
jpkneller Oct 31, 2023
e034abe
Add files via upload
jpkneller Oct 31, 2023
8152e20
Delete python/snewpy/EMEWS directory
jpkneller Nov 17, 2023
dd32d5d
Update flavor_transformation.py
jpkneller Nov 17, 2023
f1c43df
Update flavor_transformation.py
jpkneller Nov 17, 2023
dec1198
Update README.md
jpkneller Nov 17, 2023
6feae6f
Update flavor_transformation.py
jpkneller Nov 17, 2023
3a6d0f1
Update README.md
jpkneller Nov 17, 2023
d02f39f
Update README.md
jpkneller Nov 17, 2023
5b22412
Merge branch 'main' into jpkneller-Flavor-Transformation-plus-EME
Sheshuk Nov 20, 2023
7daf2b2
Importing directly from snewpy.neutrino
Sheshuk Nov 20, 2023
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
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,17 @@ Alternatively, you can run the following command to explicitly download models y

`python -c 'import snewpy; snewpy.get_models()'`

### Earth-Matter Effect
The EMEWS module is available [here](https://github.com/SNEWS2/EMEWS). Follow the installation instructions provided with the code. Whenever you use the module you need to provide a density and an electron fraction profile of the Earth. The PREM is provided. The script SNEWS2.0_rate_table_singleexample+EME.py found in python/snewpy/scripts uses the module.


### For Developers

**Your contributions to SNEWPY are welcome!** For minor changes, simply submit a pull request. If you plan larger changes, it’s probably a good idea to open an issue first to coordinate our work.

To contribute, first clone the repository (`git clone https://github.com/SNEWS2/snewpy.git`), then make changes and install your modified version locally using `pip install .` from the base directory of the repository.
Once you’re happy with your changes, please submit a pull request.
Unit tests will run automatically for every pull request or you can run them locally using `python -m unittest python/snewpy/test/test_*.py`.

## Usage and Documentation

Expand Down Expand Up @@ -66,4 +77,4 @@ For more, see the [full documentation on Read the Docs](https://snewpy.rtfd.io/)
**Your contributions to SNEWPY are welcome!** For minor changes, simply submit a pull request. If you plan larger changes, it’s probably a good idea to open an issue first to coordinate our work.

We use a [Fork & Pull Request](https://docs.github.com/en/get-started/quickstart/fork-a-repo) workflow, which is common on GitHub.
Please see the [Contributing page](https://snewpy.readthedocs.io/en/stable/contributing.html) in our full documentation for details.
Please see the [Contributing page](https://snewpy.readthedocs.io/en/stable/contributing.html) in our full documentation for details.
Loading
Loading