ml-spectra-processing
xyFilterXPositive
Function xyFilterXPositive
xyFilterXPositive
(
data
:
DataXY
)
:
DataXY
<
number
[]
>
Filter out all the points for which x <= 0. Useful to display log scale data
Parameters
data
:
DataXY
data
Returns
DataXY
<
number
[]
>
An object with the filtered data
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
ml-spectra-processing
Auto
Phase
Correction
Options
Calculate
Adaptive
Weights
Options
Create
From
To
Array
Options
Create
Random
Array
Options
Create
Step
Array
Options
Data
Re
Im
Data
X
Re
Im
From
To
With
Number
Of
Points
Get
Rescaler
Options
Matrix
Box
Plot
Matrix
Create
Empty
Options
Matrix
Get
Sub
Matrix
Options
Matrix
Histogram
Options
Matrix
PQN
Options
Matrix
Z
Pivot
Rescale
Options
Matrix
Z
Rescale
Options
Matrix
Z
Rescale
Per
Column
Options
Point
Point
With
Close
Point
With
Index
Reim
FFT
Options
Reim
Phase
Correction
Options
Weights
And
Control
Points
X
Apply
Function
Str
Options
X
Auto
Correlation
Options
X
Box
Plot
X
Box
Plot
Options
X
Box
Plot
With
Outliers
X
Check
Options
X
Cross
Correlation
Options
X
Distribution
Stats
X
Divide
Options
X
Find
Closest
Index
Options
X
Get
From
To
Index
Options
X
Get
Target
Index
Options
X
Hilbert
Transform
Options
X
Histogram
Options
X
Is
Equally
Spaced
Options
X
Median
Absolute
Deviation
Result
X
Multiply
Options
X
Noise
San
Plot
Options
X
Noise
San
Plot
Result
X
Noise
Standard
Deviation
Result
X
Normed
Options
X
Padding
Options
X
Rescale
Options
X
Robust
Distribution
Stats
X
Rolling
Options
X
Sampling
Options
X
Sequential
Fill
From
Step
Options
X
Sequential
Fill
From
Step
Parameters
X
Sequential
Fill
From
To
Options
X
Sequential
Fill
From
To
Parameters
X
Variance
Options
XY
Align
Options
XY
Align
Result
XY
Array
Align
Options
XY
Array
Align
To
First
Options
XY
Array
Merge
Options
XY
Array
Weighted
Merge
Options
XY
Covariance
Options
XY
Cumulative
Distribution
Statistics
Result
XY
Equally
Spaced
Options
XY
Extract
Options
XY
Filter
Options
XY
Filter
X
Options
XY
Integral
Options
XY
Integration
Options
XY
Join
X
Options
XY
Mass
Center
Vector
Options
XY
Max
Closest
Y
Point
Options
XY
Max
Y
Options
XY
Max
Y
Point
Options
XY
Merge
By
Centroids
Options
XY
Min
Closest
Y
Point
Options
XY
Min
Y
Point
Options
XY
Object
Best
Points
Options
XY
Object
Check
Options
XY
Object
Join
X
Options
XY
Object
Slot
X
Options
XY
Peak
Info
XY
Peak
Info
Options
XY
Reduce
Options
XY
Set
Y
Value
Options
XY
Unique
X
Options
Zones
Normalize
Options
Zones
With
Points
Options
Double
Array
Constructor
Double
Array
Type
Double
Matrix
Number
Array
Constructor
Number
Array
Type
Rescaler
Algorithm
calculate
Adaptive
Weights
create
Double
Array
create
From
To
Array
create
Number
Array
create
Random
Array
create
Step
Array
get
Output
Array
get
Rescaler
is
Power
Of
Two
matrix
Absolute
Median
matrix
Apply
Numerical
Encoding
matrix
Auto
Correlation
matrix
Box
Plot
matrix
Center
Z
Mean
matrix
Check
matrix
Cholesky
Solver
matrix
Clone
matrix
Columns
Correlation
matrix
Create
Empty
matrix
Cuthill
Mckee
matrix
Get
Sub
Matrix
matrix
Histogram
matrix
Max
Absolute
Z
matrix
Median
matrix
Min
Max
Absolute
Z
matrix
Min
Max
Z
matrix
Noise
Standard
Deviation
matrix
Numerical
Decoding
matrix
Numerical
Encoding
matrix
PQN
matrix
Set
Sub
Matrix
matrix
To
Array
matrix
Z
Pivot
Rescale
matrix
Z
Rescale
matrix
Z
Rescale
Per
Column
next
Power
Of
Two
recursive
Resolve
recursive
Untype
Arrays
reim
Absolute
reim
Auto
Phase
Correction
reim
FFT
reim
Phase
Correction
reim
Zero
Filling
stringify
x
Absolute
x
Absolute
Median
x
Absolute
Sum
x
Add
x
Apply
Function
Str
x
Auto
Correlation
x
Box
Plot
x
Box
Plot
With
Outliers
x
Check
x
Check
Lengths
x
Correlation
x
Cost
Matrix
x
Cross
Correlation
x
Cumulative
x
Distribution
Stats
x
Divide
x
Dot
Product
x
Ensure
Float64
x
Find
Closest
Index
x
Get
From
To
Index
x
Get
Target
Index
x
Hilbert
Transform
x
Histogram
x
Is
Equally
Spaced
x
Is
Monotonic
x
Mass
Center
Vector
Similarity
x
Max
Absolute
Value
x
Max
Index
x
Max
Value
x
Mean
x
Mean
Absolute
Error
x
Mean
Squared
Error
x
Mean
Weighted
x
Median
x
Median
Absolute
Deviation
x
Min
Index
x
Min
Max
Delta
x
Min
Max
Values
x
Min
Value
x
Mode
x
Multiply
x
Noise
San
Plot
x
Noise
Standard
Deviation
x
Norm
x
Normed
x
Padding
x
Pareto
Normalization
xreim
Sort
X
xreim
Zero
Filling
x
Remove
Outliers
IQR
x
Rescale
x
Robust
Distribution
Stats
x
Rolling
x
Rolling
Average
x
Rolling
Max
x
Rolling
Median
x
Rolling
Min
x
Rotate
x
Sampling
x
Sequential
Fill
From
Step
x
Sequential
Fill
From
To
x
Sort
Ascending
x
Sort
Descending
x
Standard
Deviation
x
Subtract
x
Sum
x
Unique
Sorted
x
Variance
x
Whitaker
Smoother
xy2
To
XY
xy
Align
xy
Array
Align
xy
Array
Align
To
First
xy
Array
Merge
xy
Array
Weighted
Merge
xy
Check
xy
Covariance
xy
Cumulative
Distribution
Statistics
xy
Ensure
Float64
xy
Ensure
Growing
X
xy
Equally
Spaced
xy
Extract
xy
Filter
xy
Filter
Min
Y
Value
xy
Filter
Top
Y
Values
xy
Filter
X
xy
Filter
X
Positive
xy
Find
Closest
Point
xy
Get
N
Max
Y
xy
Growing
X
xy
Integral
xy
Integration
xy
Join
X
xy
Mass
Center
xy
Mass
Center
Vector
xy
Max
Closest
Y
Point
xy
Maxima
Y
xy
Max
Merge
xy
Max
Y
xy
Max
Y
Point
xy
Median
xy
Merge
By
Centroids
xy
Min
Closest
Y
Point
xy
Minima
Y
xy
Min
Y
Point
xy
Object
Best
Points
xy
Object
Check
xy
Object
Join
X
xy
Object
Max
X
Point
xy
Object
Max
Y
Point
xy
Object
Min
Max
Values
xy
Object
Min
X
Point
xy
Object
Min
Y
Point
xy
Object
Slot
X
xy
Object
Sort
X
xy
Object
Sum
Y
xy
Object
To
XY
xy
Peak
Info
xy
Real
Max
Y
Point
xy
Real
Min
Y
Point
xy
Reduce
xy
Reduce
Non
Continuous
xy
Rolling
xy
Set
Y
Value
xy
Sort
X
xy
To
XY
Array
xy
To
XY
Object
xy
Unique
X
xy
Weighted
Merge
zones
Normalize
zones
With
Points
M
M
N
E
P
V
F
C
I
C
P
M
F
P
C
P
T
T
A
A
A
T
R
Filter out all the points for which x <= 0. Useful to display log scale data