Numerics.osax 1.1.2 review
DownloadThe Numerics osax augments AppleScript with computational commands.


The Numerics osax augments AppleScript with computational commands.
The computational features now include five Suites: Linear algebra, FFT and convolution, Image files, 3D array handling, and Numerical data files.
Here are some key features of "Numerics.osax":
linear algebra (eigenvalues, linear systems solving, etc.)
signal processing (1d, 2d, and nd FFT, cross and selfcorrelations, convolution, interpolation)
image processing (import/export, particle analysis)
3D arrays (handling by reference, extraction, isosurfaces, stream lines).
What's New:
Linear algebra: transpose, multmatrix, invertmatrix, solve linear system, compute eigenvalues, LUdecomposition, pivot, determinant
Basic linear algebra and basic commands for inverting, diagonalizing, and decomposing a matrix. These commands support complex matrices. multmatrix performs the product of matrices and/with vectors: M x M, M x v, v x M, v x v.
FFT and convolution: fft1d, fft2d, filterarray, convolve, correlate, interpolate
Fast Fourier transforms: 1d, grouped, ndimensional, and 2d. Use algorithms which time like N.Log N. Not powers of 2limited. Convolution and correlation of two arrays, support periodic boundary conditions. Interpolation, linear or spline, supports periodic boundary conditions.
Image files: imagefile bounds, convert imagefile, create imagefile, create grayimagefile, particles
Basic commands for doing image processing: getting an image's bounds, importing it as a numerical matrix and back, and doing particles analysis (get statistical info and contours of particles of an image).
3D array handling: open3D, close3D, list3Darrays, info3D, contents3D, extract3D, isosurface, streamline
This Suite is to cope with 3D data and visualize them conveniently. Instead of manipulating the data in your script, you load them into memory and specify a name for them. Using the name you can extract whatever fraction of the data you really need. You can produce isosurfaces of a scalar field, and the stream lines of a vectorial field (results are triangle lists).
Numerical data files: XNFGetArray, XNFSave, XNFdelete, XNFtoc
This Suite introduces a new extensible data format, XNF (eXtensible Numerical File format.), extension .xnf. XNF files store binary 1D, 2D, and 3D arrays. One XNF file may contain arbitrarily many arrays of various kinds, stored under a variety of formats: the XNF file manages a Table of contents which specifies the properties of each array. Access to arrays is simply by name. Since the Table of contents is a XML, you can apply XPaths to retrieve a particular set of data. XMLLib osax required.
Requirements:
Satimage.osax 3.1 or higher.
Numerics.osax 1.1.2 search tags