- Notifications
You must be signed in to change notification settings - Fork0
samoylv/FELsource
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Hello, this is the Start-to-End simulation workflow!
Sources hosted at git repositoryhttps://github.com/samoylv/prop.git
***** DESCRIPTION OF SCRIPTS *****fast2h5_2013_s2e.py - python script that converts the FEL data/data/S2E/data/FELsource/SASE1_5keV_14GeV_T1001033.RES toHDF5 file SASE1_5keV_14GeV_FXY1_1001033_003fs_out.h5the python script uses FORTRAN code to access the original FEL dataThe script creates a temporary directory for intermediate files.
[2014-05-09] Now the directory name is the same as base name foroutput FEL hdf5. It leads to collision: if the temporary directory and filesexist, another user is not able to rewrite the files unless the outputFEL name is changed. The latter can be done by changingthe ‘trd1’ (and trd2=trd1+9fs) value in fast2h5_2013_s2e.py==SHOULD BE FIXED ASAP==
fast2h5_2013_s2e.ipynb - IPython notebook equals to fast2h5_2013.py
fast2xy_2013_wo_name.for - FORTRAN file to take a chunk of long pulse data fromaT.RES file, to convert the chunk into cartesian coordinates, andto save it in a binary fileFXY.RES
The originalT.RES file is specified as a symbolic link in fort.4 file,the link is created in the python script fast2h5*.py, after building the filename with parameters specified in config file FAST2XY_2013.DAT
Fortran file compiles with:
module avail
module add intel/2013
ifort -c -132 pproc-fast2xy-2013-v2-06-wo-fname.for
ifort -o pproc-fast2xy-2013-v2-06-wo-fname.exe pproc-fast2xy-2013-v2-06-wo-fname.o
module rm intel/2013