Last change
on this file since 17 was
17,
checked in by meynadie, 16 years ago
|
Intégration timing
|
-
Property svn:eol-style set to
native
-
Property svn:executable set to
*
|
File size:
527 bytes
|
Line | |
---|
1 | #! /bin/sh |
---|
2 | |
---|
3 | # Batch pour analyse des images de mires |
---|
4 | |
---|
5 | # usage : mire nom.fits reperes.txt timing.txt |
---|
6 | |
---|
7 | echo "********** Image : $1 ****" |
---|
8 | |
---|
9 | PATH_TO_MIRE="/home/meynadie/svn/mire" |
---|
10 | |
---|
11 | echo "Détection d'objets..." |
---|
12 | cp -f $PATH_TO_MIRE/mire.param . |
---|
13 | sex -c $PATH_TO_MIRE/mire.sex $1 |
---|
14 | CATALOG=$(basename $1 .fits).cat |
---|
15 | mv test.cat $CATALOG |
---|
16 | |
---|
17 | echo "Mesures géométriques..." |
---|
18 | OUTPUT_FILENAME=$(basename $1 .fits).mes |
---|
19 | python $PATH_TO_MIRE/process.py -c $CATALOG -r $2 -o test.fits -m $OUTPUT_FILENAME -t $3 |
---|
20 | |
---|
21 | |
---|
22 | rm -f $CATALOG mire.param |
---|
23 | |
---|
24 | |
---|
25 | exit 0 |
---|
Note: See
TracBrowser
for help on using the repository browser.