Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
whuie2
experiment-control
Commits
824a919e
Commit
824a919e
authored
Mar 22, 2022
by
whooie
Browse files
tiny organizational edit
parent
f178cb3c
Changes
2
Hide whitespace changes
Inline
Side-by-side
lib/imaging.py
View file @
824a919e
...
...
@@ -14,14 +14,13 @@ import re
from
collections
import
defaultdict
from
.plotdefs
import
Plotter
,
S
,
colormaps
from
.dataio
import
fresh_filename
from
.system
import
FLIR_DX
as
DEF_DX
from
enum
import
IntEnum
H
=
6.626070040e-34
C
=
2.99792458e+8
KB
=
1.38064852e-23
DEF_DX
=
3.45
*
6
# pixel size for Flir Grasshopper [um]
class
ImageLabel
:
def
__init__
(
self
,
label
:
str
,
savedir
:
Path
|
str
=
None
):
self
.
label
=
label
...
...
@@ -535,6 +534,7 @@ class DailyMeasurementData(ImagingData):
)
N
.
append
(
float
(
data
[
"N"
]))
elif
"_pre_"
in
str
(
label
):
continue
else
:
print
(
f
"[imaging] skip TOF temperature processing for"
f
" improperly formatted label '
{
label
}
'"
)
...
...
lib/system.py
View file @
824a919e
...
...
@@ -106,6 +106,7 @@ MAIN = Computer(
FLIR_SERIAL
=
"20328707"
FLIR
=
Grasshopper
(
FLIR_SERIAL
)
FLIR_DX
=
3.45
*
6
# pixel size for Flir Grasshopper [um]
MOGRF_COM
=
3
MOGRF
=
MOGDriver
(
"COM"
,
MOGRF_COM
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment