imProc.trans - EranOfek/AstroPack GitHub Wiki

Description

The imProc.trans package contains function for coordinate transformation and fitting of coordinates in AstroCatalog and AstroImage objects.

Functions

  • imProc.trans.allFunList - Functions and Classes list for the imProc.trans package
  • imProc.trans.fitPattern - Match two catalogs using stars pattern and return approximate transformation
  • imProc.trans.fitTransformation - Fit an exact transformation between two matched catalogs
  • imProc.trans.projection - project Lon/Lat to X/Y using specified projection
  • imProc.trans.projectionInv - project X/Y to Lon/Lat using specified projection
  • imProc.trans.tranAffine - Apply affine transformation to an AstroCatalog object
  • imProc.trans.unitTest - unitTest for +imProc.match

Examples:

Shift coordinates in the catalog in X and Y, by 1 pixel. The third argument indicate if to operate the forward (true) or inverse (false) transformation. For more options see the function help.

Result = imProc.trans.tranAffine(rand(100,2), [1 1], true);