Nodes

All 218 node types, drawn as they appear on the canvas. Search by name, menu, port or description, or browse the Nodes menu.

Plotter

Plotter ▸ Events

Pick Point

Holds the points picked in a Plotter's viewport and outputs them as a point stack. With pick_through on, one click records every surface along the ray, nearest first.

plotterPlotter ▸ Events

Pick Mesh

Holds the dataset behind the mesh picked in a Plotter's viewport: whatever was wired into that Plot, faces and values included, so it can be drawn again as is. With pick_through on, the nearest crossed Plot along the ray wins.

plotterPlotter ▸ Events

Track Camera

Holds the camera position of a Plotter's viewport as the view is moved, so other nodes can follow it.

plotterPlotter ▸ Events

Plotter ▸ Plotter

XYZ Plotter

A 3-D viewport that draws everything connected to its scene port, converting (r, θ, φ) positions to Cartesian x, y, z. It is the usual choice for solar and heliospheric scenes, and it can draw a spherical grid of lines (r, θ and φ ranges with line counts) behind the scene; the Grid Lines node draws the same kind of grid as a dataset.

plotterPlotter ▸ Plotter

RTP Plotter

A 3-D viewport that draws (r, θ, φ) values directly as x, y, z, with no conversion, for data in its own coordinate space. The Sun glyph, line-of-sight and field-of-view views and solar-north up do not apply.

plotterPlotter ▸ Plotter

Plotter · direct entries

Plot

Draws a dataset in a Plotter, colored by value, a solid color or explicit RGBA, with options for colormap and limits, opacity (a number, a named profile or a custom @name curve), lines and tubes, points and spheres, the scalar bar and volume blending. The colors input appears while color_by is rgba. A stack's Stack Form draws it as points, splines, a reconstructed surface or its own mesh faces; surface is refused above 25,000 finite points, so thin a traced stack with Downsample first.

leavesPlotter

Camera

Sets the viewport camera: explicit position and focus, or line-of-sight and field-of-view views, plus a roll angle. Its pos port can be driven by a pick.

leavesPlotter

Datasets

Datasets ▸ Grid

GridMesh

Builds a grid from three one-dimensional coordinate arrays (r, θ, φ) with no values attached.

datasetsDatasets ▸ Grid

GridScalar

Builds a grid from three coordinate arrays and one array of scalar values with one entry per grid point.

datasetsDatasets ▸ Grid

GridVector

Builds a vector-field grid from three coordinate arrays and three component arrays (r, θ and φ) on that grid.

datasetsDatasets ▸ Grid

Datasets ▸ Stack

StackMesh

Builds a point stack from three equal-shaped arrays of r, θ and φ, turning plain arrays into launch points or a trajectory.

datasetsDatasets ▸ Stack

StackScalar

Builds a point stack from r, θ and φ arrays plus one array of per-point scalar values.

datasetsDatasets ▸ Stack

StackVector

Builds a point stack from r, θ and φ arrays plus three arrays of per-point vector components.

datasetsDatasets ▸ Stack

Datasets ▸ Fields

Poloidal Field

Generates a grid holding an axisymmetric multipole potential field of a chosen degree and moment, optionally plus a uniform Cartesian field. It is a quick synthetic field for testing tracing and null-point finding.

datasetsDatasets ▸ Fields

Toroidal Field

Generates a grid holding a toroidal (azimuthal) potential field of a chosen degree, amplitude and radial power.

datasetsDatasets ▸ Fields

Datasets ▸ Point Generation

Fibonacci Sphere

Generates an evenly spread lattice of points on a sphere around each point of the optional x input (shown once connected or pinned), or around center alone. It is handy for field-line launch points.

datasetsDatasets ▸ Point Generation

Cartesian Grid

Generates a regular Cartesian grid of points, with chosen counts and widths, around each point of the optional x input (shown once connected or pinned), or around center alone. A spherical mask keeps only the inscribed ellipsoid.

datasetsDatasets ▸ Point Generation

Spherical Wedge

Generates a regular grid of points in r, θ and φ around each point of the optional x input (shown once connected or pinned), or around center alone.

datasetsDatasets ▸ Point Generation

Datasets ▸ Shapes

Sphere

A UV sphere surface with a chosen radius and center. theta_resolution sets the number of polar (pole-to-pole) divisions and phi_resolution the number of azimuthal divisions.

datasetsDatasets ▸ Shapes

Cube

A rectangular box surface with a chosen center and edge lengths.

datasetsDatasets ▸ Shapes

Plane

A flat quad-mesh patch with a chosen center, direction, size and resolution. The direction can be typed in the local spherical basis at the center, or wired in as a 3-element array.

