source: mire/mire.sh @ 17

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
7echo "********** Image : $1 ****"
8
9PATH_TO_MIRE="/home/meynadie/svn/mire"
10
11echo "Détection d'objets..."
12cp -f $PATH_TO_MIRE/mire.param .
13sex -c $PATH_TO_MIRE/mire.sex $1
14CATALOG=$(basename $1 .fits).cat
15mv test.cat $CATALOG
16
17echo "Mesures géométriques..."
18OUTPUT_FILENAME=$(basename $1 .fits).mes
19python $PATH_TO_MIRE/process.py -c $CATALOG -r $2 -o test.fits -m $OUTPUT_FILENAME -t $3
20
21
22rm -f $CATALOG mire.param
23
24
25exit 0
Note: See TracBrowser for help on using the repository browser.