Skip to content
Snippets Groups Projects
Commit 611f3782 authored by Tin Kei Cheng's avatar Tin Kei Cheng :speech_balloon:
Browse files

Expose X1 map in suv_to_xyz as `mapR` in `GVEC_functions`.

parent 767b254f
Branches
No related tags found
No related merge requests found
Pipeline #131666 passed
[metadata] [metadata]
name = gvec_to_python name = gvec_to_python
version = 0.1.1 version = 0.1.2
author = Tin Kei Cheng author = Tin Kei Cheng
author_email = tinkei.cheng@tum.de author_email = tinkei.cheng@tum.de
description = Converts GVEC output to STRUPHY input description = Converts GVEC output to STRUPHY input
......
...@@ -167,11 +167,13 @@ class GVEC: ...@@ -167,11 +167,13 @@ class GVEC:
mapX = MapFull(X1_base, X1_coef, X2_base, X2_coef, LA_base, LA_coef, 'x') mapX = MapFull(X1_base, X1_coef, X2_base, X2_coef, LA_base, LA_coef, 'x')
mapY = MapFull(X1_base, X1_coef, X2_base, X2_coef, LA_base, LA_coef, 'y') mapY = MapFull(X1_base, X1_coef, X2_base, X2_coef, LA_base, LA_coef, 'y')
mapZ = MapFull(X1_base, X1_coef, X2_base, X2_coef, LA_base, LA_coef, 'z') mapZ = MapFull(X1_base, X1_coef, X2_base, X2_coef, LA_base, LA_coef, 'z')
mapR = MapFull(X1_base, X1_coef, X2_base, X2_coef, LA_base, LA_coef, 'r')
self.mapfull = mapfull self.mapfull = mapfull
self.mapX = mapX self.mapX = mapX
self.mapY = mapY self.mapY = mapY
self.mapZ = mapZ self.mapZ = mapZ
self.mapR = mapR
......
...@@ -24,7 +24,7 @@ class suv_to_xyz(BaseMap): ...@@ -24,7 +24,7 @@ class suv_to_xyz(BaseMap):
elif component.lower() == 'z': elif component.lower() == 'z':
self.mapto = self.mapto_z self.mapto = self.mapto_z
elif component.lower() == 'x1' or component.lower() == 'r': elif component.lower() == 'x1' or component.lower() == 'r':
self.mapto = self.mapto_x1 self.mapto = self.mapto_X1
elif component.lower() == 'x2': elif component.lower() == 'x2':
self.mapto = self.mapto_z self.mapto = self.mapto_z
else: else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment