MaxIm DL - FAQ - Image Processing

If you have a question not addressed here, please visit the support page.



System Requirements

Image Acquisition

Image Processing

Autoguiding

Image Calibration

Filter Wheels

Cameras

Operating Systems

Upgrades and Support


Image Processing

Q: How do I change/add FITS keys to a number of files at once?

A: Copy the text below into a file called "setfits.vbs". Change the line where it says Doc.SetFITSKey to set the values you want (you can add multiple lines if you wish). Load into MaxIm DL all the images you want to modify. Double-click the setfits.vbs file to run the script. When it's done, all open images will have the FITS key(s) added.

You can also use this technique to perform other types of operations. See the Help under Scripting for more information.

Set App = CreateObject("MaxIm.Application")
Set Docs = App.Documents

For Each Doc In Docs
    ' Your commands go here, e.g.:
    Doc.SetFITSKey "MyKey", 1234.5
Next

Top of the Page



Copyright © 2004 Diffraction Limited