Skip to content

SPICE_DATA::has_dumbbells

Martin Wiesmann edited this page Aug 27, 2024 · 2 revisions

Source code: SPICE_DATA::has_dumbbells

Class: SPICE_DATA

Description

Returns 1 if data object contains one or two dumbbells. If window is provided, 1 is returned if the given given window contains a dumbbell.

Syntax

result = spice_object->has_dumbbells( [window] )

Return value

This function returns either a boolean. True if object contains a dumbbell, or if window_index provided if window is a dumbbell.

Arguments

window

The index or name(s) of the windows to be checked, scalar or vector, integer of string.

Clone this wiki locally