Loading [MathJax]/extensions/tex2jax.js
LSST Applications g0fba68d861+5b9ba6aee1,g1ec0fe41b4+e220e2fb2f,g1fd858c14a+120b017347,g35bb328faa+fcb1d3bbc8,g4d2262a081+57a06a8609,g53246c7159+fcb1d3bbc8,g56a49b3a55+8d793c2a3d,g60b5630c4e+4e8d433789,g60dcce3b99+6eff471efc,g67b6fd64d1+fad15079a7,g78460c75b0+2f9a1b4bcd,g786e29fd12+cf7ec2a62a,g8180f54f50+65cb53bb37,g8352419a5c+fcb1d3bbc8,g8852436030+ae791ba189,g89139ef638+fad15079a7,g9125e01d80+fcb1d3bbc8,g94187f82dc+4e8d433789,g989de1cb63+fad15079a7,g9ccd5d7f00+cce09d2c12,g9d31334357+4e8d433789,g9f33ca652e+323fd354f8,gabe3b4be73+1e0a283bba,gabf8522325+94c30d56e9,gb1101e3267+5e0f808207,gb58c049af0+f03b321e39,gb89ab40317+fad15079a7,gc0af124501+a88dc73679,gcf25f946ba+ae791ba189,gd6cbbdb0b4+8d7f1baacb,gdb1c4ca869+16879ca1a6,gde0f65d7ad+11b49afd66,ge1ad929117+4e8d433789,ge278dab8ac+4d6e48c014,ge410e46f29+fad15079a7,gf5e32f922b+fcb1d3bbc8,gf618743f1b+8ff1364817,gf67bdafdda+fad15079a7,w.2025.17
LSST Data Management Base Package
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
lsst.afw.display.interface.Event Class Reference
Inheritance diagram for lsst.afw.display.interface.Event:
lsst.display.astrowidgets.astrowidgets.AstroWidgetsEvent lsst.display.ds9.ds9.Ds9Event

Public Member Functions

 __init__ (self, k, x=float('nan'), y=float('nan'))
 
 __str__ (self)
 

Public Attributes

 k = k
 
 x = x
 
 y = y
 

Detailed Description

A class to handle events such as key presses in image display windows.

Definition at line 899 of file interface.py.

Constructor & Destructor Documentation

◆ __init__()

lsst.afw.display.interface.Event.__init__ ( self,
k,
x = float('nan'),
y = float('nan') )

Definition at line 903 of file interface.py.

903 def __init__(self, k, x=float('nan'), y=float('nan')):
904 self.k = k
905 self.x = x
906 self.y = y
907

Member Function Documentation

◆ __str__()

lsst.afw.display.interface.Event.__str__ ( self)

Definition at line 908 of file interface.py.

908 def __str__(self):
909 return f"{self.k} ({self.x:.2f}, {self.y:.2f}"
910
911
912# Default fallback function
913
914

Member Data Documentation

◆ k

lsst.afw.display.interface.Event.k = k

Definition at line 904 of file interface.py.

◆ x

lsst.afw.display.interface.Event.x = x

Definition at line 905 of file interface.py.

◆ y

lsst.afw.display.interface.Event.y = y

Definition at line 906 of file interface.py.


The documentation for this class was generated from the following file: