IDS peak ICV v1.3.0
Loading...
Searching...
No Matches
PointXYZI Class Reference
Inheritance diagram for PointXYZI:

Public Member Functions

None __init__ (self, float x, float y, float z, float intensity)
 Creates a point with x, y, z and intensity float channels.
 
bool __eq__ (self, object other)
 Check if two points of type PointXYZI are equal.
 
bool __ne__ (self, object other)
 Check if two points of type peak_icv_point_xyz are not equal.
 
bool __gt__ (self, object other)
 Check if a point of type PointXYZI is greater than another point of type peak_icv_point_xyz.
 
bool __lt__ (self, object other)
 
str __str__ (self)
 Get a string representation of the PointXYZI.
 

Data Fields

 intensity = intensity
 
int intensity = 4:
 
 x = other[3])
 

Detailed Description

Represents a point in 3D space.

Since
ids_peak_icv 1.1

Definition at line 11 of file point_xyzi.py.

Constructor & Destructor Documentation

◆ __init__()

None __init__ ( self,
float x,
float y,
float z,
float intensity )

Creates a point with x, y, z and intensity float channels.

Parameters
xx coordinate
yy coordinate
zz coordinate
intensityintensity meta data
Since
ids_peak_icv 1.1

Reimplemented from PointXYZ.

Definition at line 20 of file point_xyzi.py.

Member Function Documentation

◆ __eq__()

bool __eq__ ( self,
object other )

Check if two points of type PointXYZI are equal.

Parameters
otherAnother PointXYZI object OR List of coordinates [x, y, z, i] OR Tuple of coordinates (x, y, z, i)
Returns
True if points are equal, False otherwise
Since
ids_peak_icv 1.1

Reimplemented from PointXYZ.

Definition at line 35 of file point_xyzi.py.

◆ __gt__()

bool __gt__ ( self,
object other )

Check if a point of type PointXYZI is greater than another point of type peak_icv_point_xyz.

Parameters
otherAnother PointXYZI
Returns
True if point of type PointXYZI is greater than, False otherwise
Since
ids_peak_icv 1.1

Reimplemented from PointXYZ.

Definition at line 69 of file point_xyzi.py.

◆ __lt__()

bool __lt__ ( self,
object other )

Reimplemented from PointXYZ.

Definition at line 109 of file point_xyzi.py.

◆ __ne__()

bool __ne__ ( self,
object other )

Check if two points of type peak_icv_point_xyz are not equal.

Parameters
otherAnother peak_icv_point_xyz
Returns
True if points are not equal, False otherwise
Since
ids_peak_icv 1.1

Reimplemented from PointXYZ.

Definition at line 56 of file point_xyzi.py.

◆ __str__()

str __str__ ( self)

Get a string representation of the PointXYZI.

Returns
String representation of the PointXYZI
Since
ids_peak_icv 1.1

Reimplemented from PointXYZ.

Definition at line 112 of file point_xyzi.py.

Field Documentation

◆ intensity [1/2]

intensity = intensity

Definition at line 33 of file point_xyzi.py.

◆ intensity [2/2]

int intensity = 4:

Definition at line 48 of file point_xyzi.py.

◆ x

x = other[3])

Definition at line 52 of file point_xyzi.py.