1. Convert a particular sky coordinate position
ecoordconv imageset=pnimagexy.ds x=27000 y=26900 coordtype=POS ecoordconv:- Region Centre: Theta: Phi: 18.4712 2.59867 X: Y: 27010 26888 DETX: DETY: -353.754 160.874 IM_X: IM_Y: 101.90963 101.81583 RA: DEC: 275.505 64.3385 RAWX: RAWY: 43 186 CCD(s): 4 centred on CCD: 4
2. Convert a detector coordinate region
ecoordconv srcexp="(DETX,DETY) in CIRCLE(100,1000,7000)" imageset=pnimagexy.ds ecoordconv:- Region Centre: Theta: Phi: 50.5951 1.40977 X: Y: 26280.112 27503.672 DETX: DETY: 124.823 968.882 IM_X: IM_Y: 101.90963 101.81583 RA: DEC: 275.498 64.3258 RAWX: RAWY: 37 176 CCD(s): 1 4 5 7 8 10 centred on CCD: 4
3. Convert a RAW coordinate
ecoordconv imageset=image.ds coordtype=raw x=32 y=191 ccdno=4 ecoordconv:- Region Centre: Theta: Phi: 48.3652 3.84547 X: Y: 27095.5 27965.5 DETX: DETY: 546.171 -243.231 IM_X: IM_Y: 101.90963 101.81583 RA: DEC: 114.952 -85.6571 RAWX: RAWY: 32 191 CCD(s): 4 centred on CCD: 4
4. Convert from sky to celestial coordinates only
ecoordconv imageset=image.ds coordtype=POS x=25500 y=26200 pos2eqpos=yes ecoordconv:- Region Centre: RA: DEC: 115.012 -85.6611
5. Convert an image pixel coordinate
ecoordconv imageset=image.ds coordtype=impix x=100 y=200 ecoordconv:- Region Centre: Theta: Phi: 1527.7808 1.9310338 X: Y: 14390026 14373032 DETX: DETY: -9487.2015 28977.154 IM_X: IM_Y: 100 200 RA: DEC: 233.08007 41.629175 RAWX: RAWY: -42.554876 -163.20573 CCD(s): 3 centred on CCD: 3
6. Convert from image pixel to celestial coordinates only
ecoordconv imageset=image.ds coordtype=IMPIX x=100 y=262 im2eqpos=yes ecoordconv:- Region Centre: RA: DEC: 233.1230 41.6234