datasetsDatasets ▸ Shapes

Rectangle

A flat quad surface through three corner points. The corners must form two perpendicular edges.

datasetsDatasets ▸ Shapes

Line

A line segment between two points, output as a point stack.

datasetsDatasets ▸ Shapes

Circle

A circle outline with a chosen center, radius and normal direction, output as a closed point stack. The normal can be typed in the local spherical basis at the center, or wired in as a 3-element array.

datasetsDatasets ▸ Shapes

Grid Lines

A structured spherical grid of lines: for each of r, θ and φ, a range, the number of lines across it and the sample resolution along it, output as a polyline mesh. Equal range endpoints collapse that axis, so a single radius makes a longitude-latitude graticule, and a single colatitude and longitude make a polar axis; narrow ranges make a box around one location.

datasetsDatasets ▸ Shapes

Disc

An annular disc surface with a chosen center, inner and outer radius and normal direction, which can be wired in as a 3-element array.

datasetsDatasets ▸ Shapes

Cylinder

A capped cylinder surface with a chosen center, direction, radius and height. The direction can be wired in as a 3-element array.

datasetsDatasets ▸ Shapes

Cone

A capped cone surface with a chosen center, direction, height and radius. The direction can be wired in as a 3-element array.

datasetsDatasets ▸ Shapes

Arrow

A shafted arrow surface starting at a chosen point and pointing in a chosen direction, which can be wired in as a 3-element array.

datasetsDatasets ▸ Shapes

Thomson Sphere

The Thomson sphere for an observer: a sphere centered halfway between the Sun and the observer, with a diameter equal to their distance. theta_resolution is polar and phi_resolution azimuthal.

datasetsDatasets ▸ Shapes

Curtain

The ribbon surface between an inner radius and a path: every point of the path, in order, is spanned radially from r_min out to its own radius along its own colatitude and longitude. Wire a spacecraft ephemeris into path for a curtain hanging below the trajectory, and Sample it through a field to color it. radial_res sets the number of quads between the inner radius and the path.

datasetsDatasets ▸ Shapes

Datasets · direct entries

Accumulator

Collects the values pushed into it, keeps at most size of the newest, and outputs them joined into one dataset. A pick holder usually feeds it to build up a set of clicked points.

datasetsDatasets

Functions

Functions ▸ Augmenters

Concatenate

Joins arrays a and b end to end along an existing axis.

functionsFunctions ▸ Augmenters

Stack

Stacks arrays a and b along a new axis, adding one dimension.

functionsFunctions ▸ Augmenters

Repeat

Repeats each element of an array a chosen number of times along an axis.

functionsFunctions ▸ Augmenters

Roll

Shifts the elements of array a cyclically by shift positions along axis; a blank axis rolls the flattened array.

functionsFunctions ▸ Augmenters

Flip

Reverses the order of the elements of array a along axis; a blank axis reverses every axis.

functionsFunctions ▸ Augmenters

Move Axis

Moves axis source of array a to position destination, keeping the order of the other axes.

functionsFunctions ▸ Augmenters

Reshape

Reshapes an array to a new shape without changing its data.

functionsFunctions ▸ Augmenters

Tile

Builds an array by repeating array a the number of times given in reps, a comma-separated count per axis (for example 2,3).

functionsFunctions ▸ Augmenters

Transpose

Reverses or permutes the axes of an array.

functionsFunctions ▸ Augmenters

Pad

Pads an array with a constant value on its edges, by a chosen width per axis.

functionsFunctions ▸ Augmenters

Ravel

Flattens array a to one dimension.

functionsFunctions ▸ Augmenters

Functions ▸ Binary

Power

Raises the elements of an array to exponent, or element by element to a second array on the optional b input (shown once connected or pinned), which then overrides exponent.

functionsFunctions ▸ Binary

Mod

