polishing of geom_rescale; adopted modified testing reference
This commit is contained in:
parent
8e023a1f57
commit
8d52a3d52a
2
PRIVATE
2
PRIVATE
|
@ -1 +1 @@
|
||||||
Subproject commit 87a70882eabd333b390ea2bd96d9ebcf65c62c32
|
Subproject commit 6dc31fe5ce138aa76edec7b8d61a0d2b41863f53
|
|
@ -58,10 +58,13 @@ for name in filenames:
|
||||||
damask.util.croak(geom.update(microstructure =
|
damask.util.croak(geom.update(microstructure =
|
||||||
ndimage.interpolation.zoom(
|
ndimage.interpolation.zoom(
|
||||||
geom.microstructure,
|
geom.microstructure,
|
||||||
new_grid/grid,output=geom.microstructure.dtype,
|
new_grid/grid,
|
||||||
order=0,mode='nearest', prefilter=False\
|
output=geom.microstructure.dtype,
|
||||||
) \
|
order=0,
|
||||||
if np.any(new_grid != grid) else None,
|
mode='nearest',
|
||||||
|
prefilter=False,
|
||||||
|
) if np.any(new_grid != grid) \
|
||||||
|
else None,
|
||||||
size = new_size))
|
size = new_size))
|
||||||
geom.add_comments(scriptID + ' ' + ' '.join(sys.argv[1:]))
|
geom.add_comments(scriptID + ' ' + ' '.join(sys.argv[1:]))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue