def get_params_metadata(cls): return [ Param(name='coord', type=str, default='data', valid=coord_names, description="Set type of coordinates"), Param(name='x', type=float, default=0.0, argpos=0, description="X coordinate of center of object"), Param(name='y', type=float, default=0.0, argpos=1, description="Y coordinate of center of object"), Param(name='radius', type=float, default=1.0, argpos=2, min=0.0, description="Inner radius of annulus"), Param(name='width', type=float, default=None, min=0.0, description="Width of annulus"), Param(name='atype', type=str, default='circle', valid=['circle', 'squarebox'], description="Type of annulus"), Param(name='linewidth', type=int, default=1, min=1, max=20, widget='spinbutton', incr=1, description="Width of outline"), Param(name='linestyle', type=str, default='solid', valid=['solid', 'dash'], description="Style of outline (default solid)"), Param(name='color', valid=colors_plus_none, type=_color, default='yellow', description="Color of outline"), Param(name='alpha', type=float, default=1.0, min=0.0, max=1.0, widget='spinfloat', incr=0.05, description="Opacity of outline"), ]
def get_params_metadata(cls): return [ Param(name='color', valid=colors_plus_none, type=_color, default='white', description="Color of text"), Param(name='alpha', type=float, default=1.0, min=0.0, max=1.0, widget='spinfloat', incr=0.05, description="Opacity of outline"), Param(name='linewidth', type=int, default=2, min=0, max=20, widget='spinbutton', incr=1, description="Width of outline"), Param(name='linestyle', type=str, default='dash', valid=['solid', 'dash'], description="Style of outline (default: dash)"), ]
def get_params_metadata(cls): return [ Param( name='corner', type=str, default='lr', valid=['ll', 'lr', 'ul', 'ur'], description="Choose corner of window to anchor mode indicator" ), Param(name='offset', type=int, default=10, min=0, max=200, widget='spinbutton', incr=1, description= "Offset in pixels from the right and bottom of the window"), Param(name='font', type=str, default='Sans Serif', description="Font family for text"), Param(name='fontsize', type=int, default=None, min=8, max=72, description="Font size of text (default: vary by scale)"), Param(name='color', valid=colors_plus_none, type=_color, default='yellow', description="Color of text"), Param(name='alpha', type=float, default=1.0, min=0.0, max=1.0, widget='spinfloat', incr=0.05, description="Opacity of outline"), Param(name='fillalpha', type=float, default=1.0, min=0.0, max=1.0, widget='spinfloat', incr=0.05, description="Opacity of fill"), ]
def get_params_metadata(cls): return [ Param(name='linewidth', type=int, default=1, min=1, max=20, widget='spinbutton', incr=1, description="Width of outline"), Param(name='linestyle', type=str, default='dash', valid=['solid', 'dash'], description="Style of outline (default dash)"), Param(name='color', valid=colors_plus_none, type=_color, default='yellow', description="Color of grid and text"), Param(name='alpha', type=float, default=1.0, min=0.0, max=1.0, widget='spinfloat', incr=0.05, description="Opacity of grid and text"), Param(name='font', type=str, default='Sans Serif', description="Font family for text"), Param(name='fontsize', type=int, default=8, min=8, max=72, description="Font size of text (default: 8)"), ]
def get_params_metadata(cls): return [ Param(name='coord', type=str, default='data', valid=coord_names, description="Set type of coordinates"), Param(name='x', type=float, default=0.0, argpos=0, description="X coordinate of corner of object"), Param(name='y', type=float, default=0.0, argpos=1, description="Y coordinate of corner of object"), ## Param(name='image', type=?, argpos=2, ## description="Image to be displayed on canvas"), Param(name='scale_x', type=float, default=1.0, description="Scaling factor for X dimension of object"), Param(name='scale_y', type=float, default=1.0, description="Scaling factor for Y dimension of object"), Param(name='interpolation', type=str, default='basic', description="Interpolation method for scaling pixels"), Param(name='linewidth', type=int, default=0, min=0, max=20, widget='spinbutton', incr=1, description="Width of outline"), Param(name='linestyle', type=str, default='solid', valid=['solid', 'dash'], description="Style of outline (default: solid)"), Param(name='color', valid=colors_plus_none, type=_color, default='lightgreen', description="Color of outline"), Param(name='alpha', type=float, default=1.0, min=0.0, max=1.0, widget='spinfloat', incr=0.05, description="Opacity of outline"), Param(name='showcap', type=_bool, default=False, valid=[False, True], description="Show caps for this object"), ## Param(name='flipy', type=_bool, ## default=False, valid=[False, True], ## description="Flip image in Y direction"), Param(name='optimize', type=_bool, default=True, valid=[False, True], description="Optimize rendering for this object"), ## Param(name='rgbmap', type=?, ## description="RGB mapper for the image"), ## Param(name='autocuts', type=?, ## description="Cuts manager for the image"), ]
def get_params_metadata(cls): return [ Param(name='coord', type=str, default='data', valid=coord_names, description="Set type of coordinates"), Param(name='x1', type=float, default=0.0, argpos=0, description="First X coordinate of object"), Param(name='y1', type=float, default=0.0, argpos=1, description="First Y coordinate of object"), Param(name='x2', type=float, default=0.0, argpos=2, description="Second X coordinate of object"), Param(name='y2', type=float, default=0.0, argpos=3, description="Second Y coordinate of object"), Param(name='cm_name', type=str, default='gray', description="Color map name to draw"), Param(name='showrange', type=_bool, default=True, valid=[False, True], description="Show the range in the colorbar"), Param(name='font', type=str, default='Sans Serif', description="Font family for text"), Param(name='fontsize', type=int, default=8, min=8, max=72, description="Font size of text (default: 8)"), Param(name='linewidth', type=int, default=1, min=0, max=20, widget='spinbutton', incr=1, description="Width of outline"), Param(name='linestyle', type=str, default='solid', valid=['solid', 'dash'], description="Style of outline (default: solid)"), Param(name='color', valid=colors_plus_none, type=_color, default='black', description="Color of outline"), Param(name='bgcolor', valid=colors_plus_none, type=_color, default='white', description="Color of text background"), Param(name='alpha', type=float, default=1.0, min=0.0, max=1.0, widget='spinfloat', incr=0.05, description="Opacity of outline"), Param(name='fillalpha', type=float, default=1.0, min=0.0, max=1.0, widget='spinfloat', incr=0.05, description="Opacity of fill"), ]
def get_params_metadata(cls): return [ Param(name='height', type=int, default=36, min=0, max=200, widget='spinbutton', incr=1, description="Height of colorbar in pixels"), Param(name='offset', type=int, default=40, min=0, max=200, widget='spinbutton', incr=1, description="Offset in pixels from the top or bottom of the window"), Param(name='side', type=str, default='bottom', valid=['top', 'bottom'], description="Choose side of window to anchor color bar"), Param(name='showrange', type=_bool, default=True, valid=[False, True], description="Show the range in the colorbar"), Param(name='font', type=str, default='Sans Serif', description="Font family for text"), Param(name='fontsize', type=int, default=8, min=8, max=72, description="Font size of text (default: 8)"), Param(name='linewidth', type=int, default=1, min=0, max=20, widget='spinbutton', incr=1, description="Width of outline"), Param(name='linestyle', type=str, default='solid', valid=['solid', 'dash'], description="Style of outline (default: solid)"), Param(name='color', valid=colors_plus_none, type=_color, default='black', description="Color of text"), Param(name='bgcolor', valid=colors_plus_none, type=_color, default='white', description="Color of text background"), Param(name='alpha', type=float, default=1.0, min=0.0, max=1.0, widget='spinfloat', incr=0.05, description="Opacity of outline"), Param(name='fillalpha', type=float, default=1.0, min=0.0, max=1.0, widget='spinfloat', incr=0.05, description="Opacity of fill"), ]
def get_params_metadata(cls): return [ Param(name='coord', type=str, default='data', valid=coord_names, description="Set type of coordinates"), Param(name='x', type=float, default=0.0, argpos=0, description="X coordinate of center of object"), Param(name='y', type=float, default=0.0, argpos=1, description="Y coordinate of center of object"), Param(name='linewidth', type=int, default=1, min=1, max=20, widget='spinbutton', incr=1, description="Width of outline"), Param(name='linestyle', type=str, default='solid', valid=['solid', 'dash'], description="Style of outline (default solid)"), Param(name='color', valid=colors_plus_none, type=_color, default='green', description="Color of outline"), Param(name='alpha', type=float, default=1.0, min=0.0, max=1.0, widget='spinfloat', incr=0.05, description="Opacity of outline"), Param(name='text', type=str, default=None, description="Text annotation"), Param(name='textcolor', valid=colors_plus_none, type=_color, default='yellow', description="Color of text annotation"), Param(name='font', type=str, default='Sans Serif', description="Font family for text"), Param(name='fontsize', type=int, default=None, min=8, max=72, description="Font size of text (default: vary by scale)"), Param(name='format', type=str, default='xy', valid=['xy', 'value', 'coords'], description="Format for text annotation (default: xy)"), ]
def get_params_metadata(cls): return [ Param(name='coord', type=str, default='data', valid=coord_names, description="Set type of coordinates"), Param(name='x1', type=float, default=0.0, argpos=0, description="First X coordinate of object"), Param(name='y1', type=float, default=0.0, argpos=1, description="First Y coordinate of object"), Param(name='x2', type=float, default=0.0, argpos=2, description="Second X coordinate of object"), Param(name='y2', type=float, default=0.0, argpos=3, description="Second Y coordinate of object"), Param(name='linewidth', type=int, default=1, min=1, max=20, widget='spinbutton', incr=1, description="Width of outline"), Param(name='linestyle', type=str, default='solid', valid=['solid', 'dash'], description="Style of outline (default: solid)"), Param(name='color', valid=colors_plus_none, type=_color, default='lightgreen', description="Color of outline"), Param(name='showplumb', type=_bool, default=True, valid=[False, True], description="Show plumb lines for the ruler"), Param(name='color2', valid=colors_plus_none, type=_color, default='yellow', description="Second color of outline"), Param(name='alpha', type=float, default=1.0, min=0.0, max=1.0, widget='spinfloat', incr=0.05, description="Opacity of outline"), Param(name='units', type=str, default='arcmin', valid=['arcmin', 'degrees', 'pixels'], description="Units for text distance (default: arcmin)"), Param(name='font', type=str, default='Sans Serif', description="Font family for text"), Param(name='fontsize', type=int, default=None, min=8, max=72, description="Font size of text (default: vary by scale)"), Param(name='showcap', type=_bool, default=False, valid=[False, True], description="Show caps for this object"), ]
def get_params_metadata(cls): return [ Param(name='coord', type=str, default='data', valid=coord_names, description="Set type of coordinates"), Param(name='x', type=float, default=0.0, argpos=0, description="X coordinate of center of object"), Param(name='y', type=float, default=0.0, argpos=1, description="Y coordinate of center of object"), Param(name='radius', type=float, default=1.0, argpos=2, min=0.0, description="Radius of object"), Param(name='ctype', type=str, default='wcs', valid=['pixel', 'wcs'], description="Type of compass (wcs (N/E), or pixel (X/Y))"), Param(name='linewidth', type=int, default=1, min=1, max=20, widget='spinbutton', incr=1, description="Width of outline"), Param(name='linestyle', type=str, default='solid', valid=['solid', 'dash'], description="Style of outline (default solid)"), Param(name='color', valid=colors_plus_none, type=_color, default='skyblue', description="Color of outline"), Param(name='alpha', type=float, default=1.0, min=0.0, max=1.0, widget='spinfloat', incr=0.05, description="Opacity of outline"), Param(name='font', type=str, default='Sans Serif', description="Font family for text"), Param(name='fontsize', type=int, default=None, min=8, max=72, description="Font size of text (default: vary by scale)"), Param(name='showcap', type=_bool, default=False, valid=[False, True], description="Show caps for this object"), ]