darioizzo / geodesyNets

Experiments with artificial neural networks and geodesy
GNU General Public License v3.0
18 stars 3 forks source link

Added integration method for model #71

Closed gomezzz closed 3 years ago

gomezzz commented 3 years ago

Implemented as discussed.

Can be used like this

mask = lambda x: 0.5*x[:,0]+0.1*x[:,1]+0.2*x[:,2]+0.33 > 0 #define some cutting plane
gravann.rho_trap(model,encoding,mask,c) #compute integral

Closes #63

darioizzo commented 3 years ago

have you checked this works? For example for the Itokawa case? Takin the model from the result of the run and the plane definition we used?