moos hat geschrieben:Hi Thomas,
Oder was ?
genau!
Du hast Recht !
Irgendwas hat den Fits-Header von den Originaldaten zerstört
replacekey P_all_1_R.fits "CTYPE1 = 'GLON-CAR'" CTYPE1
replacekey P_all_1_R.fits "CTYPE2 = 'GLAT-CAR'" CTYPE2
replacekey P_all_1_B.fits "CTYPE1 = 'GLON-CAR'" CTYPE1
replacekey P_all_1_B.fits "CTYPE2 = 'GLAT-CAR'" CTYPE2
fitsflip -i P_all_1_R.fits -o P_all_1_R_flip.fits -r 180
fitsflip -i P_all_1_B.fits -o P_all_1_B_flip.fits -r 180
ic '%2 0. %1 10 < ?' P_all_1_R.fits P_all_1_R_flip.fits > P_all_1_R_black.fits
ic '%2 0. %1 10 < ?' P_all_1_B.fits P_all_1_B_flip.fits > P_all_1_B_black.fits
swarp_theli P_all_1_R.fits P_all_1_R_black.fits -c test.swarp
mv test.fits P_all_1_R_sum.fits
swarp_theli P_all_1_B.fits P_all_1_B_black.fits -c test.swarp
mv test.fits P_all_1_B_sum.fits
fitsmedian -i P_all_1_R_sum.fits -o P_all_1_R_median.fits -s 5
fitsmedian -i P_all_1_B_sum.fits -o P_all_1_B_median.fits -s 5
#---------------------------------- Output ----------------------------------------------------
IMAGEOUT_NAME test.fits
WEIGHTOUT_NAME test.weight.fits
#------------------------------- Input Weights ------------------------------------------------
WEIGHT_TYPE NONE # Not used here
WEIGHT_SUFFIX .weight.fits
WEIGHT_IMAGE
#------------------------------- Co-addition --------------------------------------------------
COMBINE_TYPE SUM # This coaddition is for illustration
# only: the weight-map will contain a sum of field footprints
#-------------------------------- Astrometry --------------------------------------------------
CELESTIAL_TYPE EQUATORIAL # Coordinate system forced to equatorial
PROJECTION_TYPE CAR # Code for Plate Caree
CENTER_TYPE MANUAL # Imposed to alpha = delta = 0.0
CENTER 00:00:00.0, +00:00:00.0 #
PIXELSCALE_TYPE MANUAL # The full sky area will exceed the fraction that contains the fields
PIXEL_SCALE 900 # in arcsec at image center, on both axes
IMAGE_SIZE 1460,730 # plus a margin
#-------------------------------- Resampling --------------------------------------------------
RESAMPLING_TYPE BILINEAR # For illustration purposes, no need for a sophisticated interpolation
OVERSAMPLING 3 # A small oversampling only to have pretty, antialiased field limits
INTERPOLATE N
GAIN_KEYWORD GAIN
GAIN_DEFAULT 0.0
#--------------------------- Background subtraction -------------------------------------------
SUBTRACT_BACK N # No background subtraction
BACK_TYPE AUTO
BACK_DEFAULT 0.0
BACK_SIZE 128
BACK_FILTERSIZE 3
#------------------------- Virtual memory management ------------------------------------------
VMEM_DIR .
VMEM_MAX 32000
MEM_MAX 32000 # 32000 MB should be enough to avoid swapping
#------------------------------ Miscellaneous -------------------------------------------------
DELETE_TMPFILES Y # Delete temporary resampled FITS files
VERBOSE_TYPE NORMAL
Sind die beiden Screenshots oben jetzt das Endergebnis ? Oder ist das noch das was subtrahiert werden muß ?
Thomas