map_to_distance
map_to_distance(
self ,
values ,
axis: str | None[str, None] = None,
slope: float | None[float, None] = None,
)-> ‘np.ndarray’
Map channel-like values onto optical path distance.
Parameters
| Parameter | Description |
|---|---|
| values | Channel numbers or instrument distances. |
| axis |
The input axis values are on; the map’s first axis bydefault. |
| slope |
Distance per input unit, used only for single-point maps. The caller supplies it in the units of that axis; see Acquisition.channel_to_distance.
|