maximum_coordinate_range

maximum_coordinate_range(result: ResultLike, coord_name: str = 'spectral') tuple[float, float][source]

Calculate the minimal and maximal values of a coordinate across datasets.

Parameters:
  • result (ResultLike) – Data structure which can be converted to a mapping.

  • coord_name (str) – Name of the coordinate to calculate the maximal range for.

Returns:

Minimal and maximal values across datasets

Return type:

tuple[float, float]

See also

plot_fit_overview