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.77

bullet.gif    No new features. Version was upgraded to be consistent with Mira Pro x64 version 8.77.

Version 8.76

bullet.gif    No new features. Version was upgraded to be consistent with Mira Pro x64 version 8.76.

Version 8.75

bullet.gif    Fixed several typos in this document.

Version 8.74

bullet.gif    Added abbrev_path as the new name for the existing AbbrevPath function. Both names are accepted.

bullet.gif    Added support for ISO8601 standard date+time strings to CalcJD and CalcHJD. This string format is used by FITS format keywords like DATE-OBS, DATEFITS, DATEMIRA, and others.

bullet.gif    Added the CGridCtrl class for the grid control in a CGridView grid window or modeless CGrid grid dialog. The class methods work with the grid control.

bullet.gif    Added the new_gridctrl function, which extracts the CGridCtrl object from a CGridView window or modeless CGrid dialog.

bullet.gif    Added the attachlist_panegridctrl function which attaches the CGridCtrl object to grid docking pane of a CImageView, CPlotView, and other windows.

bullet.gif    Added the CGridView:GetGridCtrl method to permit directly working with CGridCtrl methods held inside the CGridView object.

bullet.gif    Added several string processing functions to check strings for date and time: is_time, is_datetime, time2num, datetime2num, and str2str.

bullet.gif    Added CImage keyword method CImage:KwdGetRaw.

bullet.gif    Added new topics FITS Format Overview and FITS Keywords, and new Contents topics.

bullet.gif    Split Date, Time, and Angle Functions topic into Date and Time Functions and Angle Functions.

bullet.gif    Separated the Non-class Creator Functions topic into two new topics: Creator Functions and Attachment Functions.

bullet.gif    Added the FileNameParams table for use with the GetFileOpen and GetFileSave dialogs.

bullet.gif    Added the trimstr function to remove leading and trailing blanks from a string.

bullet.gif    Added the arrayindex function, which returns the linear index of multi-dimensional coordinates in a multi-dimensional array.

bullet.gif    Added the arraycoord function, which returns a coordinate array for the linear index into a multi-dimensional array.

bullet.gif    Added the statstr function which computes 8 basic statistics for a CImage, indexed array, or series of numbers.

Version 8.71

CPlotView class

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 global commands to attach desktop view windows using their title (name). See attach_gridview_by_name, attach_image_by_name, and attach_plot_by_name. See the lists of Creator Functions and 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.77 Copyright Ⓒ 2024 Mirametrics, Inc. All Rights Reserved.