New ScreenPanel

This commit is contained in:
2018-01-19 10:56:53 +01:00
commit ae4d621609
580 changed files with 46598 additions and 0 deletions

29
script/test48.py Executable file
View File

@@ -0,0 +1,29 @@
###################################################################################################
#Data Manipulation: Boolean datasets
###################################################################################################
#Boolean datasets
path="group/data1"
data1d = [True, False, True]
save_dataset(path, data1d, '[z')
path="group/data2"
create_dataset(path, 'z')
append_dataset(path, True)
append_dataset(path, False)
append_dataset(path, True)
append_dataset(path, False)
append_dataset(path, True)
path="group/data3"
data2d = to_array ( [[True, False, True], [True, True, True], [False, False, True]], '[z')
save_dataset(path, data2d)
path="group/data4"
create_dataset(path, 'z', dimensions = [2, 3])
append_dataset(path, to_array([True, False, True], '[z'), type='[z')
append_dataset(path, to_array([True, True, True], '[z'), type='[z')