--- format:markdown ... # Reports * [Michal Shkut 4 PRPL](http://golem.fjfi.cvut.cz/wiki/TrainingCourses/FTTF/2016-2017/MichShk/index) * [Anna Krivková 4 PRPL](http://golem.fjfi.cvut.cz/wiki/TrainingCourses/FTTF/2019-2020/AnnaKrivk/index) # Tools ## [Alfa (automated line fitting algorithm)](https://www.nebulousresearch.org/codes/alfa/) ~~~ for i in "Vodik1" "Vodik2"; do FILE=$i BASE="set ylabel 'Flux [a.u.]';set xlabel 'wavelength [nm]';plot '$FILE.txt' w l t ''" echo $BASE|gnuplot --persist echo "set terminal jpeg;$BASE"|gnuplot >$FILE.jpg #awk '{print $1*10" "$2}' $FILE.txt > A$FILE.txt; alfa A$FILE.txt awk -F '&' '{if ($3 > 10000){print $0}}' A$FILE.txt_lines.tex > 10000$FILE.txt_lines.tex done ~~~