Skip to content
forked from robynlm/sphereint

Code to integrate data on a grid within a sphere

License

Notifications You must be signed in to change notification settings

grmath/sphereint

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sphereint

Class to compute the numerical volume in a sphere.

This class provides a weight for each grid position based on whether or not it is in (weight = 1), out (weight = 0), or partially in (weight in between 0 and 1) a sphere of a given radius.

A cubic cell is placed around each grid position and the volume of the cell in the sphere (assuming a flat suface in the cell) is calculated and normalised by the cell volume to obtain the weight.

About

Code to integrate data on a grid within a sphere

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 88.0%
  • Python 12.0%