View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

MSCTPEAK and the ZPN projection

Thomas de Boer wrote on Jun 18, 2009

Hi everyone,

I am currently reducing some MOSAIC II data taken with the CTIO 4m telescope. Since the FOV is soo big we have to get the best possible WCS in order to resample the image to a new grid of equal pixel size. Therefore, we first fitted a new TNX projection using MSCTPEAK with no problems encountered.

Now, it seems our results can be approved by using the ZPN projection instead of the TNX. Therefore, I updated IRAF to the latest version (2.14.1) which supports the ZPN projection. I am working on a mac running OSX 10.4.11 (Tiger). I even installed the IRAF ZPN patch from the Cambridge Astronomical Survey Unit.

I run MSCTPEAK with the following parameters:

Image Reduction and Analysis Facility
PACKAGE = mscfinder
TASK = msctpeak

images = n5180merge.fits List of WCS calibrated Mosaic images
coordina= compcat List of ra(hr), dec(deg), optional id
database= zpn.db Database for astrometric fit
(extname= ) Extensions
(epoch = 2000.) Coordinate epoch
(update = yes) Update image header WCS following fit?
(autocen= no) Center catalog coords when entering task?
(boxsize= 9) Centering box fullwidth

(project= zpn) Sky projection geometry
(fitgeom= general) Fitting geometry
(functio= polynomial) Surface type
(xxorder= 3) Order of xi fit in x
(xyorder= 3) Order of xi fit in y
(xxterms= half) Xi fit cross terms type

(yxorder= 3) Order of eta fit in x
(yyorder= 3) Order of eta fit in y
(yxterms= half) Eta fit cross terms type?

(reject = INDEF) Rejection limit in sigma units

(interac= yes) Enter interactive image cursor loop?
(frame = 1) Display frame number
(marker = circle) Marker type
(omarker= plus) Overlay marker type
(goodcol= blue) Color of good marker
(badcolo= red) Color of bad marker
(fdimage= )
(fdcoord= )
(mode = q)

Everything proceeds as normal until I hit the 'f' key to fit the projection. The the following error message occurs:

