Skip to content

DocNan/Python_libs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python libs contains small python functions for scientific analysis, plotting, et al. It is developed by Nan CHU under the MIT open source lincense. Glad to share these knowledge!

statistic_lib

Statistic_lib is influenced by this blog [1], which explains what is an errorbar. Functions to calculate other statistic values will be updated in the future.

standard_error()

Calculate standard error and compare it with standard deviation.

set_subplot_pos example

signal_process_lib

signal_process_lib is for the experimental data analysis with various methods.

SVD_analysis()

Calculate the major modes structure and frequency.

1st order singular value related mode structure

equilibrium_lib

gfile in eqdsk format is very commen standard data file from equilibirum codes like EFIT, CHEASE, etc. equilibrium_lib.py is a module to read/write gfile data in python. Here, the test gifle circle15.eqdsk is generated by open source equilibrium code CHEASE [2].

read eq information for gfile

Reference

[1] http://berkeleysciencereview.com/errorbars-anyway/

[2] Lutjens H, Bondeson A, Sauter O, et al. The CHEASE code for toroidal MHD equilibria[J]. Computer Physics Communications, 1996, 97(3): 219-260.

About

python libs contains small functions for scientific analysis, plotting, et al

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages