Running Scripts from the User's Guide Creating Classes

Script Classes


The following section describes all available script methods and properties that are included with the Mira Pro Script distribution. The table below contains links to the Class Description pages where you will find links to all of their class members. For a description of how to interpret the Reference Pages, see Format of Reference Pages.

Classes used by Mira Pro Script

CApphot

Used for performing aperture photometry measurements on images.

CArray

Used for working with indexed arrays, such as vectors of numbers. However, members can be numbers, strings, or other types of objects.

CCentroid

Used for measuring centroid positions. Holds data that controls centroid measurement and provides methods for computing the centroid.

CColorRef

Used for working with colors. Holds color properties and provides methods for working with the colors.

CFile

Used for working with text files (not usually for image files).

CFileDlg

Creates configurable Open and Save dialogs for gathering file names for oprning or saving files.

CFindFiles

Searches for files in a folder having names that match a template.

CFwhm

Used for computing the FWHM and related parameters in images.

CHistogram

Creates a histogram of array data.

CImage

Used for working with images. Interfaces to the Mira image object and provides a large number of methods for processing, measuring, and interrogating images.

CImageSet

Maintains a list of images, used by some methods or classes that work with a list of images rather than a single image.

CImageView

Used for displaying images in a MIRA image view window. This class also access the CImageSet of the window, which maintains multiple images in the window. The class also provides access to Image window components such as the image cursor and display tools.

CImCombine

Performs image combining, or merging procedures on the images of a CImageSet.

CLabels

Adds markers and labels to displayed images.

CLsqFit

Implements a general weighted, multivariate linear least squares fitting package. This class can fit up to 100 coefficients and up to 10 independent variables for numeric and multi-channel RGB data.

CMatrix

Used for working with 2-dimensional indexed arrays as a sparse matrix. Matrix elements may be numbers, strings, or other types of values.

CPlotView

Used for plotting 1-dimensional data from images, displayed images, matrices, and data sets.

CPolynomial

Manages a set of polynomial coefficients.

CRect

Used for working with rectangles. Includes descriptive data and numerous methods for creating, interrogating, and doing math on rectangles.

CRegistry

Methods for saving and retrieving values using the Windows Registry.

CSplitpath

Used for working with path components such as the file name, folder, extension, etc.

CSet

Used for working with lists using insertion and removal to manipulate the set. Members can be numbers, strings, or other types of objects.

CStats

Used for measuring statistics inside a rectangular region of an image. Includes methods for many types of statistics.

CStrTok

Parses strings into shorter strings (tokens) based on separator characters.

CTextView

Manages Mira Text Editor windows used for displaying text output and messages.

 

Related Topics

Protocol for Using Classes, Comparison with C and C++, Editing Scripts,