Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ttk
spam
Commits
78961689
Commit
78961689
authored
Apr 20, 2021
by
Edward Andò
Browse files
twoD case in ldic for saving tiffs
parent
71eea386
Pipeline
#65119
passed with stages
in 13 minutes and 38 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
scripts/spam-ldic
View file @
78961689
...
...
@@ -347,7 +347,7 @@ for im2number in range(1, len(args.inFiles)):
#header=TSVheader)
if
args
.
TIFF
:
if
no
desDim
[
0
]
!=
1
:
if
no
t
twoD
:
tifffile
.
imsave
(
args
.
OUT_DIR
+
"/"
+
args
.
PREFIX
+
"-ldic-Zdisp.tif"
,
PhiField
[:,
0
,
-
1
].
astype
(
'<f4'
).
reshape
(
nodesDim
))
#if args.REGSUB:
#tifffile.imsave(args.OUT_DIR+"/"+args.PREFIX+"-Zdisp-regsub.tif", PhiFieldMinusRigid[:, 0, -1].astype('<f4').reshape(nodesDim))
...
...
Write
Preview
Markdown
is supported
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