OpC 2.04 User's Manual

John Gruenenfelder


Table of Contents
1. Introduction
1.1. The Program
1.2. The Language
1.3. The FITS Format
2. Building OpC
2.1. Aquiring OpC
2.2. Compiling OpC
2.3. Building Documentation
3. Running OpC
3.1. OpC by Design
3.1.1. Commands
3.1.2. Expressions & Functions
3.1.3. Self Documenting Functions
3.1.4. Important Functions
3.1.5. Operators
3.2. Your Friend, the Prompt
3.3. Working with Images
3.4. Casting
4. Function Modules
4.1. What are Function Modules?
4.2. Sections of a Function Module
4.2.1. Section: module_definition
4.2.2. Section: The Code
4.3. Error Handling in a Module Function
4.4. Screen Output Extraction Layer
4.5. Compiling your module
5. Scripting with OpC
5.1. Running Scripts
5.2. Creating Script Files
A. A Few Useful OpC Scripts
A.1. Fourier Transform Script
A.2. Wiener Filter/Wiener Deconvolution Script
B. libhlist Reference
B.1. Introduction
B.2. Structures and Data Types
B.3. FITS file input and output
B.4. Creating a FITS Header
B.5. Inserting and Removing Cards
List of Tables
3-1. Allowed Type Casting
3-2. Allowed Image/Pixel Subtype Casting