This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Cosa dovrebbe fare questo script. | |
# | |
# Questo script dovrebbe prendere in input qualcosa di simile | |
# al file che contiene tutti i datapoint, con i riferimenti | |
# al numero della foto, e per ognuno di questi dovrebbe prendere | |
# l'appropriato tsv, quindi calcolare il raggio della circonferenza | |
# che ci interessa, e sputare il tutto fuori su stdout, in modo | |
# che gnuplot possa plottare. | |
import scipy as sp |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/bin/bash | |
for file in *.csv | |
do | |
cat $file | perl -pe 's/(\d+),(\d+,?)/$1.$2 /g' | perl -pe 's/, /\t/' > ${file:0:4}.tsv | |
done |
NewerOlder