Skip to content
Merged
Show file tree
Hide file tree
Changes from 12 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 14 additions & 4 deletions simpeg_drivers-assets/uijson/fdem1d_forward.ui.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,28 @@
],
"value": ""
},
"z_imag_channel_bool": {
"imag_channel_bool": {
"group": "Survey",
"main": true,
"label": "Vertical (imaginary)",
"tooltip": "Vertical (w) imaginary component of the magnetic data.\nPositive up along the z-axis if no receiver orientation provided",
"tooltip": [
"Imaginary component of the magnetic data. If no receiver orientation provided:<dl>",
"<dt>Co-planar data are positive up along the z-axis .</dd>",
"<dt>Co-axial data are positive along North.</dd>",
"</dl>"
],
"value": true
},
"z_real_channel_bool": {
"real_channel_bool": {
"group": "Survey",
"main": true,
"label": "Vertical (real)",
"tooltip": "Vertical (w) real component of the magnetic data.\nPositive up along the z-axis if no receiver orientation provided",
"tooltip": [
"Real component of the magnetic data. If no receiver orientation provided:<dl>",
"<dt>Co-planar data are positive up along the z-axis .</dd>",
"<dt>Co-axial data are positive along North.</dd>",
"</dl>"
],
"value": true
},
"u_cell_size": {
Expand Down
26 changes: 18 additions & 8 deletions simpeg_drivers-assets/uijson/fdem1d_inversion.ui.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
],
"value": ""
},
"z_imag_channel": {
"imag_channel": {
"association": [
"Cell",
"Vertex"
Expand All @@ -26,13 +26,18 @@
"dataGroupType": "Multi-element",
"main": true,
"label": "Vertical (imaginary)",
"tooltip": "Vertical (w) imaginary component of the magnetic data.\nPositive up along the z-axis if no receiver orientation provided",
"tooltip": [
"Imaginary component of the magnetic data. If no receiver orientation provided:<dl>",
"<dt>Co-planar data are positive up along the z-axis .</dd>",
"<dt>Co-axial data are positive along North.</dd>",
"</dl>"
],
"parent": "data_object",
"optional": true,
"enabled": true,
"value": ""
},
"z_imag_uncertainty": {
"imag_uncertainty": {
"association": [
"Cell",
"Vertex"
Expand All @@ -43,12 +48,12 @@
"main": true,
"label": "Uncertainty",
"parent": "data_object",
"dependency": "z_imag_channel",
"dependency": "imag_channel",
"dependencyType": "enabled",
"enabled": false,
"value": ""
},
"z_real_channel": {
"real_channel": {
"association": [
"Cell",
"Vertex"
Expand All @@ -58,13 +63,18 @@
"dataGroupType": "Multi-element",
"main": true,
"label": "Vertical (real)",
"tooltip": "Vertical (w) real component of the magnetic data.\nPositive up along the z-axis if no receiver orientation provided",
"tooltip": [
"Real component of the magnetic data. If no receiver orientation provided:<dl>",
"<dt>Co-planar data are positive up along the z-axis .</dd>",
"<dt>Co-axial data are positive along North.</dd>",
"</dl>"
],
"parent": "data_object",
"optional": true,
"enabled": true,
"value": ""
},
"z_real_uncertainty": {
"real_uncertainty": {
"association": [
"Cell",
"Vertex"
Expand All @@ -75,7 +85,7 @@
"main": true,
"label": "Uncertainty",
"parent": "data_object",
"dependency": "z_real_channel",
"dependency": "real_channel",
"dependencyType": "enabled",
"enabled": false,
"value": ""
Expand Down
50 changes: 16 additions & 34 deletions simpeg_drivers-assets/uijson/fdem_forward.ui.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,46 +38,28 @@
"parent": "data_object",
"value": ""
},
"z_imag_channel_bool": {
"imag_channel_bool": {
"group": "Survey",
"main": true,
"label": "Vertical (imaginary)",
"tooltip": "Vertical (w) imaginary component of the magnetic data.\nPositive up along the z-axis if no receiver orientation provided",
"value": true
},
"z_real_channel_bool": {
"group": "Survey",
"main": true,
"label": "Vertical (real)",
"tooltip": "Vertical (w) real component of the magnetic data.\nPositive up along the z-axis if no receiver orientation provided",
"value": true
},
"y_imag_channel_bool": {
"group": "Survey",
"main": true,
"label": "In-line (imaginary)",
"tooltip": "In-line (u) imaginary component of the magnetic data.\nPositive towards North if no receiver orientation provided",
"value": true
},
"y_real_channel_bool": {
"group": "Survey",
"main": true,
"label": "In-line (real)",
"tooltip": "In-line (u) real component of the magnetic data.\nPositive towards North if no receiver orientation provided",
"value": true
},
"x_imag_channel_bool": {
"group": "Survey",
"main": true,
"label": "Cross-line (imaginary)",
"tooltip": "Cross-line (v) imaginary component of the magnetic data.\nPositive towards East if no receiver orientation provided",
"label": "Imaginary",
"tooltip": [
"Imaginary component of the magnetic data. If no receiver orientation provided:<dl>",
"<dt>Co-planar data are positive up along the z-axis .</dd>",
"<dt>Co-axial data are positive along North.</dd>",
"</dl>"
],
"value": true
},
"x_real_channel_bool": {
"real_channel_bool": {
"group": "Survey",
"main": true,
"label": "Cross-line (real)",
"tooltip": "Cross-line (v) real component of the magnetic data.\nPositive towards East if no receiver orientation provided",
"label": "Real",
"tooltip": [
"Real component of the magnetic data. If no receiver orientation provided:<dl>",
"<dt>Co-planar data are positive up along the z-axis .</dd>",
"<dt>Co-axial data are positive along North.</dd>",
"</dl>"
],
Comment thread
domfournier marked this conversation as resolved.
"value": true
},
"mesh": {
Expand Down
156 changes: 19 additions & 137 deletions simpeg_drivers-assets/uijson/fdem_inversion.ui.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"parent": "data_object",
"value": ""
},
"z_imag_channel": {
"imag_channel": {
"association": [
"Cell",
"Vertex"
Expand All @@ -47,110 +47,19 @@
"group": "Data",
"dataGroupType": "Multi-element",
"main": true,
"label": "Vertical (imaginary)",
"tooltip": "Vertical (w) imaginary component of the magnetic data.\nPositive up along the z-axis if no receiver orientation provided",
"parent": "data_object",
"optional": true,
"enabled": true,
"value": ""
},
"z_imag_uncertainty": {
"association": [
"Cell",
"Vertex"
],
"dataType": "Float",
"group": "Data",
"dataGroupType": "Multi-element",
"main": true,
"label": "Uncertainty",
"parent": "data_object",
"dependency": "z_imag_channel",
"dependencyType": "enabled",
"enabled": false,
"value": ""
},
"z_real_channel": {
"association": [
"Cell",
"Vertex"
"label": "Imaginary",
"tooltip": [
"Imaginary component of the magnetic data. If no receiver orientation provided:<dl>",
"<dt>Co-planar data are positive up along the z-axis .</dd>",
"<dt>Co-axial data are positive along North.</dd>",
"</dl>"
Comment thread
domfournier marked this conversation as resolved.
],
"dataType": "Float",
"group": "Data",
"dataGroupType": "Multi-element",
"main": true,
"label": "Vertical (real)",
"tooltip": "Vertical (w) real component of the magnetic data.\nPositive up along the z-axis if no receiver orientation provided",
"parent": "data_object",
"optional": true,
"enabled": true,
"value": ""
},
"z_real_uncertainty": {
"association": [
"Cell",
"Vertex"
],
"dataType": "Float",
"group": "Data",
"dataGroupType": "Multi-element",
"main": true,
"label": "Uncertainty",
"parent": "data_object",
"dependency": "z_real_channel",
"dependencyType": "enabled",
"enabled": false,
"value": ""
},
"y_imag_channel": {
"association": [
"Cell",
"Vertex"
],
"dataType": "Float",
"group": "Data",
"dataGroupType": "Multi-element",
"main": true,
"label": "In-line (imaginary)",
"tooltip": "In-line (u) imaginary component of the magnetic data.\nPositive towards North if no receiver orientation provided",
"parent": "data_object",
"optional": true,
"enabled": false,
"value": ""
},
"y_imag_uncertainty": {
"association": [
"Cell",
"Vertex"
],
"dataType": "Float",
"group": "Data",
"dataGroupType": "Multi-element",
"main": true,
"label": "Uncertainty",
"parent": "data_object",
"dependency": "y_imag_channel",
"dependencyType": "enabled",
"enabled": false,
"value": ""
},
"y_real_channel": {
"association": [
"Cell",
"Vertex"
],
"dataType": "Float",
"group": "Data",
"dataGroupType": "Multi-element",
"main": true,
"label": "In-line (real)",
"tooltip": "In-line (u) real component of the magnetic data.\nPositive towards North if no receiver orientation provided",
"parent": "data_object",
"optional": true,
"enabled": false,
"value": ""
},
"y_real_uncertainty": {
"imag_uncertainty": {
"association": [
"Cell",
"Vertex"
Expand All @@ -161,28 +70,12 @@
"main": true,
"label": "Uncertainty",
"parent": "data_object",
"dependency": "y_real_channel",
"dependency": "imag_channel",
"dependencyType": "enabled",
"enabled": false,
"value": ""
},
"x_imag_channel": {
"association": [
"Cell",
"Vertex"
],
"dataType": "Float",
"group": "Data",
"dataGroupType": "Multi-element",
"main": true,
"label": "Cross-line (imaginary)",
"tooltip": "Cross-line (v) imaginary component of the magnetic data.\nPositive towards East if no receiver orientation provided",
"parent": "data_object",
"optional": true,
"enabled": false,
"value": ""
},
"x_imag_uncertainty": {
"real_channel": {
"association": [
"Cell",
"Vertex"
Expand All @@ -191,30 +84,19 @@
"group": "Data",
"dataGroupType": "Multi-element",
"main": true,
"label": "Uncertainty",
"parent": "data_object",
"dependency": "x_imag_channel",
"dependencyType": "enabled",
"enabled": false,
"value": ""
},
"x_real_channel": {
"association": [
"Cell",
"Vertex"
"label": "Real",
"tooltip": [
"Real component of the magnetic data. If no receiver orientation provided:<dl>",
"<dt>Co-planar data are positive up along the z-axis .</dd>",
"<dt>Co-axial data are positive along North.</dd>",
"</dl>"
],
"dataType": "Float",
"group": "Data",
"dataGroupType": "Multi-element",
"main": true,
"label": "Cross-line (real)",
"tooltip": "Cross-line (v) real component of the magnetic data.\nPositive towards East if no receiver orientation provided",
"parent": "data_object",
"optional": true,
"enabled": false,
"enabled": true,
"value": ""
},
"x_real_uncertainty": {
"real_uncertainty": {
"association": [
"Cell",
"Vertex"
Expand All @@ -225,7 +107,7 @@
"main": true,
"label": "Uncertainty",
"parent": "data_object",
"dependency": "x_real_channel",
"dependency": "real_channel",
"dependencyType": "enabled",
"enabled": false,
"value": ""
Expand Down
9 changes: 7 additions & 2 deletions simpeg_drivers/components/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,9 +302,14 @@ def get_normalizations(self):
offsets = {
k: v * np.ones(len(self.locations)) for k, v in offsets.items()
}
normalizations[chan][comp] = (
mu0 * (-1 / offsets[chan] ** 3 / (4 * np.pi)) / 1e6
normalizations[chan][comp] = -1 * (
mu0 * (2 / offsets[chan] ** 3 / (4 * np.pi)) / 1e6
)

# Normalization for coplanar
if not self.params.coaxial[chan]:
normalizations[chan][comp] *= 0.5

elif (
"tdem" in self.params.inversion_type
and "dB/dt" in self.params.data_units
Expand Down
Loading
Loading