perform bayesian inference over physical models
Project description
Havi
scatering model and bayesian inference
Note from author
If you use our library on a research or paper please give us a citation
Installation
pip install havi
Usage
import havi as h
# scatering angles
incident_angles = [theta, phi, psi] # incidence angles - floats
scatered_angles = [theta,phi,psi] # scatering angles - floats
wavelength = 0.5
havi = h.Havi(incident_angles, scatered_angles, wavelength)
# surface boudaries for random variables
rms_height = (0.1, 0.8) # lower and higher boundaries
correlation_longitude = (0.1, 0.8) # lower and higher boundaries
dielectric_constant = (0.1, 0.8) # lower and higher boundaries
havi.set_boundaries(rms_height, correlation_longitude, dielectric_constant)
sigma = h.Tensor([0.5])
observed_data = h.Tensor([-12,-7,-8])
trace = havi.inference(sigma, observed) # you can plot the trace however you want OR
havi.plot()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
havi-0.0.5a0.tar.gz
(12.6 kB
view hashes)