You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sprintf errMsg,"Concatenate failed as the wave types of the first argument and #%d don't match: %s vs %s",i,WaveTypeToStringSelectorOne(majorType),WaveTypeToStringSelectorOne(sliceMajorType)
Copy file name to clipboardExpand all lines: Packages/MIES/MIES_SweepFormula_Helpers.ipf
+42-9Lines changed: 42 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -235,14 +235,34 @@ End
235
235
/// returned.
236
236
///
237
237
/// The second argument `birdTypes` is optional, if not present the operation `birdTypes()` is called and its result returned. Alternatively `defWave` can be supplied which is then returned if the argument is not present.
sprintf msg,"Argument #%d of operation %s: Expected minor wave type %s but got %s", argNum, opShort,WaveTypeToStringSelectorZero(expectedMinorType),TextWaveToList(typesText,", ", trailSep =0)
sprintf msg,"Argument #%d of operation %s: Expected major wave type %s but got %s", argNum, opShort,WaveTypeToStringSelectorOne(expectedMajorType),TextWaveToList(typesText,", ", trailSep =0)
Copy file name to clipboardExpand all lines: Packages/doc/SweepFormula.rst
+22-2Lines changed: 22 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1722,13 +1722,13 @@ the Unicode Character 'HORIZONTAL ELLIPSIS' (U+2026). Writing "..." is automatic
1722
1722
The function generally accepts 1 to 3 arguments. The operation is intended to be
1723
1723
used with two arguments.
1724
1724
1725
-
The operation accepts also multiple data waves as first argument. Each data wave content must follow the operation argument order and size in that case.
1726
-
For this case the operation is applied on each input data wave independently and returns the same number of data waves.
1727
1725
The returned data type is `SF_DATATYPE_RANGE`.
1728
1726
1729
1727
.. code-block:: bash
1730
1728
1731
1729
range(1, 5, 0.7) == [1, 1.7, 2.4, 3.1, 3.8, 4.5]
1730
+
range(3) == [0, 1, 2]
1731
+
range(1, 4) == [1, 2, 3]
1732
1732
1733
1733
epochs
1734
1734
""""""
@@ -1983,6 +1983,26 @@ The operation currently throws away all metadata.
1983
1983
1984
1984
merge(4, 7, 8) == [4, 7, 8]
1985
1985
1986
+
concat
1987
+
""""""
1988
+
1989
+
The concat operation allows to concatenate multiple arrays together.
1990
+
1991
+
.. code-block:: bash
1992
+
1993
+
concat(array data1, array data2, ...)
1994
+
1995
+
data1, data2, ...
1996
+
data waves (numeric and text)
1997
+
1998
+
The operation accepts 1 to unlimited arguments. The dimensionality of all input
0 commit comments