The LAMP Application

Generated by IDLdoc

single page | use frames     summary     class     fields     routine details     file attributes

lamp_mac/SANS/

sans_sheet.pro


Routines

sans_sheet_sync, ev, sbaset, kkase, mess, receive=receive

sans_sheet_receive, topev=topev, trans=trans, ctr=ctr, msk=msk, waterbox=waterbox, beambox=beambox, wave_dist_cnt=wave_dist_cnt, error=error, mess=mess, topget=topget, gettrans=gettrans, give_IDs=give_IDs

sans_sheet_dying, ev

sans_sheet_lampies, SETpth=SETpth, GETpth=GETpth

SANSTOP, res

sans_sheet_event, ev

sans_sheetLog_event, ev

sans_sheet, instrument=instrument, reload=reload, water=water, reflectometry=reflectometry, horizontal=horizontal

Routine details

top sans_sheet_sync

sans_sheet_sync, ev, sbaset, kkase, mess, receive=receive

** *************** ** *************** ** synchronise sans_sheet with sans_settings main application ** ** -------- level 1 ** -------- ** load ->load file sbaset.SAVpth+sbaset.curfile (instru,datapth/PATH_FOR_ONLINE,toggles,nsample,vertical,valgrp,comments,tables) ** grouping ->give sbaset.valgrp to sans_settings ** toggles ->give changes to sans_settings !!! ** get_trans ->called by sans_settings after a transmission calculation ** put_trans ->give transmissions back to sans_settings before TREAT (case should be modified by the user) ** give_IDs ->called by sans_settings for reform_series, return in mess Sample IDs ** get_ctr ->called by sans_settings after a center calculation.Put center in sample comment ** get_msk ->called by sans_settings after a file mask is saved or restored, Put mask in sample comment ** get_mskW ->called by sans_settings after a file mask is saved or restored. Put mask in water comment ** get_wdm ->called by sans_settings after a read run. Put title+Count in correct cell ** get_error ->called by sans_settings after a read run error ** get_a_trs ->called by sans_settings to return is mess TRANS values according to OPR string in present ** -------- ** -------- level 2 ** -------- ** update ->noop just give tables ** resize_* ->NBsamples has changed !!! ** clear_* ->tables has been cleared !!! ** fill_* ->sample table has been filled down !!! ** save_low ->save current setting as low (in memory) ** save_middle ->save current setting as middle (mem) ** save_high ->save current setting as high (mem) ** -------- ** -------- level 3 ** -------- ** save ->save file sbaset.SAVpth+sbaset.curfile + text spreadsheet ** savetxt ->save text spreadsheet ** run_WATER ->give tables(+low|middle|high) and show a run from WATER table ** run_BEAM ->give tables(+low|middle|high) and show a run from BEAM table ** run_SAMPLE ->give tables(+low|middle|high) and show a run from SAMPLE table ** input_WATER ->a cell has been entered in WATER table ** input_BEAM ->a cell has been entered in BEAM table ** input_SAMPLE ->a cell has been entered in SAMPLE table ** mask_water ->give tables and call sans_settings mask for water ** mask_detector ->give tables and call sans_settings mask for detector ** mask_detector_low ** mask_detector_middle ** mask_detector_high ** auto_mask_water -> call from TREAT ** -------- ** -------- level 4 ** -------- ** options ->give tables and call sans_settings for detector corrections ** cor_low ->give tables(+low) and call sans_settings show corrected data ** cor_middle ->give tables(+middle) and call sans_settings show corrected data ** cor_high ->give tables(+high) and call sans_settings show corrected data ** mask_low ->give tables(+low) and call sans_settings mask ** mask_middle ->give tables(+middle) and call sans_settings mask ** mask_high ->give tables(+high) and call sans_settings mask ** load_mask ->give tables and call sans_settings load mask ** save_mask ->give tables and call sans_settings save mask ** mask_sector ->give tables and call sans_settings sector(mask) ** transmission ->give tables and call sans_settings transmission ** transm_file ->give tables and call sans_settings search for transmissions ** trans_cal ->give tables and call sans_settings calculate transmissions ** ctr_cal_low ->give tables(+low) and call sans_settings calculate center ** ctr_cal_middle ->give tables(+middle) and call sans_settings calculate center ** ctr_cal-high ->give tables(+high) and call sans_settings calculate center ** msk_cal_low ->give tables(+low) and call sans_settings calculate mask ** msk_cal_middle ->give tables(+middle) and call sans_settings calculate mask ** msk_cal-high ->give tables(+high) and call sans_settings calculate mask ** center_low ->give tables(+low) and call sans_settings center ** center_middle ->give tables(+middle) and call sans_settings center ** center-high ->give tables(+high) and call sans_settings center ** treat_det -> call sans_settings, treat and show detector efficiencies ** treat_low ->give tables(+low) and call sans_settings, treat and return values in tables ** treat_middle ->give tables(+middle) and call sans_settings, treat and return values in tables ** treat_high ->give tables(+high) and call sans_settings, treat and return values in tables ** show_list -> call sans_settings, show one treated list again ** export_gnum -> call sans_settings, export results ** export_tnum -> call sans_settings, export results ** export_3col -> call sans_settings, export results ** export_coln -> call sans_settings, export results

Parameters

ev
sbaset
kkase
mess

Keywords

receive

top sans_sheet_receive

sans_sheet_receive, topev=topev, trans=trans, ctr=ctr, msk=msk, waterbox=waterbox, beambox=beambox, wave_dist_cnt=wave_dist_cnt, error=error, mess=mess, topget=topget, gettrans=gettrans, give_IDs=give_IDs

** ****************** ** ****************** ** receive usefull informations from sans_settings

Keywords

topev
trans
ctr
msk
waterbox
beambox
wave_dist_cnt
error
mess
topget
gettrans
give_IDs

top sans_sheet_dying

sans_sheet_dying, ev

** **************** ** **************** ** destroying the GUI, restarting the GUI

Parameters

ev

top sans_sheet_lampies

sans_sheet_lampies, SETpth=SETpth, GETpth=GETpth

** ****************** ** ****************** ** ** get or set the path_for_online lamp global access for data_base

Keywords

SETpth
GETpth

top SANSTOP

SANSTOP, res

** ******* *** stopping a reading process

Parameters

res

top sans_sheet_event

sans_sheet_event, ev

** **************** ** **************** ** main event handler

Parameters

ev

top sans_sheetLog_event

sans_sheetLog_event, ev

** ******************* ** ******************* **

Parameters

ev

top sans_sheet

sans_sheet, instrument=instrument, reload=reload, water=water, reflectometry=reflectometry, horizontal=horizontal

** ********** ** ********** ** Gui creator

Keywords

instrument
reload
water
reflectometry
horizontal

File attributes

Modification date: Tue Oct 1 14:40:28 2013
Lines: 2,391