Skip to content

Commit

Permalink
feat: add WCSParams struct to wcs module in @observerly/skysolve
Browse files Browse the repository at this point in the history
feat: add WCSParams struct to wcs module in @observerly/skysolve
  • Loading branch information
michealroberts committed Nov 4, 2024
1 parent 15422e8 commit 8004b97
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pkg/wcs/wcs.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,15 @@ func (c CoordinateProjectionType) ToCTypes() CTypeP {
}

/*****************************************************************************************************************/

type WCSParams struct {
Projection CoordinateProjectionType // Projection type e.g., "TAN", or "TAN-SIP"
AffineParams transform.Affine2DParameters // Affine transformation parameters
SIPParams transform.SIP2DParameters // SIP transformation (distortion) coefficients
}

/*****************************************************************************************************************/

type WCS struct {
WCAXES int `hdu:"WCAXES" default:"2"` // Number of world coordinate axes
CRPIX1 float64 `hdu:"CRPIX1"` // Reference pixel X
Expand Down

0 comments on commit 8004b97

Please sign in to comment.