select

method of dascore.core.inventory.OpticalPath source

select(
    self ,
    distance: tuple[float | None[float, None], float | None[float, None]] ,
)-> ‘Self’

Return a new path clipped to a distance interval.

Absolute optical distances are preserved: the piece’s start_distance becomes the clip start, never zero.