bin package
Submodules
bin.addPowerCompensation module
-
bin.addPowerCompensation.main()[source]
bin.bfdtd_rename module
Rename folders based on parameters from BFDTD input files.
-
bin.bfdtd_rename.get_argument_parser()[source]
command-line option handling
-
bin.bfdtd_rename.main()[source]
-
bin.bfdtd_rename.rename(arguments)[source]
bin.bfdtd_tool_gui module
bin.comparePeaks module
-
bin.comparePeaks.comparePeaks(harminv_filename, matlab_filename, out_filename)[source]
-
bin.comparePeaks.getPeaks(filename)[source]
bin.copyBFDTD module
-
bin.copyBFDTD.main(argv=None)[source]
Copy src to dst
bin.efficiency_run module
-
bin.efficiency_run.main(argv=None)[source]
Copy src to dst while removing the geometry
bin.BFDTD_fix_filenames module
Note: On bluecrystal, you can use (old rename binary):
find . -name "*.prn" -exec rename ":" "10" {} \;
find . -name "p??id.prn" -exec rename "p" "p0" {} \;
rename : 10 *.prn
rename p p0 p??id.prn
Example usage:
BFDTD_fix_filenames.py -v --action=symlink --output-directory=. --offset 26 --output-format=dummy --id="_id_" -d ../part_2/
-
bin.BFDTD_fix_filenames.get_argument_parser()[source]
-
bin.BFDTD_fix_filenames.main(args=None)[source]
-
bin.BFDTD_fix_filenames.processFiles(arguments)[source]
bin.harminv_wrapper module
-
bin.harminv_wrapper.batch_harminv(topdir)[source]
-
bin.harminv_wrapper.comparePeaks(harminv_filename, matlab_filename, out_filename)[source]
-
bin.harminv_wrapper.getPeaks(filename)[source]
-
bin.harminv_wrapper.harminv(infile, outfile, parameterFile)[source]
-
bin.harminv_wrapper.harminv_top_probes(dir)[source]
-
bin.harminv_wrapper.main()[source]
bin.ncpus module
bin.plotAll module
bin.processTime module
bin.qstat module
-
bin.qstat.main()[source]
qstat wrapper
-
bin.qstat.parseQstatFullOutput(qstat_full_output)[source]
- Parses “qstat -f” output into a more usable format
- input: qstat -f output in string format
output: a list of dictionaries containing the various attributes of a job
bin.rerun_with_new_excitation module
-
bin.rerun_with_new_excitation.main(argv=None)[source]
creates a new sim DST from SRC, only changing the excitation wavelength and time constant
example run:
rerun_with_new_excitation.py qedc3_2_05.in /tmp/new 637 42
bin.resonance_run module
-
bin.resonance_run.main(argv=None)[source]
Copy src to dst with added frequency snapshots from freqListFile
-
bin.resonance_run.resonance_run(args)[source]
Copy src to dst with added frequency snapshots from freqListFile
bin.tdtreat module
bin.tiddly2confluence module
Module contents