next up previous 79
Next: SFIT-Fit a polynomial to a spectrum
Up: Applications in detail
Previous: SDIST-Analyse an image containing spectra for S-distortion


SETOBJ-Assign value to an HDS primitive

Usage:
setobj value object

Description:
This routine assigns a specified (numeric or string) value to an existing HDS primitive. The destination object must exist. It can be a primitive scalar or a cell in a primitive array.

Parameters:
VALUE
The value the scalar primitive HDS object is to assume.
OBJECT
The HDS object to be modified. Specify beginning with directory and file name in the syntax of the operating system, followed by the dot-separated structure hierarchy. Elements of structure arrays are specified in ordinary brackets ().

Examples:
 1.  setobj value=90. object=file.MORE.FIGARO.TIME
   Store the number or string 90 in the existing scalar HDS
   object MORE.FIGARO.TIME in the file "file".

See also:
FIGARO: CREOBJ, COPOBJ, DELOBJ, RENOBJ.
KAPPA: ERASE.

Authors:
KS: Keith Shortridge (AAO)

HME: Horst Meyerdierks (UoE, Starlink)

JFL: John Lightfoot (ROE)



next up previous 79
Next: SFIT-Fit a polynomial to a spectrum
Up: Applications in detail
Previous: SDIST-Analyse an image containing spectra for S-distortion

FIGARO A general data reduction system
Starlink User Note 86
Keith Shortridge, Horst Meyerdierks,
Malcolm Currie, Martin Clayton, Jon Lockley,
Anne Charles, Clive Davenhall,
Mark Taylor, Tim Ash, Tim Wilkins, Dave Axon,
John Palmer, Anthony Holloway and
Vito Graffagnino
2004 February 17
E-mail:starlink@jiscmail.ac.uk

Copyright © 2013 Science and Technology Facilities Council