MCPcopy
hub / github.com/tum-pbs/PhiFlow / stack

Method stack

phi/field/_scene.py:107–108  ·  view source on GitHub ↗
(*scenes: 'Scene', dim: Shape = batch('batch'))

Source from the content-addressed store, hash-verified

105
106 @staticmethod
107 def stack(*scenes: 'Scene', dim: Shape = batch('batch')) -> 'Scene':
108 return Scene(math.stack([s._paths for s in scenes], dim))
109
110 @staticmethod
111 def create(parent_directory: str,

Callers 15

differentialFunction · 0.80
get_user_namespaceFunction · 0.80
smooth_uniform_curveFunction · 0.80
controlFunction · 0.80
_spaceFunction · 0.80
__getattr__Method · 0.80
load_scalarsFunction · 0.80
single_plotFunction · 0.80
plotMethod · 0.80
add_color_barFunction · 0.80
plotMethod · 0.80
plotMethod · 0.80

Calls 1

SceneClass · 0.85

Tested by 11

fftfreqFunction · 0.64
test_plot_multi_1dMethod · 0.64
test_stack_typeMethod · 0.64
test_stack_volumeMethod · 0.64
test_stack_typeMethod · 0.64
test_laplace_batchedMethod · 0.64
test_stackMethod · 0.64
test_stack_boundariesMethod · 0.64