Module:
sdynpy.fileio.sdynpy_psvSource: GitHub
Signature¶
class sdynpy.fileio.sdynpy_psv.MeasPoints(obj: 'Any') -> 'None'Pythonic wrapper around the COM measurement-point collection.
Attributes¶
| Name | Summary |
|---|---|
average_sigma | Average signal-enhancement sigma for all points. |
component | Root geometry component. |
coordinates_to_array | 3D coordinates for all points as an array of shape (n, 3). |
count | Number of measurement points. |
has_3d_coordinates | Whether the points are defined with 3D coordinates. |
has_non_optimal_points_to_invalidate | Whether non-optimal points exist that can be invalidated. |
has_sigma | Whether average signal-enhancement sigma is valid. |
is_3d_calculation_possible | Whether 3D coordinate calculation is possible. |
name | Info-object name. |
type | Info-object type identifier. |
video_coordinates_to_array | Video coordinates for all points as an array of shape (n, 2). |
average_sigma¶
Average signal-enhancement sigma for all points.
component¶
Root geometry component.
coordinates_to_array¶
3D coordinates for all points as an array of shape (n, 3).
count¶
Number of measurement points.
has_3d_coordinates¶
Whether the points are defined with 3D coordinates.
has_non_optimal_points_to_invalidate¶
Whether non-optimal points exist that can be invalidated.
has_sigma¶
Whether average signal-enhancement sigma is valid.
is_3d_calculation_possible¶
Whether 3D coordinate calculation is possible.
name¶
Info-object name.
type¶
Info-object type identifier.
video_coordinates_to_array¶
Video coordinates for all points as an array of shape (n, 2).
Methods¶
| Name | Summary |
|---|---|
__init__ | Initialize self. See help(type(self)) for accurate signature. |
get_video_rect | Gets the video rectangle defining the video coordinate system. |
__init__¶
Source: GitHub
def sdynpy.fileio.sdynpy_psv.MeasPoints.__init__(self, obj: 'Any') -> 'None'Initialize self. See help(type(self)) for accurate signature.
get_video_rect¶
Source: GitHub
def sdynpy.fileio.sdynpy_psv.MeasPoints.get_video_rect(self) -> 'tuple[float, float, float, float]'Gets the video rectangle defining the video coordinate system.
Returns¶
left : float The left side of the video rectangle
top : float The top side of the video rectangle
right : float The right side of the video rectangle
bottom : float The bottom side of the video rectangle