f4enix.input.ww_gvr.utils.build_1d_vectors#

f4enix.input.ww_gvr.utils.build_1d_vectors(coarse_vectors: Vectors, fine_vectors: Vectors) Vectors#

Flatten coarse and fine vectors into 1D Vectors.

Takes two Vectors objects, one with the coarse vectors and the other with the fine vectors which represent the amount of ints between each step of the coarse vectors, and returns some flattened vectors with format: [mesh_position, mesh_position, mesh_position, …]

Parameters:
  • coarse_vectors (Vectors) – Vectors object with coarse vectors.

  • fine_vectors (Vectors) – Vectors object with fine vectors.

Returns:

Vectors object with 1D vectors.

Return type:

Vectors