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
How can I get a FITS header of string value?
-
- Posts: 219
- Joined: 08 Dec 2018, 13:30
Re: How can I get a FITS header of string value?
This reply is "self reply".
I'm verry sorry. I watched "Astroart6" help file.
I found Image.GetKey$() function in the "Astroart5" help file.
My script is bellow;
print Image.GetKey$("FILTER")
The result is bellow;
B
----------
Image.GetKey$() function is written in Astroart5 help file but not in Astroart6 help file.
Why is this function's description deleted Astroart6 ?
Thank you,
I'm verry sorry. I watched "Astroart6" help file.
I found Image.GetKey$() function in the "Astroart5" help file.
My script is bellow;
print Image.GetKey$("FILTER")
The result is bellow;
B
----------
Image.GetKey$() function is written in Astroart5 help file but not in Astroart6 help file.
Why is this function's description deleted Astroart6 ?
Thank you,
-
- Posts: 219
- Joined: 08 Dec 2018, 13:30
Re: How can I get a FITS header of string value?
Thank you,
the documentation will be fixed as soon as possible.
The syntax "Image.GetKey" will be valid for string keys in the next camera interface. As you wrote, meanwhile it's required to use "GetKey$" or "GetKeyString".
Thanks, Fabio.
the documentation will be fixed as soon as possible.
The syntax "Image.GetKey" will be valid for string keys in the next camera interface. As you wrote, meanwhile it's required to use "GetKey$" or "GetKeyString".
Thanks, Fabio.