[daip] Pbcor

Eric Greisen egreisen at nrao.edu
Fri Jan 18 12:03:51 EST 2013


Marina Kounkel wrote:
> Oh, I see. Thanks.
> Obsra and obsdec both return 0.
> 
> Listr output with optype='scan' do give us the pointing positions for 
> all the fields, unfortunately in hexadecimal format. Is there a 
> convenient way to see these numbers in degree format?

Actually the LISTR outputs are phase stopping position not pointing 
position.  The best way - if you have an image made at the pointing 
position (no shift - use iMHEADER to make sure).

GETN i
keyw='crval1'; geth
keyw = 'OBSRA'
puth
getn j2 ; puth
getn j3 ; puth
getn j4 ; puth

GETN i
keyv='crval2'; geth
keyw = 'obsdec';
puth
getn j2 ; puth
getn j3 ; puth
getn j4 ; puth

where i is the image at the pointing position and j2, j3, j4 are the 3 
other images missing the pointing position.

The new verb CODECIMAL allows you to convert between COORDIN in 
sexagesimal and X and Y in decimal is you end up having to enter the 
values from the LISTR output.

Eric Greisen




More information about the Daip mailing list