-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.py
77 lines (57 loc) · 2.22 KB
/
config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
__bstore_Version__ = '1.3.0-dev'
"""__HDF_AtomID_Prefix__ : str
String that precedes all attributes marking dataset
identifiers in an HDF datastore.
"""
__HDF_AtomID_Prefix__ = 'SMLM_'
"""___HDF_Metadata_Prefix : str
String that precedes all attributes marking metadata elements in
an HDF datastore.
"""
__HDF_Metadata_Prefix__ = __HDF_AtomID_Prefix__ + 'Metadata_'
"""__Custom_Dir__ : str
The name of the directory containing customization files.
"""
__Custom_Dir__ = ['~', '.bstore']
"""__Plugin_Dir__ : str
The name of the directory containing B-Store plugins.
"""
__Plugin_Dir__ = __Custom_Dir__ + ['bsplugins']
"""FormatDefault : dict
The default mapping for converting between column header names
when using the ConvertHeader processor.
"""
__Format_Default__ = {}
__Format_Default__['x [nm]'] = 'x'
__Format_Default__['y [nm]'] = 'y'
__Format_Default__['z [nm]'] = 'z'
__Format_Default__['frame'] = 'frame'
__Format_Default__['uncertainty [nm]'] = 'precision'
__Format_Default__['intensity [photon]'] = 'photons'
__Format_Default__['offset [photon]'] = 'background'
__Format_Default__['loglikelihood'] = 'loglikelihood'
__Format_Default__['sigma [nm]'] = 'sigma'
__Format_Default__['dx [nm]'] = 'dx'
__Format_Default__['dy [nm]'] = 'dy'
__Format_Default__['length [frames]'] = 'length'
"""__Path_To_Test_Data__ : str
Path relative to the bstore project root directory that
contains the data for running the automated tests.
"""
__Path_To_Test_Data__ = '../bstore_test_files/'
"""__MM_PixelSize__ : str
Name of the field in the Micro-Manager metadata containing the pixel size.
"""
__MM_PixelSize__ = 'PixelSize_um'
"""__Registered_DatasetTypes__ : list of str
The list of datasetTypes currently recognized by B-Store.
"""
__Registered_DatasetTypes__ = ['Localizations']
"""__Verbose__ : bool
Controls how much detail is provided when errors occur.
"""
__Verbose__ = False
"""__Persistence_Key__ : str
The location in the HDF file where the HDFDatastore object's state is kept.
"""
__Persistence_Key__ = '/bstore'