GithubHelp home page GithubHelp logo

tuneerch / lorentz_stress_kernel Goto Github PK

View Code? Open in Web Editor NEW

This project forked from srijaniiserprinceton/global_lorentz_stress

0.0 1.0 0.0 92 KB

Code for plotting solar Lorentz stress kernels

Fortran 6.28% Python 93.72%

lorentz_stress_kernel's Introduction

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

Sequence:

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

lorentz_stress_kernel's People

Contributors

tuneerch avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.