/felscripts

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

Primary LanguageFortranGNU General Public License v2.0GPL-2.0

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