get_input#
- madcubapy.visualization.get_input(obj, **kwargs)[source]#
Get the pixel coordinates of points selected by mouse clicks in a previously plotted figure or a map object.
- Parameters:
- obj
Figure,CCDData, orMadcubaMapobject. Figure or Map object to show and from which to get coordinates.
- obj
- Returns:
- selected_points
numpy.array Coordinates of the clicked points.
- selected_points
- Other Parameters:
- **kwargs
Optional map visualization parameters passed to
add_wcs_axes()only ifobjis aCCDDataorMadcubaMapobject.