eloy.viz
========

.. py:module:: eloy.viz

.. autoapi-nested-parse::

   Visualization utilities for astronomical images.

   This module provides functions for image scaling and for plotting
   marks and labels on matplotlib axes.



Functions
---------

.. autoapisummary::

   eloy.viz.z_scale
   eloy.viz.plot_marks


Module Contents
---------------

.. py:function:: z_scale(data, c=0.05)

   Compute z-scale interval for image display.

   :param data: 2D image data.
   :type data: np.ndarray
   :param c: Contrast parameter for ZScaleInterval.
   :type c: float, optional

   :returns: (vmin, vmax) for display scaling.
   :rtype: tuple


.. py:function:: plot_marks(x, y, label=None, position='bottom', offset=7, fontsize=12, color=[0.51, 0.86, 1.0], ms=12, n=None, inside=True, alpha=1, ax=None)

   Plot circular marks and optional labels on a matplotlib axis.

   :param x: X coordinates.
   :type x: array-like
   :param y: Y coordinates.
   :type y: array-like
   :param label: Labels for each mark.
   :type label: array-like or None, optional
   :param position: Position of the label ("top" or "bottom").
   :type position: str, optional
   :param offset: Offset for label position.
   :type offset: float, optional
   :param fontsize: Font size for labels.
   :type fontsize: int, optional
   :param color: Color for marks and labels.
   :type color: list or str, optional
   :param ms: Marker size.
   :type ms: float, optional
   :param n: Number of marks to plot.
   :type n: int or None, optional
   :param inside: Only plot marks inside axis limits.
   :type inside: bool, optional
   :param alpha: Alpha transparency.
   :type alpha: float, optional
   :param ax: Axis to plot on.
   :type ax: matplotlib.axes.Axes or None, optional

   :rtype: None


