Skip to content

Codes related to extracting and storing the solar eigen functions

Notifications You must be signed in to change notification settings

srijaniiserprinceton/Global_lorentz_stress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Solar Lorentz Stress Kernel Plotter

Repository contains fortran and python script for evaluation and plotting of solar Lorentz stress kernel.

Local directory should contain the following data files:

  • egvt.sfopal5h5: binary file containing eigenfunctions in compact form
  • sfopal5h5: binary file containing r gridpoints and rho values

These files can be downloaded at: https://drive.google.com/drive/folders/1NmmWv6FUxNtKBKxxcV7TXYsE-4DEeVUP?usp=sharing

Sequence:

  1. Run read_eigen.f90. Reads egvt.sfopal5h5 and saves eigenfunctions in separate files.
  2. Run mince_eig.py. Reads eigenfunctions from above created files and saves individual modes in new directory eig_files.
  3. Run plot_kern.py. Plots required component of kernel for required modes.
  • Python Libraries required: numpy, sympy, matplotlob, os
  • Python version used: 2.7.15
  • Fortran version used: GNU Fortran 7.4.0
  • CAUTION: Running this code will generate data files of cumulative size ~ 2.5GB

About

Codes related to extracting and storing the solar eigen functions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published