/usr/share/doc/munipack/mosaic.sh is in munipack-doc 0.5.10-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | # prepare data
wget ftp://integral.physics.muni.cz/pub/munipack/munipack-data-m51.tar.gz
tar zxf munipack-data-m51.tar.gz
cd munipack-data-m51/
# photometric corrections
export FITS_KEY_TEMPERATURE="CCD-TEMP"
munipack dark -o dark120.fits dark_005?.fits dark_008?.fits
munipack dark -o dark10.fits dark_003?.fits dark_004?.fits
munipack phcorr -dark dark10.fits flat_Green_*.fits
munipack flat -o flat_Green.fits flat_Green_*.fits
munipack phcorr -dark dark120.fits -flat flat_Green.fits m51_Green_*.fits
# find stars, aperture photometry
munipack find -f 6 -th 10 m51_Green_*.fits
munipack aphot m51_Green_*.fits
# astrometry
munipack cone -r 0.2 202.47 +47.2
munipack astrometry m51_Green_00*.fits
# kombine
munipack kombine --rcen 202.47 --dcen +47.2 --width 1000 --height 1000 --adjust --expomask -o m51.fits m51_Green_00??.fits
# update filters, photometric calibration
for A in m51_Green_00??.fits; do
munipack fits --update-key FILTER="'V',Replacement of Green" $A
munipack phcal --photsys-ref Johnson --area 0.3 -c cone.fits \
--col-ra RAJ2000 --col-dec DEJ2000 -f V --col-mag Gmag $A
done
# kombine of calibrated frames
munipack kombine --rcen 202.47 --dcen +47.2 --width 1000 --height 1000 --adjust --expomask -o m51_cal.fits m51_Green_00??_cal.fits
|