CImage:KwdSetNum
The KwdSetNum method inserts a numeric value keyword string into the image header.
CImage:KwdSetNum( sKwd, value ) |
sKwd is the keyword name
value is a number.
This method inserts into the image header a numeric value keyword such as GAIN or EXPTIME. If the keyword name already exists, its value is overwritten by the new value.
Suppose a CImage named I exists. The following script fragment sets a numeric keyword in the header:
t = 30.25 |
-- value is 30.25 seconds |
I:KwdSetNum("EXPTIME",t) |
-- set the EXPTIME keyword |