Returns the element-wise remainder of a divided by divisor (in the array's own unit), or by a second array on the optional b input, which overrides divisor.

functionsFunctions ▸ Binary

Floor Divide

Returns the element-wise floor division of a by divisor (in the array's own unit), or by a second array on the optional b input, which overrides divisor. The result is dimensionless.

functionsFunctions ▸ Binary

Add

Adds b to a element-wise, in the unit of a.

functionsFunctions ▸ Binary

Subtract

Subtracts b from a element-wise, in the unit of a.

functionsFunctions ▸ Binary

Multiply

Multiplies a by b element-wise; the output unit is the product of the input units.

functionsFunctions ▸ Binary

Divide

Divides a by b element-wise; the output unit is the quotient of the input units.

functionsFunctions ▸ Binary

Maximum

Returns the element-wise maximum of a and b; a NaN in either input gives NaN.

functionsFunctions ▸ Binary

Minimum

Returns the element-wise minimum of a and b; a NaN in either input gives NaN.

functionsFunctions ▸ Binary

Fmax

Returns the element-wise maximum of a and b, ignoring NaN when only one of the two values is NaN.

functionsFunctions ▸ Binary

Fmin

Returns the element-wise minimum of a and b, ignoring NaN when only one of the two values is NaN.

functionsFunctions ▸ Binary

Arctan2

Returns the element-wise arc tangent of a divided by b in radians, choosing the quadrant from the signs of both inputs.

functionsFunctions ▸ Binary

Hypot

Returns the element-wise hypotenuse of a right triangle whose legs are a and b.

functionsFunctions ▸ Binary

Logaddexp

Returns the element-wise logarithm of exp(a) + exp(b), computed without overflow for large inputs.

functionsFunctions ▸ Binary

Copysign

Returns the magnitude of a with the sign of b, element-wise.

functionsFunctions ▸ Binary

Functions ▸ Calculus

Gradient

Computes the gradient of an array along an axis. On a grid the spacing comes from the axis scale.

functionsFunctions ▸ Calculus

Diff

Returns the differences between adjacent elements of x along axis. The axis shrinks by one, and on a grid its scale becomes the pair midpoints.

functionsFunctions ▸ Calculus

Cumsum

Returns the running (cumulative) sum of x along axis.

functionsFunctions ▸ Calculus

Cumprod

Returns the running (cumulative) product of x along axis; the values must be dimensionless.

functionsFunctions ▸ Calculus

Trapezoid

Integrates x along axis with the composite trapezoidal rule. On a grid the spacing comes from the axis scale.

functionsFunctions ▸ Calculus

Pair Average

Averages each pair of adjacent elements along an axis, shrinking that axis (and a grid's scale) by one. It helps when two grids are staggered by half a cell.

functionsFunctions ▸ Calculus

Smooth

Smooths an array with a centered rolling mean along an axis, ignoring NaN values; the output keeps the input's length.

functionsFunctions ▸ Calculus

Cross

Cross product of two vector fields on the same grid, computed at every point.

functionsFunctions ▸ Calculus

Dot

Dot product of two vector fields on the same grid, giving a scalar field.

functionsFunctions ▸ Calculus

Magnitude

Euclidean magnitude of a vector field, as a scalar field in the unit of its components.

functionsFunctions ▸ Calculus

Null Points

Finds the magnetic null points of a vector field, where the field vanishes, with a trilinear method over the grid cells (the method of Haynes and Parnell 2007, as implemented in PlasmaPy's plasmapy.analysis.nullpoint, written independently here), and outputs them as a mesh of points.

functionsFunctions ▸ Calculus

Arc Length

Attaches the cumulative arc length s along each field line, from 0 at its first point, ignoring the NaN padding after the line ends. Plot colors by it.

functionsFunctions ▸ Calculus

Point Distance

Measures the separation of paired points from two point stacks: the straight-line distance, the angular separation seen from the origin, and the great-circle arc at the first stack's radius.

functionsFunctions ▸ Calculus

Functions ▸ Colors

Colormap

Maps an array, or one dataset component, through a colormap to RGBA colors for a Plot's colors input. It supports reversal, color limits, log scaling and alpha.

functionsFunctions ▸ Colors

Random Colors

Produces a deterministic list of random RGBA colors, for coloring when there is no value array to color by.

functionsFunctions ▸ Colors

Compose RGBA

Assembles red, green and blue channels, and an optional alpha channel a (shown once connected or pinned), into one array of RGBA colors. Without a, alpha is 1.0.

functionsFunctions ▸ Colors

Functions ▸ Conditionals ▸ Filter

Filter

Keeps the elements of an array that satisfy a condition, such as greater than threshold, optionally inverted. The optional operand input (shown once connected or pinned) can supply the comparison value instead.

functionsFunctions ▸ Conditionals ▸ Filter

Filter Points

Pulls the points of a grid whose value satisfies a condition into a point stack. The optional operand input (shown once connected or pinned) can supply the comparison value instead of threshold.

functionsFunctions ▸ Conditionals ▸ Filter

Functions ▸ Conditionals ▸ Replace

Replace

Replaces the elements of an array or dataset component that satisfy a condition with a fixed fill value. The optional operand input (shown once connected or pinned) can supply the comparison value instead of threshold.

functionsFunctions ▸ Conditionals ▸ Replace

Replace Where

Chooses, element by element, the replacement array where a condition holds and the original elsewhere. The optional operand input (shown once connected or pinned) can supply the comparison value instead of threshold.

functionsFunctions ▸ Conditionals ▸ Replace

Functions ▸ Conditionals · direct entries

Apply

Applies a unary function, such as a logarithm or a square root, only where a condition holds, leaving other elements unchanged. The optional operand input (shown once connected or pinned) can supply the comparison value instead of threshold.

functionsFunctions ▸ Conditionals

Functions ▸ Dataset

Set Scale

Replaces one of a grid's three coordinate scales, or one point coordinate of a stack, with a new array or value. It corrects or relabels coordinates, for example to give a 2-D map a radius.

functionsFunctions ▸ Dataset

Set Values

Attaches a named value array to a grid or stack: a single number filled everywhere, an array, or the first value array of another dataset.

functionsFunctions ▸ Dataset

Set Time

Attaches or replaces the time scale of a stack, with one timestamp per entry.

functionsFunctions ▸ Dataset

Downsample

Thins a dataset's own points by count, fraction or stride, depending on the kind of dataset.

functionsFunctions ▸ Dataset

Upsample

Refines a dataset by interpolating extra points: smoother field lines, subdivided surfaces or denser grids.

functionsFunctions ▸ Dataset

Volume Patch

Interpolates a cube-shaped patch from a 3-D grid, centered at a position, for volume rendering with Plot.

functionsFunctions ▸ Dataset

Functions ▸ Mesh Filters ▸ Convert

To Mesh

Converts any dataset into a mesh for the Mesh Filters nodes.

functionsFunctions ▸ Mesh Filters ▸ Convert

From Mesh

Converts a mesh back into the closest array-based dataset (grid, stack or surface) for its structure.

functionsFunctions ▸ Mesh Filters ▸ Convert

Functions ▸ Mesh Filters ▸ Geometry

Clip Plane

Keeps the part of a mesh on one side of a plane defined by an origin and a normal direction. The normal can be typed in the local spherical basis at the origin, or wired in as a 3-element array.

functionsFunctions ▸ Mesh Filters ▸ Geometry

Clip Box

Keeps the inside of an axis-aligned box of a mesh, or the outside with invert.

functionsFunctions ▸ Mesh Filters ▸ Geometry

Slice Plane

Cuts a mesh with a plane to produce its cross-section. The normal can be wired in as a 3-element array.

functionsFunctions ▸ Mesh Filters ▸ Geometry

Slice Orthogonal

Cuts a mesh with the three axis-aligned planes through a chosen origin and combines the cross-sections.

functionsFunctions ▸ Mesh Filters ▸ Geometry

Extract Surface

Extracts the outer boundary faces of a mesh as a surface.

functionsFunctions ▸ Mesh Filters ▸ Geometry

Triangulate

Converts the faces of a surface mesh into triangles.

functionsFunctions ▸ Mesh Filters ▸ Geometry

Decimate

Reduces the number of triangles of a surface mesh by a target fraction while preserving its shape.

functionsFunctions ▸ Mesh Filters ▸ Geometry

Smooth Surface

Smooths a surface mesh by Laplacian smoothing over a chosen number of iterations.

functionsFunctions ▸ Mesh Filters ▸ Geometry

Clean

Merges duplicate points and removes degenerate cells in a mesh, within an optional tolerance.

functionsFunctions ▸ Mesh Filters ▸ Geometry

Connectivity

Keeps the largest connected region of a mesh, or labels every connected region.

functionsFunctions ▸ Mesh Filters ▸ Geometry

Intersect

Computes where two surface meshes intersect, usually as lines, or splits either mesh along the intersection.

functionsFunctions ▸ Mesh Filters ▸ Geometry

Rotate

Rotates a mesh by an angle about an axis through an origin point, optionally carrying its vector arrays along.

functionsFunctions ▸ Mesh Filters ▸ Geometry

Mirror

Reflects a mesh across the plane through an origin point with a given normal, optionally carrying its vector arrays along.

functionsFunctions ▸ Mesh Filters ▸ Geometry

Functions ▸ Mesh Filters ▸ Scalars

Threshold

Keeps the mesh cells whose scalar value lies inside a range, or outside it with invert.

functionsFunctions ▸ Mesh Filters ▸ Scalars

Clip Scalar

Keeps the region of a mesh where a scalar is above a chosen value, or below it with invert.

functionsFunctions ▸ Mesh Filters ▸ Scalars

Contour

Extracts isosurfaces of a scalar on a mesh, evenly spaced across a range or at exactly the values on the optional isovalues port.

functionsFunctions ▸ Mesh Filters ▸ Scalars

Elevation

Adds a scalar array holding each point's signed distance along the axis from a low point to a high point.

functionsFunctions ▸ Mesh Filters ▸ Scalars

Warp By Scalar

Displaces the points of a mesh along their normals by the scalar value times a factor.

functionsFunctions ▸ Mesh Filters ▸ Scalars

Sample

Interpolates the arrays of one dataset onto the points of another, so a field can be colored onto any geometry.

functionsFunctions ▸ Mesh Filters ▸ Scalars

Functions ▸ Mesh Filters ▸ Vectors

Glyph

Places an arrow at each point of a mesh, oriented by a vector array and optionally scaled by a scalar, a vector magnitude or one vector component.

functionsFunctions ▸ Mesh Filters ▸ Vectors

Streamlines

Integrates streamlines of a vector field from launch points: by default the same deterministic lattice the Tracer uses (n points at radius r), or the points on the optional lps input, which takes a (3, N) array, a point stack, a grid, a surface or a mesh, the way the Tracer does. The output is one polyline per launch point, in launch-point order; with both directions the backward and forward halves are joined into one line.

functionsFunctions ▸ Mesh Filters ▸ Vectors

Compute Normals

Computes the surface normal at each point or cell of a surface mesh, optionally flipped.

functionsFunctions ▸ Mesh Filters ▸ Vectors

Warp By Vector

Displaces the points of a mesh by a vector array times a factor.

functionsFunctions ▸ Mesh Filters ▸ Vectors

Functions ▸ Mesh Filters ▸ Queries

Line Intersection

Finds where the lines of one mesh cross a surface and returns those points as a stack that can carry the line index, distance and sampled surface values.

functionsFunctions ▸ Mesh Filters ▸ Queries

Ray Trace

Casts a ray from each point of a mesh in a chosen direction and returns where each ray hits a surface. The direction can come from a connected array or be typed in the local spherical basis.

functionsFunctions ▸ Mesh Filters ▸ Queries

Enclosed Points

Tests which points of a mesh lie inside a closed surface, keeping those inside or outside, or adding an inside flag to every point.

functionsFunctions ▸ Mesh Filters ▸ Queries

Implicit Distance

Computes the signed distance from each point of a mesh to a surface: negative inside, positive outside.

functionsFunctions ▸ Mesh Filters ▸ Queries

Closest Point

Finds the closest point on a surface for each point of a mesh, returned as a point stack or as a distance array added to the mesh.

functionsFunctions ▸ Mesh Filters ▸ Queries

Collision

Tests two surface meshes for collision and returns the colliding cells, or the mesh with its colliding cells marked.

functionsFunctions ▸ Mesh Filters ▸ Queries

Functions ▸ Structural

Line Endpoints

Takes the first or last finite point of every line of a field-line bundle, optionally stepping a few points inward, as a point stack with one point per line. It also carries the point index, the line number and the line's arc length, so traces from two time steps can be compared line by line.

functionsFunctions ▸ Structural

Nearest Index

Returns the index of the dataset point closest to a position, which can be picked in the viewport, as an integer array.

functionsFunctions ▸ Structural

Nearest Element

Returns the dataset entry closest to a position, which can be picked in the viewport: the nearest point with its values, or the dataset pinned at it along chosen axes.

functionsFunctions ▸ Structural

Slice

Cuts an index window out of a grid along r, theta and phi, or out of a stack along its line and point axes.

functionsFunctions ▸ Structural

VSlice

Cuts a window out of a grid by coordinate value rather than by index, in each parameter's unit. Equal low and high values pin the nearest scale point.

functionsFunctions ▸ Structural

Stack Slice

Slices a stack along its entry axis, by index or by time.

functionsFunctions ▸ Structural

Functions ▸ Reducers

Percentile

Returns the q-th percentile of x along axis; nan_safe ignores NaN values.

functionsFunctions ▸ Reducers

Sum

Sums x along axis; nan_safe ignores NaN values.

functionsFunctions ▸ Reducers

Prod

Multiplies the elements of x together along axis; nan_safe ignores NaN values.

functionsFunctions ▸ Reducers

Mean

Returns the arithmetic mean of x along axis; nan_safe ignores NaN values.

functionsFunctions ▸ Reducers

Std

Returns the standard deviation of x along axis; nan_safe ignores NaN values.

functionsFunctions ▸ Reducers

Var

Returns the variance of x along axis; nan_safe ignores NaN values.

functionsFunctions ▸ Reducers

Median

Returns the median of x along axis; nan_safe ignores NaN values.

functionsFunctions ▸ Reducers

Min

Returns the minimum of x along axis; nan_safe ignores NaN values.

functionsFunctions ▸ Reducers

Max

Returns the maximum of x along axis; nan_safe ignores NaN values.

functionsFunctions ▸ Reducers

Peak to Peak

Returns the range (maximum minus minimum) of x along axis; nan_safe ignores NaN values.

functionsFunctions ▸ Reducers

Functions ▸ Unary ▸ Misc

Clip

Limits the values of x to the range from clip_lo to clip_hi, in the component's own unit; either bound may be left blank.

functionsFunctions ▸ Unary ▸ Misc

NaN to Num

Replaces NaN and infinite values with finite numbers; NaN becomes zero unless you choose other replacements.

functionsFunctions ▸ Unary ▸ Misc

Heaviside

Returns the Heaviside step function of x: 0 for negative values, 1 for positive values and h0 where x is zero.

functionsFunctions ▸ Unary ▸ Misc

Scale

Multiplies an array or dataset component by a constant factor, keeping its unit.

functionsFunctions ▸ Unary ▸ Misc

Offset

Adds a constant to an array or dataset component, in its own unit.

functionsFunctions ▸ Unary ▸ Misc

Absolute

Returns the absolute value of x, element-wise.

functionsFunctions ▸ Unary ▸ Misc

Negative

Negates x, element-wise.

functionsFunctions ▸ Unary ▸ Misc

Sign

Returns the sign of x, element-wise: -1, 0 or 1.

functionsFunctions ▸ Unary ▸ Misc

Sinc

Returns the normalized sinc function sin(πx)/(πx) of x, element-wise.

functionsFunctions ▸ Unary ▸ Misc

Normalize

Rescales an array or dataset component linearly to the range 0 to 1, from its minimum to its maximum.

functionsFunctions ▸ Unary ▸ Misc

Functions ▸ Unary ▸ Rounding

Round

Rounds x to decimals decimal places, element-wise, rounding halves to the nearest even value.

functionsFunctions ▸ Unary ▸ Rounding

Rint

Rounds x to the nearest integer, element-wise.

functionsFunctions ▸ Unary ▸ Rounding

Floor

Returns the floor of x (the largest integer not greater than each value), element-wise.

functionsFunctions ▸ Unary ▸ Rounding

Ceil

Returns the ceiling of x (the smallest integer not less than each value), element-wise.

functionsFunctions ▸ Unary ▸ Rounding

Trunc

Truncates x toward zero, element-wise.

functionsFunctions ▸ Unary ▸ Rounding

Functions ▸ Unary ▸ Exp & Log

Log

Returns the natural logarithm of x, element-wise, or the logarithm in base when it is set.

functionsFunctions ▸ Unary ▸ Exp & Log

Exp

Returns e raised to x, element-wise, or base raised to x when it is set.

functionsFunctions ▸ Unary ▸ Exp & Log

Expm1

Returns exp(x) - 1, element-wise, accurately for small values.

functionsFunctions ▸ Unary ▸ Exp & Log

Exp2

Returns 2 raised to x, element-wise.

functionsFunctions ▸ Unary ▸ Exp & Log

Log10

Returns the base-10 logarithm of x, element-wise.

functionsFunctions ▸ Unary ▸ Exp & Log

Log2

Returns the base-2 logarithm of x, element-wise.

functionsFunctions ▸ Unary ▸ Exp & Log

Log1p

Returns the natural logarithm of 1 + x, element-wise, accurately for small values.

functionsFunctions ▸ Unary ▸ Exp & Log

Functions ▸ Unary ▸ Powers

Root

Takes the real root of a chosen degree of an array or dataset component. An odd degree keeps the sign of negative values; an even degree gives NaN for them.

functionsFunctions ▸ Unary ▸ Powers

Sqrt

Returns the non-negative square root of x, element-wise; the output unit is the square root of the input unit.

functionsFunctions ▸ Unary ▸ Powers

Cbrt

Returns the cube root of x, element-wise; the output unit is the cube root of the input unit.

functionsFunctions ▸ Unary ▸ Powers

Square

Returns the square of x, element-wise; the output unit is the input unit squared.

functionsFunctions ▸ Unary ▸ Powers

Reciprocal

Returns one divided by each element of x.

functionsFunctions ▸ Unary ▸ Powers

Functions ▸ Unary ▸ Trig

Sin

Returns the sine of the angle x, element-wise; a dimensionless input counts as radians.

functionsFunctions ▸ Unary ▸ Trig

Cos

Returns the cosine of the angle x, element-wise; a dimensionless input counts as radians.

functionsFunctions ▸ Unary ▸ Trig

Tan

Returns the tangent of the angle x, element-wise; a dimensionless input counts as radians.

functionsFunctions ▸ Unary ▸ Trig

Arcsin

Returns the inverse sine of the dimensionless x, element-wise, in radians.

functionsFunctions ▸ Unary ▸ Trig

Arccos

Returns the inverse cosine of the dimensionless x, element-wise, in radians.

functionsFunctions ▸ Unary ▸ Trig

Arctan

Returns the inverse tangent of the dimensionless x, element-wise, in radians.

functionsFunctions ▸ Unary ▸ Trig

Deg to Rad

Converts the angles in x from degrees to radians.

functionsFunctions ▸ Unary ▸ Trig

Rad to Deg

Converts the angles in x from radians to degrees.

functionsFunctions ▸ Unary ▸ Trig

Unwrap

Unwraps the angle x by replacing each jump of more than half a turn between neighbors with its complement, so the angle varies continuously.

functionsFunctions ▸ Unary ▸ Trig

Functions ▸ Unary ▸ Hyperbolic

Sinh

Returns the hyperbolic sine of x, element-wise.

functionsFunctions ▸ Unary ▸ Hyperbolic

Cosh

Returns the hyperbolic cosine of x, element-wise.

functionsFunctions ▸ Unary ▸ Hyperbolic

Tanh

Returns the hyperbolic tangent of x, element-wise.

functionsFunctions ▸ Unary ▸ Hyperbolic

Arcsinh

Returns the inverse hyperbolic sine of x, element-wise.

functionsFunctions ▸ Unary ▸ Hyperbolic

Arccosh

Returns the inverse hyperbolic cosine of x, element-wise.

functionsFunctions ▸ Unary ▸ Hyperbolic

Arctanh

Returns the inverse hyperbolic tangent of x, element-wise.

functionsFunctions ▸ Unary ▸ Hyperbolic

Functions ▸ Unary · direct entries

Convert

Re-expresses the values of an array or dataset component in another unit.

functionsFunctions ▸ Unary

Functions · direct entries

Extract

Extracts one component of a dataset, such as a coordinate scale or a value array, as a plain array. A triple of components named like x_r, x_t and x_p can also be extracted together as the vector x.

functionsFunctions

Generators

Generators ▸ Reader ▸ HDF 3D

MAS File

Reads MAS model output from one file, a directory of time steps, a psi-data-utils sample run or the export cache folder. It knows MAS quantities, units and mesh staggering. The Directory and Cache Directory sources scan a filename pattern for the quantities you list; the psi-data-utils (run) source takes a whole sample run and fetches its files on demand. For every directory-style source, Time Mode chooses the step: By Sequence takes a sequence number, By Date the file nearest a date (a Directory or Cache Directory source needs the origin date t0) and By Time the file nearest an elapsed time. The Cache Directory source reads the folder an Exporter's Cache Directory destination writes to, and a reader watching that folder notices new files when an export finishes.

generatorsGenerators ▸ Reader ▸ HDF 3D

POT3D File

Reads POT3D model output. It works like MAS File with the quantities POT3D produces.

generatorsGenerators ▸ Reader ▸ HDF 3D

Custom 3D File

Reads a 3-D HDF file of any layout, with full control over variable, axes, scales and units.

generatorsGenerators ▸ Reader ▸ HDF 3D

Generators ▸ Reader ▸ HDF 2D

Map File

Reads a MAS (θ, φ) map such as a coronal-hole map. Only the unit is left open.

generatorsGenerators ▸ Reader ▸ HDF 2D

LongLat File

Reads a generic longitude-latitude map, converted to θ and φ in radians.

generatorsGenerators ▸ Reader ▸ HDF 2D

Generators ▸ Reader ▸ Table

Table HDF

Reads a flat table of points stored as one-dimensional datasets in an HDF file, with optional time and value columns.

generatorsGenerators ▸ Reader ▸ Table

Table CSV

Reads a flat table of points from a CSV file, with optional time and value columns.

generatorsGenerators ▸ Reader ▸ Table

Table DAT

Reads a flat table of points from a delimited or fixed-width text file, with optional time and value columns.

generatorsGenerators ▸ Reader ▸ Table

Generators ▸ Reader · direct entries

Read

Reads data from a reader into a grid, array or stack: the whole file, an index window, a value window or interpolated points. The lps input for interpolated points appears while method is points.

materializersGenerators ▸ Reader

HDF 1D File

Reads a single named coordinate axis from a generic HDF file.

generatorsGenerators ▸ Reader

Geometry File

Reads one or more N-D HDF datasets that share a point layout: a geometry dataset of coordinates plus any number of matching value datasets.

generatorsGenerators ▸ Reader

Generators ▸ Tracer

Trace Domain

Traces magnetic field lines from launch points through a Tracer: forward along the field, backward against it, or both ways joined into one line per launch point. Lines can carry their length or polarity. r0 and r1 default to the radial extent of the field's main mesh and, with atol, are in the file's own solar radii (PSI_rsun).

materializersGenerators ▸ Tracer

Trace Multi Domain

Traces field lines across two domains, through a coronal Tracer and a heliospheric Tracer joined at an interface radius.

materializersGenerators ▸ Tracer

Flow Along Lines

Re-times existing field lines by the plasma speed along them, and resamples every line at uniform travel-time instants. flow runs each line with the plasma (from its upstream end) or against it (from its downstream end); a segment slower than stall stops the particle there. Drop it between a trace and a Slice window so an animated window follows the plasma speed instead of the point index.

materializersGenerators ▸ Tracer

Tracer

Holds the three magnetic field components (Br, Bt, Bp) for the field-line tracer. It does no work itself; the Trace nodes ask it for field lines.

generatorsGenerators ▸ Tracer

Generators ▸ Spacecraft

Spacecraft Read

Reads a Spacecraft's trajectory as a stack, with its ephemeris and any chosen in situ quantities, over the chosen time range.

materializersGenerators ▸ Spacecraft

Spacecraft

Selects a spacecraft, a time definition and the in situ quantities to fetch; Spacecraft Read reads the data.

generatorsGenerators ▸ Spacecraft

Generators · direct entries

Vector Field

Combines three scalar readers, one each for the r, θ and φ components, into one vector-field reader on a shared grid.

generatorsGenerators

Export

CSV Exporter

Writes a stack, grid or array to a CSV table file. With Auto Export on, it writes again whenever a pass reaches it out of date.

leavesExport

HDF Exporter

Writes a grid in the PSI layout, or a stack or array as a flat HDF5 table. A grid can go to one file or, with Separate Files on, to one file per value named from the row's prefix, the File Name and the suffix; set each value's Variable to br, bt or bp and the files read back through a MAS File node and feed a Tracer. With Auto Export on, it writes again whenever a pass reaches it out of date.

leavesExport

Text Exporter

Writes a number, or a small array, to a text file. With Auto Export on, it writes again whenever a pass reaches it out of date.

leavesExport

Primitives

Primitives ▸ Array

Array

An array of numbers typed in as a comma- or space-separated list.

primitivesPrimitives ▸ Array

Arange

An array of evenly spaced values from a start up to, but not including, a stop, with a step.

primitivesPrimitives ▸ Array

Linspace

An array of a chosen number of evenly spaced values from a start to a stop, both included.

primitivesPrimitives ▸ Array

Logspace

An array of a chosen number of values evenly spaced on a log10 scale, from 10 to the power start to 10 to the power stop.

primitivesPrimitives ▸ Array

Geomspace

An array of a chosen number of values evenly spaced on a geometric scale between a start and a stop of the same sign.

primitivesPrimitives ▸ Array

Zeros

An array of a chosen number of zeros.

primitivesPrimitives ▸ Array

Ones

An array of a chosen number of ones.

primitivesPrimitives ▸ Array

Empty

An array of a chosen number of uninitialized elements.

primitivesPrimitives ▸ Array

Full

An array of a chosen number of elements, all set to one fill value.

primitivesPrimitives ▸ Array

Random

An array of random samples from a uniform or normal distribution, with an optional seed.

primitivesPrimitives ▸ Array

Eye

A square identity matrix of a chosen size.

primitivesPrimitives ▸ Array

Identity

A square identity matrix of a chosen size.

primitivesPrimitives ▸ Array

Primitives · direct entries

Number

A number with a unit, typed in.

primitivesPrimitives

Integer

A whole number with a unit, typed in.

primitivesPrimitives

DateTime

A point in time, typed in. It can drive the time of a reader, a tracer or a spacecraft.

primitivesPrimitives

Constant

A named physical constant, for example the solar radius.

primitivesPrimitives

Vector

A three-component vector, typed in, for driving a vector parameter.

primitivesPrimitives

Integer Vector

A three-component vector of whole numbers, typed in, for driving a vector or integer vector parameter.

primitivesPrimitives

Range

A (low, high) pair, typed in, for driving a range parameter.

primitivesPrimitives

Integer Range

A (low, high) pair of whole numbers, typed in, for driving a range or integer range parameter.

primitivesPrimitives

Not in the Nodes menu

Snapshot

A frozen copy of a node's output, created by Deep Copy. It holds its data independently of the graph and has no inputs.

datasets