#:kivy 1.0.9 TextInput: on_parent:self.focus = True : image_widget: image_widget menu_widget: menu_widget data_path: 'hst_05195_01_wfpc2_f702w_pc_sci.fits' result_path: '' alpha: 1.5 spacing: 10 orientation: 'horizontal' MenuWidget: id: menu_widget size_hint: 0.5,1 ImageWidget: id: image_widget size_hint: 1,1 : orientation: 'horizontal' Label: text: unichr(945) FloatInput text: '1.5' on_text: app.set_alpha(self.text) : orientation: 'horizontal' Label: text: 'iterations' IntInput text: '3' on_text: app.set_iterations(self.text) : multiline: False : multiline: False : text: self.text source: self.source img: img orientation: 'vertical' spacing: 10 Label: text: self.parent.text size_hint: 1,0.1 Image: id: img source: self.parent.source : data: data points: points diffuse: diffuse power:power orientation: 'vertical' spacing: 10 BoxLayout spacing: 10 orientation: 'horizontal' MyImage: id: data text: 'data' source: app.data_image MyImage: id: diffuse source: app.diffuse_image text: 'diffuse' BoxLayout: spacing: 10 orientation: 'horizontal' MyImage: id:points source: app.points_image text: 'points' MyImage: id: power source: app.power_image text: 'power' all: all points: points diffuse: diffuse data: data power: power AllImageScreen: id:all name: 'all' on_pre_enter: self.reload() SingleImageScreen: id:data name: 'data' text: 'data' source: app.data_image on_pre_enter: self.reload() SingleImageScreen: id: diffuse name: 'diffuse' text: 'diffuse' source: app.diffuse_image on_pre_enter: self.reload() SingleImageScreen: id: points name: 'points' text: 'points' source: app.points_image on_pre_enter: self.reload() SingleImageScreen: id:power name: 'power' text: 'power' source: app.power_image on_pre_enter: self.reload() img: img name: '' source: self.source text: '' MyImage id: img text: self.parent.text source: self.parent.source name: '' all : all AllImageWidget id:all : orientation: 'vertical' MyAlphaWidget: size_hint: 1,0.1 IterationWidget: size_hint: 1,0.1 ActionWidget : orientation: 'horizontal' Button: text: 'load data' on_press: app.root.current = 'file' Button: text: 'run separation' on_press: app.run_separation() Button: text: 'save results' on_press: app.save_results() : orientation: 'horizontal' Button: text: 'all' on_press: app.image_widget.current = 'all' Button: text: 'data' on_press: app.image_widget.current = 'data' Button: text: 'diffuse' on_press: app.image_widget.current = 'diffuse' Button: text: 'points' on_press: app.image_widget.current = 'points' Button: text: 'power' on_press: app.image_widget.current = 'power' : orientation: 'vertical' image_widget : image_widget DisplayChoiceWidget: size_hint: 1, 0.1 DisplayWidget: id: image_widget : id: _filebrowser dirselect: True : : file: file main: main path: path MainScreen: id: main name: 'main' FileScreen: id:file name: 'file' PathScreen: id: path name: 'path' : MyFileBrowser: on_success: app.load_data(self.selection) on_canceled: app.root.current = 'main' : image_widget: image_widget MyWidget: id:image_widget : MyPathBrowser filters: [root.is_dir] on_success: app.select_path(self.selection) on_canceled: app.root.current = 'main'