Previous topic

WCS Corrections

Next topic

Headerlet

This Page

UPDATEWCS.UTILS functions

stwcs.updatewcs.utils.build_sipname(fobj, fname=None, sipname=None)

Build a SIPNAME from IDCTAB

Parameters :
 

fobj: HDUList :

pyfits file object

fname: string :

science file name (to be used if ROOTNAMe is not present

sipname: string :

user supplied SIPNAME keyword

Returns :
 

sipname, idctab :

stwcs.updatewcs.utils.build_npolname(fobj, npolfile=None)

Build a NPOLNAME from NPOLFILE

Parameters :
 

fobj: HDUList :

pyfits file object

npolfile: string :

user supplied NPOLFILE keyword

Returns :
 

npolname, npolfile :

stwcs.updatewcs.utils.build_d2imname(fobj, d2imfile=None)

Build a D2IMNAME from D2IMFILE

Parameters :
 

fobj: HDUList :

pyfits file object

d2imfile: string :

user supplied NPOLFILE keyword

Returns :
 

d2imname, d2imfile :

stwcs.updatewcs.utils.build_distname(sipname, npolname, d2imname)

Core function to build DISTNAME keyword value without the HSTWCS input.