-
Notifications
You must be signed in to change notification settings - Fork 51
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
Implement Neutrino decay in PISA (Prob3) #748
Conversation
- Anil Kumar (anil.kumar@desy.de) - Sharmistha Chattopadhyay ## Modify `numba_osc_kernels.py` * Passed `decay_flag` and `mat_decay` to `osc_probs_layers_kernel()` * Introduced `get_H_decay()` * Modified `get_transition_matrix()` * Modified `get_transition_matrix_massbasis()` * Introduced `get_dms_numerical()` - seperate function to diagonalize non-hermitian hamiltonian * Modified `get_product()` to handle general case ## Modify `numba_hostfunctions.py` * Modified `propagate_array()` * Modified `propagate_scalar()` * Modified `get_transition_matrix_hostfunc()` * Modified `get_transition_matrix_massbasis_hostfunc()` * Modified `get_product_hostfunc()` * Introduced `get_H_decay_hostfunc()` * Introduced `get_dms_numerical_hostfunc()` ## Modify `prob3.py` * Passed `neutrino_decay` (boolean to turn on/off decay) * Passed `decay_alpha3` parameter * Modified `propagate_array()` to include `decay_flag` and `decay_matrix` ## New - `decay_params.py`
Please pull the master branch again and resolve the conflicts. |
I have resolved the issues, and the numba_osc unit test is running fine on single and double precision on the local machine. The modification of the numba_osc unit test has resulted in some new ref pkl files and these ref pkl files are not being recognized by Python 3.7 during the above check on git which resulted in the failure of the test and aborted the test for python 3.10 also. Note that the double precision test on Python 3.10 was successful and it was checking for Python 3.7 when the test was aborted. How can this issue be solved? |
The PISA installation dependencies show that at least Python 3.8 is needed, then why are we still checking these tests for Python 3.7? |
Looks ok to me. Have you checked if you get the same osc probabilities with your code setting neutrino decay to 0 and the old code? |
Yes.
Please see the plots in the attached presentation. |
Alright, should be good to go then. |
Modify
numba_osc_kernels.py
decay_flag
andmat_decay
toosc_probs_layers_kernel()
get_H_decay()
get_transition_matrix()
get_transition_matrix_massbasis()
get_dms_numerical()
- seperate function to diagonalize non-hermitian hamiltonianget_product()
to handle general caseModify
numba_hostfunctions.py
propagate_array()
propagate_scalar()
get_transition_matrix_hostfunc()
get_transition_matrix_massbasis_hostfunc()
get_product_hostfunc()
get_H_decay_hostfunc()
get_dms_numerical_hostfunc()
Modify
prob3.py
neutrino_decay
(boolean to turn on/off decay)decay_alpha3
parameterpropagate_array()
to includedecay_flag
anddecay_matrix
New -
decay_params.py