-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path__init__.py
More file actions
48 lines (41 loc) · 1 KB
/
Copy path__init__.py
File metadata and controls
48 lines (41 loc) · 1 KB
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
defaults = {
'topoplot': {
'info': 'normal',
'show_axis': False,
'boxed': True,
'size': 'medium',
'pyplot': True,
'dpi': 100,
'cmap': 'Blues_r',
'save': False,
'tight': True,
'savepath': '',
'fontdict_title': None,
'absolute_pos': False,
},
'channels': '',
}
topoinfo_formatter = {
'normal': (
"{sxm.name} - {channel.name} - #{channel.number}\n"
"{topo.size_nm_str}/{topo.size_px_str}"
" - "
"{channel.current_str}@{channel.bias_str}\n"
"{sxm.record_datetime}"
),
"minimal": (
"{sxm.serie_number:03} - {channel.name}\n"
"{topo.size_nm_str} - "
"{channel.current_str}@{channel.bias_str}"
)
}
search_path = ['.', ]
# for easy import
# .sxm file
from .sxmfile import SxmFile
from .topo import Topo
from .topo import InterpolatedTopo
from .topo import TopoSet
# .dat file
from .datfile import BiasSpec
from .datfile import GenericDatFile