gravityGridNested

class hygra.gravity_grid.gravityGridNested(dempaths, sensor_coords, grid_discrs, grid_radii, grid_domain_vertical, grid_origin=False, verbose=False)[source]

Bases: object

Class of a nested gravityGrid

THIS HAS TO BE CHANGED !!! NOT has nested grid be a class of gravityGrid (wrong hierarchie) BUT nestedGrid has to be constructed as multiple instances of gravityGridNested this way also calculations and the topofactor should work out!

Parameters:
  • dempaths (list) – [dempath_1, … , dempath_n].

  • sensor_coords (list) – [x, y, z].

  • grid_discrs (list of list) – [[res_x1, res_y1, res_z1], … , [res_xn, res_yn, res_zn]].

  • grid_radii (list) – [radius_1, … , radius_n, radius_n+1].

  • grid_domain_vertical (list) – [max, min].

  • grid_origin (list) – [x, y]. If not supplied, coordinates set to sensor location,

  • verbose (str) – Should information be displayed (default = False).

Notes

Methods Summary

create_gcompGrid([method])

Create DEM grid and gravity component grid of supplied dimensions and properties

Methods Documentation

create_gcompGrid(method='standard')[source]

Create DEM grid and gravity component grid of supplied dimensions and properties

This will create a list of gravityGrid-objects, depending on how many nested grids are desired.