ERROR: WFT_ZPN_INIT: The polynomial is undefined
"graphics=graphics, cursor=cursor)"
line 209: mscfinder$tpltsol.cl (hidden task)
called as: `tpltsol (image=n5180merge.fits[im1], table=tmp$iraf450w, database=zpn.db, imupdate=yes, tabupdate=yes, refitcat=yes, dssheader=no, ra_ref=01:00:04.65, dec_ref=-33:41:33.00, eq_ref=2000.)'
called as: `tpeak (image=n5180merge.fits[im1], table=tmp$iraf450w, database=zpn.db, objects=, ra_ref=01:00:04.65, dec_ref=-33:41:33.00, eq_ref=2000., update=yes, interactive=yes, autocenter=no, autodisplay=no, boxsize=9, xscale=100., yscale=100., xshift=0, yshift=0, reselect=yes, subsample=1, frame=1, marker=circle, omarker=plus, goodcolor=blue, badcolor=red)'
"goodcolor=goodcolor, badcolor=badcolor)"
line 172: mscfinder$msctpeak.cl
called as: `msctpeak (mode=h)'

I have tried updating all packages involved, but I am running out of ideas. Does anyone have any insights as to what is going on?
Any thought at all are greatly appreciated.

-Thomas de Boer

Francisco Valdes wrote on Jun 18, 2009

Hello Thomas,

Because the ZPX/ZPN require a model, the radial polynomial, a "kludge" for specifying the projection was made to allow IRAF tasks that take a projection specification to work. I say it is a kludge because it is a little inobvious. The way it works is that when there is a "projection" parameter, such as in ccmap or msctpeak, you provide a filename that contains the projection type (e.g. zpx) and the coefficients. The following is such a file and, since you are using CTIO data, it is a recent one I made for this data for the MOSAIC pipeline.


zpx
projp0		0.
projp1		1.
projp2		0.
projp3		337.74
projp4		0.
projp5		632052.


Note that the WCS fitting code does not modify these radial terms. It does determine distortion terms to handle the distortions. The reason why ZPX is better than TNX is that the radial model takes out most of the actual optical distortion and so the additional distortion coefficients can be smaller and have less instability.

I am also attaching a WCS database for CTIO Mosaic data which you can use with mscsetwcs to initialize a CTIO MEF (16-amp) with a WCS that will be a starting point for refining the WCS.


# WCSASTROM = ct4m.20080303T084421-R by F. Valdes 2008-05-01
# Thu 17:22:15 01-May-2008
begin	im1
	xrefmean	1122.95975297619
	yrefmean	2001.643366071428
	lngmean		13.03679406994048
	latmean		-2.74265458829365
	pixsystem	physical
	coosystem	j2000
	projection	zpx
	projp0		0.
	projp1		1.
	projp2		0.
	projp3		337.74
	projp4		0.
	projp5		632052.
	lngref		13.047441666667
	latref		-2.5164166666667
	lngunits	hours
	latunits	degrees
	xpixref		4152.037731683481
	ypixref		4195.423757380309
	geometry	general
	function	polynomial
	xishift		-1116.439656323129
	etashift	-1131.354743687187
	xmag		0.2692371803248042
	ymag		0.2695778458468814
	xrotation	269.2582182011981
	yrotation	89.31276060865153
	wcsxirms	0.3076006635036912
	wcsetarms	0.2419279174573327
	xirms		0.296457280469475
	etarms		0.2383329204386258
	surface1	11
			3.	3.
			2.	2.
			2.	2.
			0.	0.
			1.	1.
			2048.	2048.
			1.	1.
			4096.	4096.
			-1116.439656323129	-1131.354743687187
			-0.003485586152721433	0.2692146169107894
			0.2695584539122746	0.00323340314050799
	surface2	14
			3.	3.
			3.	3.
			3.	3.
			2.	2.
			1.	1.
			2048.	2048.
			1.	1.
			4096.	4096.
			0.2967250882125783	0.1355936429390745
			-1.196451623032439E-4	-7.016602801913740E-5
			-5.251470077074341E-8	1.842764800606181E-8
			-2.409550398282616E-4	-1.446896812780226E-4
			1.054834694398272E-7	1.247391181756085E-8
			3.011076094990938E-8	3.224921573021373E-8
# Thu 17:23:02 01-May-2008
begin	im3
	xrefmean	1050.811744186046
	yrefmean	2162.088242894057
	lngmean		13.0374477052828
	latmean		-2.59265122021246
	pixsystem	physical
	coosystem	j2000
	projection	zpx
	projp0		0.
	projp1		1.
	projp2		0.
	projp3		337.74
	projp4		0.
	projp5		632052.
	lngref		13.047441666667
	latref		-2.5164166666667
	lngunits	hours
	latunits	degrees
	xpixref		2052.981636023243
	ypixref		4182.900339724535
	geometry	general
	function	polynomial
	xishift		-1122.397430138927
	etashift	-564.917267179116
	xmag		0.2696123641527687
	ymag		0.2697346636787058
	xrotation	269.3977657903035
	yrotation	89.41911751920675
	wcsxirms	0.3080875533267758
	wcsetarms	0.2246236900210072
	xirms		0.3059154362541153
	etarms		0.2233609727754103
	surface1	11
			3.	3.
			2.	2.
			2.	2.
			0.	0.
			1.	1.
			2048.	2048.
			1.	1.
			4096.	4096.
			-1122.397430138927	-564.917267179116
			-0.002833830267126272	0.269597470889588
			0.2697208013593847	0.002734612205758221
	surface2	14
			3.	3.
			3.	3.
			3.	3.
			2.	2.
			1.	1.
			2048.	2048.
			1.	1.
			4096.	4096.
			0.1534856988469227	-2.151922670870975E-4
			-2.096968110131245E-4	-1.160136525082695E-4
			5.085555652347920E-8	5.741064809403537E-8
			-6.198307161083786E-5	5.331019187338075E-5
			4.904226795123603E-8	-2.877236152410509E-9
			2.896143028285773E-9	-1.150857642223054E-8
# Thu 17:23:36 01-May-2008
begin	im5
	xrefmean	1006.920962264151
	yrefmean	2131.895226415094
	lngmean		13.03720614330638
	latmean		-2.439254230308476
	pixsystem	physical
	coosystem	j2000
	projection	zpx
	projp0		0.
	projp1		1.
	projp2		0.
	projp3		337.74
	projp4		0.
	projp5		632052.
	lngref		13.047441666667
	latref		-2.5164166666667
	lngunits	hours
	latunits	degrees
	xpixref		-48.47694403725301
	ypixref		4179.400751364863
	geometry	general
	function	polynomial
	xishift		-1127.53494114767
	etashift	1.641034824421669
	xmag		0.2697212202936992
	ymag		0.2697640154088351
	xrotation	269.3821811437232
	yrotation	89.41895582781981
	wcsxirms	0.3484857355506092
	wcsetarms	0.2298881744716588
	xirms		0.3378144610878358
	etarms		0.2275325784814333
	surface1	11
			3.	3.
			2.	2.
			2.	2.
			0.	0.
			1.	1.
			2048.	2048.
			1.	1.
			4096.	4096.
			-1127.53494114767	1.641034824421669
			-0.002908335356154614	0.2697055399174781
			0.2697501438619391	0.002735671025795075
	surface2	14
			3.	3.
			3.	3.
			3.	3.
			2.	2.
			1.	1.
			2048.	2048.
			1.	1.
			4096.	4096.
			0.3551487245343009	-0.03354793849886941
			-4.661002246268375E-4	1.365826053583766E-4
			1.761231987347950E-7	-8.630078954667359E-8
			-2.467371619012589E-4	9.209184457441438E-6
			5.921036765782983E-8	1.693513429887984E-8
			4.588218089437230E-8	-6.435039576365595E-9
# Thu 17:24:21 01-May-2008
begin	im7
	xrefmean	923.3598427672961
	yrefmean	2114.61128301887
	lngmean		13.03707854996506
	latmean		-2.290548777078964
	pixsystem	physical
	coosystem	j2000
	projection	zpx
	projp0		0.
	projp1		1.
	projp2		0.
	projp3		337.74
	projp4		0.
	projp5		632052.
	lngref		13.047441666667
	latref		-2.5164166666667
	lngunits	hours
	latunits	degrees
	xpixref		-2141.234567817391
	ypixref		4182.902161823732
	geometry	general
	function	polynomial
	xishift		-1133.400711784693
	etashift	566.8742170807559
	xmag		0.2695476325234634
	ymag		0.2697145465842502
	xrotation	269.4780375842161
	yrotation	89.47860140340686
	wcsxirms	0.2816304947873546
	wcsetarms	0.2351514870896226
	xirms		0.2725614273948389
	etarms		0.2311554214437102
	surface1	11
			3.	3.
			2.	2.
			2.	2.
			0.	0.
			1.	1.
			2048.	2048.
			1.	1.
			4096.	4096.
			-1133.400711784693	566.8742170807559
			-0.002455529949639733	0.2695364475755931
			0.2697033787857824	0.00245440638045617
	surface2	14
			3.	3.
			3.	3.
			3.	3.
			2.	2.
			1.	1.
			2048.	2048.
			1.	1.
			4096.	4096.
			-0.07393762316845113	-0.06566744574042292
			3.608523153081417E-4	2.424947905755745E-4
			-1.275083010028477E-7	-1.387372402975090E-7
			-1.133243573450345E-4	-9.597285786397881E-6
			-5.052802641914371E-8	1.516621899262877E-8
			3.924492823407939E-8	-3.082035286956320E-10
# Thu 17:25:07 01-May-2008
begin	im9
	xrefmean	1005.005308196721
	yrefmean	1991.145773770494
	lngmean		13.05715307468124
	latmean		-2.748053424408014
	pixsystem	physical
	coosystem	j2000
	projection	zpx
	projp0		0.
	projp1		1.
	projp2		0.
	projp3		337.74
	projp4		0.
	projp5		632052.
	lngref		13.047441666667
	latref		-2.5164166666667
	lngunits	hours
	latunits	degrees
	xpixref		4157.245667684301
	ypixref		56.68463504791377
	geometry	general
	function	polynomial
	xishift		-3.804977277562802
	etashift	-1118.621560671192
	xmag		0.269048243885587
	ymag		0.2692266792873299
	xrotation	269.4132013188198
	yrotation	89.32204323774699
	wcsxirms	0.3388479825639235
	wcsetarms	0.2675985933774706
	xirms		0.2866656397330936
	etarms		0.2560885884235379
	surface1	11
			3.	3.
			2.	2.
			2.	2.
			0.	0.
			1.	1.
			2048.	2048.
			1.	1.
			4096.	4096.
			-3.804977277562802	-1118.621560671192
			-0.00275542302794311	0.2690341338601022
			0.2692078322497462	0.00318557616064856
	surface2	14
			3.	3.
			3.	3.
			3.	3.
			2.	2.
			1.	1.
			2048.	2048.
			1.	1.
			4096.	4096.
			-0.1932862770063729	-0.05214507293476651
			-7.694605088021462E-5	1.406976494764103E-4
			-6.869726824921001E-8	1.275700786702032E-8
			4.064613269762141E-4	-6.731040664239886E-5
			1.133116712596709E-7	-8.605147102768027E-8
			-1.261374718809569E-7	3.710352363662700E-8
# Thu 17:25:40 01-May-2008
begin	im11
	xrefmean	1082.100414705883
	yrefmean	1892.166341176471
	lngmean		13.05660953839871
	latmean		-2.587471854575163
	pixsystem	physical
	coosystem	j2000
	projection	zpx
	projp0		0.
	projp1		1.
	projp2		0.
	projp3		337.74
	projp4		0.
	projp5		632052.
	lngref		13.047441666667
	latref		-2.5164166666667
	lngunits	hours
	latunits	degrees
	xpixref		2054.577542875125
	ypixref		57.12810258936016
	geometry	general
	function	polynomial
	xishift		-9.854161171063928
	etashift	-553.9724323199273
	xmag		0.2695616682980215
	ymag		0.2694427156785115
	xrotation	269.4270983754482
	yrotation	89.38667962701529
	wcsxirms	0.3175947070769066
	wcsetarms	0.2533282698281844
	xirms		0.2752320429142637
	etarms		0.2464981869107207
	surface1	11
			3.	3.
			2.	2.
			2.	2.
			0.	0.
			1.	1.
			2048.	2048.
			1.	1.
			4096.	4096.
			-9.854161171063928	-553.9724323199273
			-0.002695302527789823	0.2695481930191636
			0.269427278664461	0.002884188564228175
	surface2	14
			3.	3.
			3.	3.
			3.	3.
			2.	2.
			1.	1.
			2048.	2048.
			1.	1.
			4096.	4096.
			-0.02741841368148442	0.07573041593476781
			-2.733622499941737E-4	-7.125262577634046E-5
			2.573682096796695E-8	6.590912772676569E-8
			3.151928577265422E-4	-1.160627311204208E-4
			1.100956480312086E-7	-3.275166600148340E-8
			-1.091987582122044E-7	3.791203842190400E-8
# Thu 17:26:35 01-May-2008
begin	im13
	xrefmean	1050.414296398891
	yrefmean	1600.926817174516
	lngmean		13.05508208371806
	latmean		-2.433460457063713
	pixsystem	physical
	coosystem	j2000
	projection	zpx
	projp0		0.
	projp1		1.
	projp2		0.
	projp3		337.74
	projp4		0.
	projp5		632052.
	lngref		13.047441666667
	latref		-2.5164166666667
	lngunits	hours
	latunits	degrees
	xpixref		-46.02124065167012
	ypixref		52.48150348986593
	geometry	general
	function	polynomial
	xishift		-14.26556762025646
	etashift	12.27033937981766
	xmag		0.2696249315309611
	ymag		0.2694338786691076
	xrotation	269.4184596002619
	yrotation	89.44286792442024
	wcsxirms	0.3101349327503357
	wcsetarms	0.2534216561345064
	xirms		0.2915811566234957
	etarms		0.2510507430469444
	surface1	11
			3.	3.
			2.	2.
			2.	2.
			0.	0.
			1.	1.
			2048.	2048.
			1.	1.
			4096.	4096.
			-14.26556762025646	12.27033937981766
			-0.002736585740922563	0.2696110435452487
			0.2694211409556868	0.002619881832324039
	surface2	14
			3.	3.
			3.	3.
			3.	3.
			2.	2.
			1.	1.
			2048.	2048.
			1.	1.
			4096.	4096.
			-0.152707101739116	-0.02543808033538691
			-8.160783578458709E-6	1.161273616755876E-5
			-2.475095478477622E-8	3.221595512982858E-8
			3.004141979632137E-4	3.256473870825108E-6
			2.430143836004253E-8	-4.907229069560004E-8
			-8.547904444662794E-8	1.198042435820113E-8
# Thu 17:27:07 01-May-2008
begin	im15
	xrefmean	1012.054776836159
	yrefmean	2133.433946327684
	lngmean		13.057574824231
	latmean		-2.281232109227873
	pixsystem	physical
	coosystem	j2000
	projection	zpx
	projp0		0.
	projp1		1.
	projp2		0.
	projp3		337.74
	projp4		0.
	projp5		632052.
	lngref		13.047441666667
	latref		-2.5164166666667
	lngunits	hours
	latunits	degrees
	xpixref		-2139.58254846796
	ypixref		42.83654327681629
	geometry	general
	function	polynomial
	xishift		-18.38756754714871
	etashift	576.4168344887775
	xmag		0.2694813170290256
	ymag		0.2693378785495665
	xrotation	269.3192149734692
	yrotation	89.40412224340249
	wcsxirms	0.3531631086810723
	wcsetarms	0.3170471961694699
	xirms		0.314671750001051
	etarms		0.2973138788326036
	surface1	11
			3.	3.
			2.	2.
			2.	2.
			0.	0.
			1.	1.
			2048.	2048.
			1.	1.
			4096.	4096.
			-18.38756754714871	576.4168344887775
			-0.00320188057698249	0.2694622945580122
			0.2693233127567127	0.00280107610231347
	surface2	14
			3.	3.
			3.	3.
			3.	3.
			2.	2.
			1.	1.
			2048.	2048.
			1.	1.
			4096.	4096.
			-0.5806835848512067	-0.4262100694795322
			4.828461803333253E-4	5.591520087749806E-4
			-1.410061328843184E-7	-1.541442531552168E-7
			5.312537815793059E-4	2.417832985569485E-4
			-1.010088135826751E-7	-1.166781183921776E-7
			-1.039786011666863E-7	-3.070057759145173E-8
# Thu 17:22:15 01-May-2008
begin	im2
	xrefmean	1122.95975297619
	yrefmean	2001.643366071428
	lngmean		13.03679406994048
	latmean		-2.74265458829365
	pixsystem	physical
	coosystem	j2000
	projection	zpx
	projp0		0.
	projp1		1.
	projp2		0.
	projp3		337.74
	projp4		0.
	projp5		632052.
	lngref		13.047441666667
	latref		-2.5164166666667
	lngunits	hours
	latunits	degrees
	xpixref		4152.037731683481
	ypixref		4195.423757380309
	geometry	general
	function	polynomial
	xishift		-1116.439656323129
	etashift	-1131.354743687187
	xmag		0.2692371803248042
	ymag		0.2695778458468814
	xrotation	269.2582182011981
	yrotation	89.31276060865153
	wcsxirms	0.3076006635036912
	wcsetarms	0.2419279174573327
	xirms		0.296457280469475
	etarms		0.2383329204386258
	surface1	11
			3.	3.
			2.	2.
			2.	2.
			0.	0.
			1.	1.
			2048.	2048.
			1.	1.
			4096.	4096.
			-1116.439656323129	-1131.354743687187
			-0.003485586152721433	0.2692146169107894
			0.2695584539122746	0.00323340314050799
	surface2	14
			3.	3.
			3.	3.
			3.	3.
			2.	2.
			1.	1.
			2048.	2048.
			1.	1.
			4096.	4096.
			0.2967250882125783	0.1355936429390745
			-1.196451623032439E-4	-7.016602801913740E-5
			-5.251470077074341E-8	1.842764800606181E-8
			-2.409550398282616E-4	-1.446896812780226E-4
			1.054834694398272E-7	1.247391181756085E-8
			3.011076094990938E-8	3.224921573021373E-8
# Thu 17:23:02 01-May-2008
begin	im4
	xrefmean	1050.811744186046
	yrefmean	2162.088242894057
	lngmean		13.0374477052828
	latmean		-2.59265122021246
	pixsystem	physical
	coosystem	j2000
	projection	zpx
	projp0		0.
	projp1		1.
	projp2		0.
	projp3		337.74
	projp4		0.
	projp5		632052.
	lngref		13.047441666667
	latref		-2.5164166666667
	lngunits	hours
	latunits	degrees
	xpixref		2052.981636023243
	ypixref		4182.900339724535
	geometry	general
	function	polynomial
	xishift		-1122.397430138927
	etashift	-564.917267179116
	xmag		0.2696123641527687
	ymag		0.2697346636787058
	xrotation	269.3977657903035
	yrotation	89.41911751920675
	wcsxirms	0.3080875533267758
	wcsetarms	0.2246236900210072
	xirms		0.3059154362541153
	etarms		0.2233609727754103
	surface1	11
			3.	3.
			2.	2.
			2.	2.
			0.	0.
			1.	1.
			2048.	2048.
			1.	1.
			4096.	4096.
			-1122.397430138927	-564.917267179116
			-0.002833830267126272	0.269597470889588
			0.2697208013593847	0.002734612205758221
	surface2	14
			3.	3.
			3.	3.
			3.	3.
			2.	2.
			1.	1.
			2048.	2048.
			1.	1.
			4096.	4096.
			0.1534856988469227	-2.151922670870975E-4
			-2.096968110131245E-4	-1.160136525082695E-4
			5.085555652347920E-8	5.741064809403537E-8
			-6.198307161083786E-5	5.331019187338075E-5
			4.904226795123603E-8	-2.877236152410509E-9
			2.896143028285773E-9	-1.150857642223054E-8
# Thu 17:23:36 01-May-2008
begin	im6
	xrefmean	1006.920962264151
	yrefmean	2131.895226415094
	lngmean		13.03720614330638
	latmean		-2.439254230308476
	pixsystem	physical
	coosystem	j2000
	projection	zpx
	projp0		0.
	projp1		1.
	projp2		0.
	projp3		337.74
	projp4		0.
	projp5		632052.
	lngref		13.047441666667
	latref		-2.5164166666667
	lngunits	hours
	latunits	degrees
	xpixref		-48.47694403725301
	ypixref		4179.400751364863
	geometry	general
	function	polynomial
	xishift		-1127.53494114767
	etashift	1.641034824421669
	xmag		0.2697212202936992
	ymag		0.2697640154088351
	xrotation	269.3821811437232
	yrotation	89.41895582781981
	wcsxirms	0.3484857355506092
	wcsetarms	0.2298881744716588
	xirms		0.3378144610878358
	etarms		0.2275325784814333
	surface1	11
			3.	3.
			2.	2.
			2.	2.
			0.	0.
			1.	1.
			2048.	2048.
			1.	1.
			4096.	4096.
			-1127.53494114767	1.641034824421669
			-0.002908335356154614	0.2697055399174781
			0.2697501438619391	0.002735671025795075
	surface2	14
			3.	3.
			3.	3.
			3.	3.
			2.	2.
			1.	1.
			2048.	2048.
			1.	1.
			4096.	4096.
			0.3551487245343009	-0.03354793849886941
			-4.661002246268375E-4	1.365826053583766E-4
			1.761231987347950E-7	-8.630078954667359E-8
			-2.467371619012589E-4	9.209184457441438E-6
			5.921036765782983E-8	1.693513429887984E-8
			4.588218089437230E-8	-6.435039576365595E-9
# Thu 17:24:21 01-May-2008
begin	im8
	xrefmean	923.3598427672961
	yrefmean	2114.61128301887
	lngmean		13.03707854996506
	latmean		-2.290548777078964
	pixsystem	physical
	coosystem	j2000
	projection	zpx
	projp0		0.
	projp1		1.
	projp2		0.
	projp3		337.74
	projp4		0.
	projp5		632052.
	lngref		13.047441666667
	latref		-2.5164166666667
	lngunits	hours
	latunits	degrees
	xpixref		-2141.234567817391
	ypixref		4182.902161823732
	geometry	general
	function	polynomial
	xishift		-1133.400711784693
	etashift	566.8742170807559
	xmag		0.2695476325234634
	ymag		0.2697145465842502
	xrotation	269.4780375842161
	yrotation	89.47860140340686
	wcsxirms	0.2816304947873546
	wcsetarms	0.2351514870896226
	xirms		0.2725614273948389
	etarms		0.2311554214437102
	surface1	11
			3.	3.
			2.	2.
			2.	2.
			0.	0.
			1.	1.
			2048.	2048.
			1.	1.
			4096.	4096.
			-1133.400711784693	566.8742170807559
			-0.002455529949639733	0.2695364475755931
			0.2697033787857824	0.00245440638045617
	surface2	14
			3.	3.
			3.	3.
			3.	3.
			2.	2.
			1.	1.
			2048.	2048.
			1.	1.
			4096.	4096.
			-0.07393762316845113	-0.06566744574042292
			3.608523153081417E-4	2.424947905755745E-4
			-1.275083010028477E-7	-1.387372402975090E-7
			-1.133243573450345E-4	-9.597285786397881E-6
			-5.052802641914371E-8	1.516621899262877E-8
			3.924492823407939E-8	-3.082035286956320E-10
# Thu 17:25:07 01-May-2008
begin	im10
	xrefmean	1005.005308196721
	yrefmean	1991.145773770494
	lngmean		13.05715307468124
	latmean		-2.748053424408014
	pixsystem	physical
	coosystem	j2000
	projection	zpx
	projp0		0.
	projp1		1.
	projp2		0.
	projp3		337.74
	projp4		0.
	projp5		632052.
	lngref		13.047441666667
	latref		-2.5164166666667
	lngunits	hours
	latunits	degrees
	xpixref		4157.245667684301
	ypixref		56.68463504791377
	geometry	general
	function	polynomial
	xishift		-3.804977277562802
	etashift	-1118.621560671192
	xmag		0.269048243885587
	ymag		0.2692266792873299
	xrotation	269.4132013188198
	yrotation	89.32204323774699
	wcsxirms	0.3388479825639235
	wcsetarms	0.2675985933774706
	xirms		0.2866656397330936
	etarms		0.2560885884235379
	surface1	11
			3.	3.
			2.	2.
			2.	2.
			0.	0.
			1.	1.
			2048.	2048.
			1.	1.
			4096.	4096.
			-3.804977277562802	-1118.621560671192
			-0.00275542302794311	0.2690341338601022
			0.2692078322497462	0.00318557616064856
	surface2	14
			3.	3.
			3.	3.
			3.	3.
			2.	2.
			1.	1.
			2048.	2048.
			1.	1.
			4096.	4096.
			-0.1932862770063729	-0.05214507293476651
			-7.694605088021462E-5	1.406976494764103E-4
			-6.869726824921001E-8	1.275700786702032E-8
			4.064613269762141E-4	-6.731040664239886E-5
			1.133116712596709E-7	-8.605147102768027E-8
			-1.261374718809569E-7	3.710352363662700E-8
# Thu 17:25:40 01-May-2008
begin	im12
	xrefmean	1082.100414705883
	yrefmean	1892.166341176471
	lngmean		13.05660953839871
	latmean		-2.587471854575163
	pixsystem	physical
	coosystem	j2000
	projection	zpx
	projp0		0.
	projp1		1.
	projp2		0.
	projp3		337.74
	projp4		0.
	projp5		632052.
	lngref		13.047441666667
	latref		-2.5164166666667
	lngunits	hours
	latunits	degrees
	xpixref		2054.577542875125
	ypixref		57.12810258936016
	geometry	general
	function	polynomial
	xishift		-9.854161171063928
	etashift	-553.9724323199273
	xmag		0.2695616682980215
	ymag		0.2694427156785115
	xrotation	269.4270983754482
	yrotation	89.38667962701529
	wcsxirms	0.3175947070769066
	wcsetarms	0.2533282698281844
	xirms		0.2752320429142637
	etarms		0.2464981869107207
	surface1	11
			3.	3.
			2.	2.
			2.	2.
			0.	0.
			1.	1.
			2048.	2048.
			1.	1.
			4096.	4096.
			-9.854161171063928	-553.9724323199273
			-0.002695302527789823	0.2695481930191636
			0.269427278664461	0.002884188564228175
	surface2	14
			3.	3.
			3.	3.
			3.	3.
			2.	2.
			1.	1.
			2048.	2048.
			1.	1.
			4096.	4096.
			-0.02741841368148442	0.07573041593476781
			-2.733622499941737E-4	-7.125262577634046E-5
			2.573682096796695E-8	6.590912772676569E-8
			3.151928577265422E-4	-1.160627311204208E-4
			1.100956480312086E-7	-3.275166600148340E-8
			-1.091987582122044E-7	3.791203842190400E-8
# Thu 17:26:35 01-May-2008
begin	im14
	xrefmean	1050.414296398891
	yrefmean	1600.926817174516
	lngmean		13.05508208371806
	latmean		-2.433460457063713
	pixsystem	physical
	coosystem	j2000
	projection	zpx
	projp0		0.
	projp1		1.
	projp2		0.
	projp3		337.74
	projp4		0.
	projp5		632052.
	lngref		13.047441666667
	latref		-2.5164166666667
	lngunits	hours
	latunits	degrees
	xpixref		-46.02124065167012
	ypixref		52.48150348986593
	geometry	general
	function	polynomial
	xishift		-14.26556762025646
	etashift	12.27033937981766
	xmag		0.2696249315309611
	ymag		0.2694338786691076
	xrotation	269.4184596002619
	yrotation	89.44286792442024
	wcsxirms	0.3101349327503357
	wcsetarms	0.2534216561345064
	xirms		0.2915811566234957
	etarms		0.2510507430469444
	surface1	11
			3.	3.
			2.	2.
			2.	2.
			0.	0.
			1.	1.
			2048.	2048.
			1.	1.
			4096.	4096.
			-14.26556762025646	12.27033937981766
			-0.002736585740922563	0.2696110435452487
			0.2694211409556868	0.002619881832324039
	surface2	14
			3.	3.
			3.	3.
			3.	3.
			2.	2.
			1.	1.
			2048.	2048.
			1.	1.
			4096.	4096.
			-0.152707101739116	-0.02543808033538691
			-8.160783578458709E-6	1.161273616755876E-5
			-2.475095478477622E-8	3.221595512982858E-8
			3.004141979632137E-4	3.256473870825108E-6
			2.430143836004253E-8	-4.907229069560004E-8
			-8.547904444662794E-8	1.198042435820113E-8
# Thu 17:27:07 01-May-2008
begin	im16
	xrefmean	1012.054776836159
	yrefmean	2133.433946327684
	lngmean		13.057574824231
	latmean		-2.281232109227873
	pixsystem	physical
	coosystem	j2000
	projection	zpx
	projp0		0.
	projp1		1.
	projp2		0.
	projp3		337.74
	projp4		0.
	projp5		632052.
	lngref		13.047441666667
	latref		-2.5164166666667
	lngunits	hours
	latunits	degrees
	xpixref		-2139.58254846796
	ypixref		42.83654327681629
	geometry	general
	function	polynomial
	xishift		-18.38756754714871
	etashift	576.4168344887775
	xmag		0.2694813170290256
	ymag		0.2693378785495665
	xrotation	269.3192149734692
	yrotation	89.40412224340249
	wcsxirms	0.3531631086810723
	wcsetarms	0.3170471961694699
	xirms		0.314671750001051
	etarms		0.2973138788326036
	surface1	11
			3.	3.
			2.	2.
			2.	2.
			0.	0.
			1.	1.
			2048.	2048.
			1.	1.
			4096.	4096.
			-18.38756754714871	576.4168344887775
			-0.00320188057698249	0.2694622945580122
			0.2693233127567127	0.00280107610231347
	surface2	14
			3.	3.
			3.	3.
			3.	3.
			2.	2.
			1.	1.
			2048.	2048.
			1.	1.
			4096.	4096.
			-0.5806835848512067	-0.4262100694795322
			4.828461803333253E-4	5.591520087749806E-4
			-1.410061328843184E-7	-1.541442531552168E-7
			5.312537815793059E-4	2.417832985569485E-4
			-1.010088135826751E-7	-1.166781183921776E-7
			-1.039786011666863E-7	-3.070057759145173E-8


Yours,
Frank Valdes</ul></ul>

Thomas de Boer wrote on Jun 18, 2009

Hi Frank,

sorry for taking a while to reply. I just got back from holiday. I did not realize an actual file was needed for the zpx/zpn to work. I will give it another shot with the help you provided.

Thanks a lot for the WCS database!

-Thomas de Boer

Last post on Jun 18, 2009