Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
py-EM
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Martin Schorb
py-EM
Commits
a852f4df
Commit
a852f4df
authored
Jun 22, 2020
by
Martin Schorb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mergemap: blend initial parameter pass thru
parent
54e4bc34
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
pyEM.py
pyEM.py
+3
-2
No files found.
pyEM.py
View file @
a852f4df
...
...
@@ -498,7 +498,7 @@ def mergemap(mapitem,crop=False,black=False,blendmont=True):
# black option will fill the empty spaces between tiles with 0
# blendmont will use blendmont to merge the montage. If disabled individual tile information is stored in the merge dict nevertheless.
blend_in
=
blendmont
m
=
dict
()
m
[
'Sloppy'
]
=
False
...
...
@@ -774,7 +774,8 @@ def mergemap(mapitem,crop=False,black=False,blendmont=True):
mergeheader
[
'xsize'
]
=
int
(
mapitem
[
'MapWidthHeight'
][
0
])
mergeheader
[
'ysize'
]
=
int
(
mapitem
[
'MapWidthHeight'
][
1
])
if
not
blend_in
:
im
=
mf
.
data
im
=
numpy
.
rot90
(
numpy
.
transpose
(
im
),
axes
=
(
0
,
1
))
mf
.
close
()
# end MRC section
...
...
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