New Features


The features below were added or revised during the last calendar year.

NOTE: After installing a new version of Mira, your web browser may display cached pages of the online User's Guides. To refresh the cache, use Shift+F5 or Shift + Reload the first time you open the online User's Guide.

Changes to Classes, Functions, and the User's Guide

Reminder: For class objects, the class methods are always specified using the colon operator whereas class properties are specified using the dot operator.

Changed the name "Datatype" to "PixelType"

bullet.gif    To improve consistency with the Mira GUI commands and documentation, all forms of the words "Datatype" and "data type" used by images in the script language were renamed to "PixelType" and "pixel type". Also notice the change in upper/lower case characters for the word "type" in method and function names, as in Datatype --> PixelType. The term "data type" is still used by grids, such as in the CGrid class and GridView class.

Added Execute Script commands to several Mira Window types

bullet.gif    An Execute Script command was added to the menus for Image Windows, Plot Windows, Report Windows, Measurement Panes and other Grid Controls. See the class descriptions for CImageView, CPlotView, and CGridView and the corresponding window descriptions in the Mira Pro x64 User's Guide. Several sample scripts named "Execute.... .lua" are provided to show script execution from the Mira windows corresponding to the classes listed above. These are launched using the Execute Script command.

Numerous sample scripts were added to Version 8.60

bullet.gif    Learn the to use the script language and get sample code by opening and executing the many scripts installed in the <Documents>/Mira Pro x64 Data/Scripts/Samples folder. Numerous samples scripts were added in version 8.60.

 

Date, Time, and Angle Functions (added a topic overview)

CGrid class (new)

CGridView class (new)

CFileList class (new)

Plotting Functions (added several non-class functions)

bullet.gif    connect and connecterr functions (new)

bullet.gif    histplot (new)

bullet.gif    line and lineerr functions (new)

bullet.gif    scatter and scattererr functions (new)

bullet.gif    stepline and steplineerr functions (new)

CPlotView class

bullet.gif    Close method (new)

bullet.gif    Connect method (new)

bullet.gif    Line method (new)

bullet.gif    Scatter method (new)

bullet.gif    StepLine method (new)

bullet.gif    PlotConnected changed return value

bullet.gif    PlotLine changed return value

bullet.gif    PlotScatter changed return value

bullet.gif    PlotStepLine changed return value

bullet.gif    PlotMatrixLine changed return value

bullet.gif    PlotMatrixRangeLine changed return value

bullet.gif    PlotMatrix changed return value

bullet.gif    PlotMatrixRange changed return value

bullet.gif    AddPoints changed return value

bullet.gif    PlotImageCol changed return value

bullet.gif    PlotImageRow changed return value

bullet.gif    PlotPoints changed return value

Text Formatting Functions (topic overview)

Dialog Functions (topic overview)

Directory Functions (new topic overview and new directory functions)

CImageView class

bullet.gif    Close method (new)

bullet.gif    SaveUndo method (new)

bullet.gif    Undo method (new)

bullet.gif    SaveUndoAll method (new)

bullet.gif    UndoAll method (new)

bullet.gif    Update method (new)

bullet.gif    UpdateAll method (new)

CImage class

bullet.gif    FiltBlockSum method was added to the script library.

bullet.gif    PixelTypeStr fixed an internal bug.

bullet.gif    PixelType fixed an internal bug.

bullet.gif    Datatype, DatatypeStr, and SetDatatype are now obsolete and should not be used in future scripts.

bullet.gif    GetWcsType method was added.

bullet.gif    ToTable (new)

bullet.gif    TableToRect (new)

bullet.gif    TableToCol (new)

bullet.gif    TableToRow (new)

bullet.gif    ColToTable (new)

bullet.gif    RowToTable (new)

bullet.gif    RectToTable (new)

CImCombine class

bullet.gif    AlignWcs (new method)

bullet.gif    AlignWcs2 (new method)

bullet.gif    AlignWcs3 (new method)

CImExtract class

bullet.gif    Source Properties Table

bullet.gif    nFilterSepMinMethod property

bullet.gif    nFilterSepMinCompare property

CLabels class revisions

CLsqFit class (new)

CMeasureAngles class (new)

CMeasure Lines class (new)

CMeasurePoints class (new)

CMeasureRegions class (new)

CPlot class (new)

CPlotView class

bullet.gif    Close method (new)

CPoint class (new)

CStats class revisions

bullet.gif    Added two versions of all estimator methods that return the estimator and standard deviation. The additional versions return only the estimator, e.g., CStats:Mean versus CStats:MeanSdev.

bullet.gif    Added two versions of Min and Max that return the estimator and its coordinates. The additional methods return only the estimator, e.g., CStats:Min versus CStats:MinXy.

CTextView class

bullet.gif    Close method (new)

CValueSet class (new)

Table and Array Functions

bullet.gif    Added a new discussion of Table and Array Functions with emphasis on using the non-class array and table functions.

bullet.gif    Added new topics for Array Functions and Table Functions.

bullet.gif    Added 22 new Table Functions. Most of these have the letter "n" appended to their name.

bullet.gif    Added several new functions and expanded the parameter options.

bullet.gif    Added new versions of the mean and median methods for arrays that previously returned both the estimator and standard deviation. The new versions return only the estimator, e.g., mean versus meansdev.

bullet.gif    Added new versions of the min and max for arrays that previously returned the estimator and its coordinates. The new functions return only the estimator, e.g., min versus minxy.

Related Topics

Contents

 


Mira Pro x64 Script User's Guide, Copyright Ⓒ 2023 Mirametrics, Inc. All Rights Reserved.