LyceanEM / LyceanEM-Python

Python codebase for LyceanEM
GNU General Public License v3.0
20 stars 3 forks source link

Fix new loss #8

Closed tf17270 closed 6 months ago

tf17270 commented 6 months ago

Fix to lossy propagation

Key changes

outgoing_dir and normals don't need to be complex- this removes an error in the clip function associated with comparing complex and float)

Added it into calculate scattering in a way that allows testing with hard coded alpha beta- this is a temporary hack to allow for some temporary testing before passing round alpha and beta in more sensible ways

  1. Please check if changes to lossy_propagation are acceptable

2: check if method of temporary hack testing is logical