astro py:docs

- Index
- Modules

### Navigation

- next »
- « previous |
- Astropy v5.2.1 »
- Data Visualization (`astropy.visualization`) »
- ManualInterval

# ManualInterval

class astropy.visualization.ManualInterval(vmin=None, vmax=None)

  Bases: `BaseInterval`

  Interval based on user-specified values.

  Parameters:
    vmin `python:float`, optional

      The minimum value in the scaling. Defaults to the image minimum (ignoring NaNs)

    vmax `python:float`, optional

      The maximum value in the scaling. Defaults to the image maximum (ignoring NaNs)

  Methods Summary

  `get_limits`(values) | Return the minimum and maximum value in the interval based on the values provided.

  Methods Documentation

  get_limits(values)

    Return the minimum and maximum value in the interval based on the values provided.

    Parameters:
      values `ndarray`

        The image values.

    Returns:
      vmin, vmax `python:float`

        The mininium and maximum image value in the interval.