API Reference for Enthought Tool Suite 3.0.1
UI for a generic Segy file reader.
segy_reader_view = View(Tabbed(Group(Item('filename', label = 'File'), HGroup(Item('samples_per_trace', style = 'readonly', width = 50), Item('trace_count', style = 'readonly', width = 50), Item('sample_rate'), label = 'Header info', show_border = True), VGrid(HGroup(Item('inline_bytes', editor = RangeEditor(mode = 'spinner', low = 1, high = 240)), Item('crossline_bytes', editor = RangeEditor(mode = 'spinner', low = 1, high = 240))), HGroup(Item('x_location_bytes', editor = RangeEditor(mode = 'spinner', low = 1, high = 240)), Item('y_location_bytes', editor = RangeEditor(mode = 'spinner', low = 1, high = 240)), Item('xy_scale_bytes', label = 'XY Scale Bytes', editor = RangeEditor(mode = 'spinner', low = 1, high = 240))), label = 'Byte offsets', show_border = True), HGroup(Item('data_type'), Item('byte_order', style = 'readonly'), label = 'Data format', show_border = True), label = 'File Format'), Group(Item('active_traceheader', style = 'custom', show_label = False), label = 'Trace Header')), resizable = True, close_result = False, handler = SegyReaderUIHandler, buttons = OKCancelButtons)
| Local name | Refers to |
|---|---|
| Group | enthought.traits.ui.group.Group |
| Handler | enthought.traits.ui.handler.Handler |
| HGroup | enthought.traits.ui.group.HGroup |
| Item | enthought.traits.ui.item.Item |
| OKCancelButtons | enthought.traits.ui.menu.OKCancelButtons |
| RangeEditor | enthought.traits.ui.editors.RangeEditor |
| Tabbed | enthought.traits.ui.group.Tabbed |
| VGrid | enthought.traits.ui.group.VGrid |
| View | enthought.traits.ui.view.View |
© Copyright 2002-2008 Enthought, Inc.