Skip to content

Archived scripts and programs for free-electron laser numerical studies.

License

Notifications You must be signed in to change notification settings

ZengLi0910/felscripts

 
 

Repository files navigation

felscripts

C/C++ bash python octave

Data post-processing and optimization scripts/programms for free-electron laser simulating code (Genesis 1.3) written in kinds of languages.

contents:

  • getdp: C/C++, extract data block from time-dependent output files, according to the slice order or z order, regarding to options.
  • phaseshift: C/C++, simulating phase shift between electron bunch and radiation field.
  • readdpa: C/C++, extract data from .dpa files.
  • calpulse: Bash Shell/Python, calculate pulse energy and average pulse power, utilizing getdp_s and getdp_z (shell version) and more efficient Python version (calpulse.py).
  • optimizationSuite: Bash Shell, parameters optimization scripts.
  • postProcessorM: Octave/Matlab, scripts for handle dpa and dfl binary files.
  • readdpa_tdp: C/C++, read .dpa files and provide additional information.
  • readfld_tdp: Octave/Matlab, read .dfl binary file, to calculate the projected angular distribution.
  • seed_gen: Bash Shell/Octave/Matlab, generate seed laser file for genesis 1.3 (radfile).
  • spectralAnalysis: Bash Shell/Octave/Matlab, calculate spectral data file from TDP output file.
  • beta match: Bash Shell/Octave/Matlab, twiss parameters matching for SASE, HGHG, EEHG, etc.
  • felsim: Bash Shell/Octave/Matlab/C/C++, general FEL simulation approach.

Log:

  • 2014-01-24: upload to bitbucket
  • 2015-05-22: migrate to github
  • 2016-05-31: add more READMEs and scripts/programs

About

Archived scripts and programs for free-electron laser numerical studies.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Fortran 34.7%
  • C++ 29.3%
  • Shell 18.0%
  • MATLAB 15.4%
  • Makefile 1.4%
  • Mathematica 0.5%
  • Other 0.7%