Skip to content

Instantly share code, notes, and snippets.

View Sheshuk's full-sized avatar

Andrey Sheshukov Sheshuk

  • Joint Institute for Nuclear Research
  • Dubna, Russia
View GitHub Profile
@Sheshuk
Sheshuk / plot_Yoshida_fig5.py
Created May 10, 2024 17:49
Script for plotting the cross-check of Yoshida_2016 model
import numpy as np
import matplotlib.pyplot as plt
from astropy import units as u
#import the snewpy modules
from snewpy.models import presn
from snewpy.flavor_transformation import NoTransformation, AdiabaticMSW, MassHierarchy
from snewpy.neutrino import Flavor
# set the plot parameters