volcapy package¶
Subpackages¶
- volcapy.covariance package
- volcapy.forward package
- volcapy.inverse package
- volcapy.niklas package
- volcapy.plotting package
- volcapy.synthetic package
- Submodules
- volcapy.synthetic.build_synth_data module
- volcapy.synthetic.grid module
- volcapy.synthetic.reconstruct module
- volcapy.synthetic.temp module
- volcapy.synthetic.test_voxel module
- volcapy.synthetic.train module
- volcapy.synthetic.try_vtk_str_grid module
- volcapy.synthetic.vtkutils module
- Module contents
- volcapy.uq package
Submodules¶
volcapy.LOADER module¶
volcapy.compatibility_layer module¶
Layer between Niklas and us. Niklas codes include cells far awy from volcano for regularization, we want to delete those.
We also want to delete the bottom cells (maybe we shouldnt, lets see later).
To effectively delete the cells, we just put the corresponding elements of the forward to 0, which prevents changing the size of the arrays.
-
volcapy.compatibility_layer.
get_regularization_cells_inds
(inverseProblem)[source]¶ Get the indices of the troublesome cells in Niklas grid that we want to exclude.
Those are the cells at the edge of the grid and (temporarily) the bottom cells.
- Parameters
- inverseProblem: InverseProblem
- Returns
- array[int]
Indices (in the grid) of the problematic cells.