CImage:KwdSetNum


The KwdSetNum method inserts a numeric value keyword string into the image header.

Syntax

CImage:KwdSetNum( sKwd, value )

bullet.gif    sKwd is the keyword name

bullet.gif    value is a number.

Remarks

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.

Example

Suppose a CImage named I exists. The following script sets a numeric keyword in the header:

t = 30.25

-- value is 30.25 seconds

I:KwdSetNum("EXPTIME",t)

-- set the EXPTIME keyword

Related Topics

CImage class

KwdSetStr

KwdGetNum


Mira Pro x64 Script User's Guide, Copyright Ⓒ 2024 Mirametrics, Inc. All Rights Reserved.