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.

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

Version 8.73

bullet.gif    Added CMeasurePlotPoints and CMeasurePlotLines classes to the Mira Pro Script module.

bullet.gif    Added a topic describing the relationship between scripts and the Mira User Interface.

Version 8.72

Several new features were added:

bullet.gif    New fitpoly1d function fits a polynomial to (x,y) where y = f(x). This is a simplified non-class version of the CLsqFit class method CLsqfit:Fit.

bullet.gif    New fitpoly2d function fits a polynomial to (x,y,z) where z = f(x,y). This is a simplified non-class version of the CLsqFit class method CLsqfit:Fit.

bullet.gif    The new SetAttrib method updates the CPlotView object using values in a PlotAttrib table.

bullet.gif    Added the SetNegX and SetNegY methods to the CPlotView class.

bullet.gif    Added GetPt to the CLsqFit class. This method returns a table containing both the independent and dependent variables of a point.

bullet.gif    Changed RGB parameter passing in the CLsqFit methods AddPt and AddPtWt. Previously, an RGB value was passed as a string; now it is passed as an array.

bullet.gif    Added FindCol2 and FindRow2 to the CGridView class. The new methods match the column or row title by including leading and trailing whitespace that may exist in the title. In comparison, the FindCol and FindRow methods ignore leading and trailing whitespace that may exist in the grid title.

bullet.gif    Added the SetInfo method to the CPlot class to attach a string of data to a plotted point. This works only for scatter plots and connected plots.

Version 8.71

Several new features were added:

bullet.gif    The new GetAttrib method returns a PlotAttrib table containing the general properties of the plot window atached to a CPlotView object.

bullet.gif    The new PlotAttrib table contains properties of the CPlotView object.

bullet.gif    The new_image and CImage:new functions can also construct a CImage object from a simple (keyless) 1-dimensional lua table.

bullet.gif    Added the nBgCornerPixelsPct option for background calculation in source extraction by the CImExtract Module. See the ImExtractParams Table.

bullet.gif    The new global commands to attach desktop view windows using their title (name). See attach_gridview_by_name, attach_imageview_by_name, attach_plotview_by_name, and attach_textview_by_name. Also see the list of Non-class Attachment Functions.

bullet.gif    Added the CRegistry:DeleteValue and CRegistry:DeleteKey methods to delete a registry value (keyword-value pair) or an entire registry key including all its subkeys and values.

Version 8.65

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.

Version 8.60

bullet.gif    Numerous revisions were made to topics in this User's Guide.

bullet.gif    Numerous sample scripts were added.

bullet.gif    Help for learning to use the script language is included in the many scripts installed in the <Documents>/Mira Pro x64 Data/Scripts/Samples folder. Many new sample scripts were included.

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

CGrid class (new)

CGridView class (new)

CFileList class (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 obsolete and should not be used in future scripts.

bullet.gif    GetWcsType method was added.

bullet.gif    GetWcsProj method

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)

Versions before 8.60

CImage class

bullet.gif    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)

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, v.8.73 Copyright Ⓒ 2024 Mirametrics, Inc. All Rights Reserved.