How can I get a FITS header of string value?
Posted: 09 Dec 2018, 17:21
I want to get a FITS header of string value by script.
My FITS file has some FITS headers bellow;
TEMPERATURE = -10
EXPOSURE = 180
FILTER = 'B'
...
My script is bellow;
print Image.GetKey("TEMPERATURE")
print Image.GetKey("EXPOSURE")
print Image.GetKey("FILTER")
The result is bellow;
-10
180
0
I know the function of Image.GetKey() only support "number value".
But in this case, I want to get the FITS header of FILTER value 'B'
How can I get a FITS header of string value ?
Please let me know other function, other way.....
w/ regards,
Tadayoshi
My FITS file has some FITS headers bellow;
TEMPERATURE = -10
EXPOSURE = 180
FILTER = 'B'
...
My script is bellow;
print Image.GetKey("TEMPERATURE")
print Image.GetKey("EXPOSURE")
print Image.GetKey("FILTER")
The result is bellow;
-10
180
0
I know the function of Image.GetKey() only support "number value".
But in this case, I want to get the FITS header of FILTER value 'B'
How can I get a FITS header of string value ?
Please let me know other function, other way.....
w/ regards,
Tadayoshi