Mira Pro x64 Script Version 8.6

The current script language version is 8.65. The complete script reference document may be viewed in the online Mira Pro x64 Script User's Guide. Below are new features going back to version 8.60.

  >> Return to the News page

New Sample Scripts: Added several working sample scripts that demonstrate script classes and functions. This makes a total of 196 sample scripts that can be executed as provided or used as a basis for writing your own scripts.

Script Execution Interface: Added direct script execution capability to several view windows and controls:

  • Image Windows
  • Plot Windows
  • Grid Windows
  • Report Windows
  • Grid Controls

New Classes

  • CGrid class
  • CGridView class
  • CFileList class
  • CLsqFit class
  • CMeasureAngles class
  • CMeasureLines class
  • CMeasurePoints class
  • CMeasureRegions class
  • CPlot class
  • CPoint class
  • CValueSet class

Plotting Functions (non-class functions)

  • function connecterr  (separated from function connect)
  • function lineerr  (separated from function line)
  • function scattererr  (separated from function scatter)
  • function steplineerr  (separated from function stepline)
  • function histplot

CPlotView class -- new methods

  • method CPlotView:Connect
  • method CPlotView:Line
  • method CPlotView:Scatter
  • method CPlotView:StepLine
  • method CPlotView:Close

CPlotView class methods -- changed return values:

  • method CPlotView:PlotConnected
  • method CPlotView:PlotLine
  • method CPlotView:PlotScatter
  • method CPlotView:PlotStepLine
  • method CPlotView:PlotMatrixLine
  • method CPlotView:PlotMatrixRangeLine
  • method CPlotView:PlotMatrix
  • method CPlotView:PlotMatrixRange
  • method CPlotView:AddPoints
  • method CPlotView:PlotImageCol
  • method CPlotView:PlotImageRow
  • method CPlotView:PlotPoints

Overview Topics added to User's Guide

  • Date, Time, and Angle Functions
  • Text Formatting Functions
  • Dialog Functions
  • Directory Functions

CImageView class -- new methods

  • method CImageView:SaveUndo
  • method CImageView:SaveUndoAll
  • method CImageView:Undo
  • method CImageView:UndoAll
  • method CImageView:Update
  • method CImageView:UpdateAll
  • method CImageView:Close

CImage class -- new methods

  • method CImage:FiltBlockSum
  • method CImage:ToTable
  • method CImage:TableToRect
  • method CImage:TableToCol
  • method CImage:TableToRow
  • method CImage:ColToTable
  • method CImage:RowToTable
  • method CImage:RectToTable
  • method CImage:GetWcsType

CImCombine class -- new methods

  • method CImCombine:AlignWcs
  • method CImCombine:AlignWcs2
  • method CImCombine:AlignWcs3

CImExtract class

  • Source Properties Table
  • nFilterSepMinMethod property
  • nFilterSepMinCompare property

CStats class

Added new statistical methods to the existing set to make a total of 42 statistical estimators.

Here are the 42 statistical estimators, including prior ones (note: "object" refers to a CImage, CArray, or table, and rect is an optional rectangle that confines the calculation):

  • method CStats:AlphaClipMean( object, nHigh, nLow, rect )
  • method CStats:AlphaClipMeanSdev( object, nHigh, nLow, rect )
  • method CStats:Calc( Object, Rect )
  • method CStats:ContraMean( object, nExponent, rect )
  • method CStats:ContraMeanSdev( object, nExponent, rect )
  • method CStats:GeoMean( object, rect )
  • method CStats:GeoMeanSdev( object, rect )
  • method CStats:Kurtosis( object, rect )
  • method CStats:Max( object, rect )
  • method CStats:MaxXy( object, rect )
  • method CStats:MaxPix( object, rect )
  • method CStats:MaxClipMean( object, rect )
  • method CStats:MaxClipMeanSdev( object, rect )
  • method CStats:Mean( object, rect )
  • method CStats:MeanSdev( object, rect )
  • method CStats:Median( object, rect )
  • method CStats:MedianSdev( object, rect )
  • method CStats:Min( object, rect )
  • method CStats:MinXy( object, rect )
  • method CStats:MinPix( object, rect )
  • method CStats:MinClipMean( object, rect )
  • method CStats:MinMaxClipMean( object, rect )
  • method CStats:MinClipMeanSdev( object, rect )
  • method CStats:MinMaxClipMeanSdev( object, rect )
  • method CStats:MtmSigmaClipMean( object, nSigmaHigh, nSigmaLow, rect )
  • method CStats:MtmSigmaClipMeanSdev( object, nSigmaHigh, nSigmaLow, rect )
  • method CStats:Rank( object, nPctile, rect )
  • method CStats:RankClipMean( object, nPercentHigh, nPercentLow, rect )
  • method CStats:RankClipMeanSdev( object, nPercentHigh, nPercentLow, rect )
  • method CStats:RankSdev( object, nPctile, rect )
  • method CStats:Sdev( object, rect )
  • method CStats:Sdev2( object, nMean, rect )
  • method CStats:SdevClipValue( object, nHigh, nLow, nMean, rect )
  • method CStats:SdevValue( object, nMean, rect )
  • method CStats:SigmaClipMean( object, nSigmaHigh, nSigmaLow, rect )
  • method CStats:SigmaClipMeanSdev( object, nSigmaHigh, nSigmaLow, rect )
  • method CStats:Skewness( object, rect )
  • method CStats:Stats( object, rect )
  • method CStats:StatsStr( object, rect )
  • method CStats:Sum( object, rect )
  • method CStats:SumSdev( object, rect )
  • method CStats:YpMean( object, nExponent, rect )
  • method CStats:YpMeanSdev( object, nExponent, rect )

Table and Array Functions

  • Added a new "Table and Array Functions" topic discussing benefits of different methods for working with arrays and tables.
  • Added new topics covering Array Functions and Table Functions.
  • Added 20 new generalized table functions that work with both arrays and complex multi-dimensional tables, including  string-keyed members. These functions have the letter "n" appended to their name.
  • Mira array and table functions continue to support compound statements. For example, the following statement applies the linear equation y = a+ bx to a table of values "x", then returns the mean and standard deviation of the result:

meanval, sdev = meansdevn( addn( muln(x,b), a))

New general, multi-dimensional table functions:

  • function addn( t, val )
  • function divn( t, val )
  • function flattenn( t )
  • function harmeann( t )
  • function harmeansdevn( t )
  • function maxn( t )
  • function meann( t )
  • function meansdevn( t )
  • function mediann( t )
  • function mediansdevn( t )
  • function minn( t )
  • function muln( t, val )
  • function normn( t )
  • function rankn( t, pct )
  • function sdevn( t )
  • function sdevxn( t, x )
  • function subn( t, val )
  • function sumn( t )
  • function tcountn( t )
  • function xdivn( t, val )

Added several new Array Functions

  • function meansdev( t )
  • function mediansdev( t )
  • function minxy( t )
  • function maxxy( t )
  • function flatten( t )
  • function ismultidim( t )
  • function booltostr( val )
 

Learn More

Name  *

E-mail  *

Item of Interest

Organization

Telephone

Application

Comments

Verification *