openlifu.bf.focal_patterns.single.SinglePoint

class openlifu.bf.focal_patterns.single.SinglePoint(target_pressure: Annotated[float, OpenLIFUFieldData('Target pressure', 'Target pressure of the focal pattern in given units')] = 1.0, units: Annotated[str, OpenLIFUFieldData('Pressure units', 'Pressure units')] = 'Pa')[source]

Bases: FocalPattern

Class for representing a single focus

Variables:

target_pressure – Target pressure of the focal pattern in Pa

get_targets(target: Point)[source]

Get the targets of the focal pattern

Parameters:

target – Target point of the focal pattern

Returns:

List of target points

num_foci()[source]

Get the number of foci in the focal pattern

Returns:

Number of foci (1)

to_table() DataFrame[source]

Get a table of the focal pattern parameters

Returns:

Pandas DataFrame of the focal pattern parameters