Module gwyutils
[hide private]
[frames] | no frames]

Module gwyutils

source code

Functions [hide private]
 
save_dfield_to_png(container, datafield_name, filename, run_type)
Save desired datafield given by name stored in container to file.
source code
 
get_data_fields(container)
Get list of available datafield stored in given container
source code
 
get_data_fields_dir(container)
Get list of available datafield stored in given container as directory where key is key name and value is DataField object.
source code
 
get_current_datafield()
Short version of function gwy.gwy_app_data_browser_get_current(gwy.APP_DATA_FIELD)
source code
 
get_current_container()
Short version of function gwy.gwy_app_data_browser_get_current(gwy.APP_CONTAINER)
source code
 
data_field_data_as_array(field) source code
Variables [hide private]
  __package__ = None
Function Details [hide private]

save_dfield_to_png(container, datafield_name, filename, run_type)

source code 

Save desired datafield given by name stored in container to file.

Parameters:
  • container - gwy.Container which has datafield of given name
  • datafield_name - datafield name in string representation (like '/0/data')
  • filename - expected filename

get_data_fields(container)

source code 

Get list of available datafield stored in given container

Parameters:
  • container - gwy.Container with datafields
Returns:
a list of datafields

get_data_fields_dir(container)

source code 

Get list of available datafield stored in given container as directory where key is key name and value is DataField object.

Parameters:
  • container - gwy.Container with datafields
Returns:
a directory of datafields

get_current_datafield()

source code 

Short version of function gwy.gwy_app_data_browser_get_current(gwy.APP_DATA_FIELD)

Returns:
current datafield

get_current_container()

source code 

Short version of function gwy.gwy_app_data_browser_get_current(gwy.APP_CONTAINER)

Returns:
current container