Skip to content

Commit

Permalink
Run make format
Browse files Browse the repository at this point in the history
  • Loading branch information
santisoler committed Dec 16, 2024
1 parent f47b9e0 commit 49fa020
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
8 changes: 4 additions & 4 deletions notebooks/03-gravity/weighting_strategies.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@
},
"outputs": [],
"source": [
"data_object = data.Data(survey, dobs=dobs, standard_deviation=uncertainties)\n"
"data_object = data.Data(survey, dobs=dobs, standard_deviation=uncertainties)"
]
},
{
Expand Down Expand Up @@ -430,7 +430,7 @@
"model_map = maps.IdentityMap(nP=nC) # model consists of a value for each active cell\n",
"\n",
"# Define and plot starting model\n",
"starting_model = np.zeros(nC)\n"
"starting_model = np.zeros(nC)"
]
},
{
Expand Down Expand Up @@ -469,7 +469,7 @@
"# residual between the observed data and the data predicted for a given model.\n",
"# Within the data misfit, the residual between predicted and observed data are\n",
"# normalized by the data's standard deviation.\n",
"dmis = data_misfit.L2DataMisfit(data=data_object, simulation=simulation)\n"
"dmis = data_misfit.L2DataMisfit(data=data_object, simulation=simulation)"
]
},
{
Expand Down Expand Up @@ -1636,7 +1636,7 @@
" np.r_[35.0, 0.0, -40.0], 15.0, mesh.gridCC\n",
")\n",
"ind_sphere = ind_sphere[ind_active]\n",
"true_model[ind_sphere] = sphere_density\n"
"true_model[ind_sphere] = sphere_density"
]
},
{
Expand Down
6 changes: 3 additions & 3 deletions notebooks/04-magnetics/fwd_magnetics_induced_3d.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -245,15 +245,15 @@
"receiver_list = [receiver_list]\n",
"\n",
"# Define the inducing field\n",
"inclination = 90 # inclination [deg]\n",
"declination = 0 # declination [deg]\n",
"inclination = 90 # inclination [deg]\n",
"declination = 0 # declination [deg]\n",
"amplitude = 50000 # amplitude [nT]\n",
"\n",
"source_field = magnetics.sources.UniformBackgroundField(\n",
" receiver_list=receiver_list,\n",
" amplitude=amplitude,\n",
" inclination=inclination,\n",
" declination=declination\n",
" declination=declination,\n",
")\n",
"\n",
"# Define the survey\n",
Expand Down
6 changes: 3 additions & 3 deletions notebooks/04-magnetics/fwd_magnetics_mvi_3d.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -247,15 +247,15 @@
"receiver_list = [receiver_list]\n",
"\n",
"# Define the inducing field\n",
"field_inclination = 90 # inclination [deg]\n",
"field_declination = 0 # declination [deg]\n",
"field_inclination = 90 # inclination [deg]\n",
"field_declination = 0 # declination [deg]\n",
"field_amplitude = 50000 # amplitude [nT]\n",
"\n",
"source_field = magnetics.sources.UniformBackgroundField(\n",
" receiver_list=receiver_list,\n",
" amplitude=field_amplitude,\n",
" inclination=field_inclination,\n",
" declination=field_declination\n",
" declination=field_declination,\n",
")\n",
"\n",
"# Define the survey\n",
Expand Down
6 changes: 3 additions & 3 deletions notebooks/04-magnetics/inv_magnetics_induced_3d.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -367,15 +367,15 @@
"receiver_list = [receiver_list]\n",
"\n",
"# Define the inducing field\n",
"inclination = 90 # inclination [deg]\n",
"declination = 0 # declination [deg]\n",
"inclination = 90 # inclination [deg]\n",
"declination = 0 # declination [deg]\n",
"amplitude = 50000 # amplitude [nT]\n",
"\n",
"source_field = magnetics.sources.UniformBackgroundField(\n",
" receiver_list=receiver_list,\n",
" amplitude=amplitude,\n",
" inclination=inclination,\n",
" declination=declination\n",
" declination=declination,\n",
")\n",
"\n",
"# Define the survey\n",
Expand Down

0 comments on commit 49fa020

Please sign in to comment.