Main Page | Class List | Directories | File List | Class Members | File Members

ObitPosition.c File Reference

ObitPosition module function definitions. More...

#include "ObitPosition.h"

Functions

gint ObitPositionWorldPos (gfloat pixel[2], ObitImageDesc *desc, gdouble coord[2])
 Public: Routine to determine accurate position for pixel coordinates.
gint ObitPositionWorldPosLM (gdouble doff[2], ObitImageDesc *desc, gdouble coord[2])
 Public: Routine to determine accurate position for pixel coordinates from offsets from the reference position.
gint ObitPositionXYpix (gdouble coord[2], ObitImageDesc *desc, gfloat pixel[2])
 Public: Routine to determine accurate pixel coordinates for an RA and Dec offsets from the reference position.
gint ObitPositionXYpixLM (gdouble coord[2], ObitImageDesc *desc, gdouble doff[2])
 Public: Routine to determine accurate coordinate offsets for an RA and Dec offsets from the reference position.


Detailed Description

ObitPosition module function definitions.

Utility functions for coordinates Adopted from XFITSview/FITSview which adapted from AIPS


Function Documentation

gint ObitPositionWorldPos gfloat  pixel[2],
ObitImageDesc desc,
gdouble  coord[2]
 

Public: Routine to determine accurate position for pixel coordinates.

Does: -SIN, -TAN, -ARC, -NCP, -GLS, -MER, -AIT projections, anything else is linear

Parameters:
pixel Pixel number (1-rel) on each axis
desc Obit Image Descriptor
coord [out] Coordinate value on each axis
Returns:
Pointer 0 if OK, else angle too large for projection

gint ObitPositionWorldPosLM gdouble  doff[2],
ObitImageDesc desc,
gdouble  coord[2]
 

Public: Routine to determine accurate position for pixel coordinates from offsets from the reference position.

Does: -SIN, -TAN, -ARC, -NCP, -GLS, -MER, -AIT projections, anything else is linear

Parameters:
doff Coordinate offsets on each axis (deg)
desc Obit Image Descriptor
coord [out] Coordinate on each axis (deg)
Returns:
Pointer 0 if OK, else angle too large for projection

gint ObitPositionXYpix gdouble  coord[2],
ObitImageDesc desc,
gfloat  pixel[2]
 

Public: Routine to determine accurate pixel coordinates for an RA and Dec offsets from the reference position.

Does: -SIN, -TAN, -ARC, -NCP, -GLS, -MER, -AIT projections, anything else is linear

Parameters:
coord Coordinate value on each axis
desc Obit Image Descriptor
pixel [out] Pixel number (1-rel) on each axis
Returns:
Pointer 0 if OK, else 1=angle too large for projection, 2 = bad values

gint ObitPositionXYpixLM gdouble  coord[2],
ObitImageDesc desc,
gdouble  doff[2]
 

Public: Routine to determine accurate coordinate offsets for an RA and Dec offsets from the reference position.

Does: -SIN, -TAN, -ARC, -NCP, -GLS, -MER, -AIT projections, anything else is linear

Parameters:
coord Coordinate value on each axis
desc Obit Image Descriptor
doff [out] Pixel number (1-rel) on each axis
Returns:
Pointer 0 if OK, else 1=angle too large for projection, 2 = bad values


Generated on Fri Aug 31 22:13:07 2007 for Obit by  doxygen 1.3.9.1