IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Opened 21 years ago

Closed 21 years ago

Last modified 21 years ago

#568 closed enhancement (fixed)

psFits functions with 'ext' in name

Reported by: robert.desonia@… Owned by: Paul Price
Priority: high Milestone:
Component: PSLib SDRS Version: unspecified
Severity: minor Keywords:
Cc:

Description

Most of the functions with 'Ext' in the name implies that is works only with extensions, but that is not
the case as most all of them work with the primary HDU too. It probably would be better to replace
'Ext' with 'Hdu'. Also, many of these functions have two flavors, one for HDU by name and one for HDU
by number. If the assumption is made that by number is more basic/universal, the 'Num' suffix could
also be dropped and a 'ByName' can be used for those functions that index by name. For example:

psFitsMoveExtName -> psFitsMoveHduByName
psFitsMoveExtNum -> psFitsMoveHdu
psFitsGetExtNum -> psFitsGetHduNumber
psFitsDeleteExtNum -> psFitsDeleteHdu
psFitsDeleteExtname -> psFitsDeleteHduByName
psFitsGetExtType -> psFitsGetHduType
psFitsGetExtName -> psFitsGetHduName
psFitsSetExtName -> psFitsSetHduName

-rdd

Change History (1)

comment:1 by Paul Price, 21 years ago

Resolution: fixed
Status: newclosed

There is a preference here for the original names. Astronomers generally think
in terms of "extensions" instead of "HDU".

Note: See TracTickets for help on using tickets.