Published February 19, 2024 | Version v0.5
Software Open

TUW-GEO/rt1_model: rt1_model v0.5

Creators

  • 1. TU Wien

Description

This release marks the first stable version of the rt1_model package!

🌦️ Changes

[!NOTE] There have been major changes for method-names compared to v0.4 in order to make the API more clear! All changes primarily affect internals and should not interfere with code that only evaluates the model! (e.g. code in the example-notebooks remains unchanged etc.)

  • SurfaceScatter and VolumeScatter are now abstract base classes for scattering functions
  • Scatter-objects now define an explicit symbolic version of the scattering angle X.scattering_angle_symbolic
  • ❗ The following methods and properties have been re-named
    • X.legcoefs -> X.legendre_coefficients
    • X.scat_angle_symbolic -> X.scattering_angle_symbolic
    • X._func -> X.phase_function
    • X.scat_angle() -> X.calc_scattering_angle()
    • X.legexpansion() -> X.legendre_expansion()

🔨 Fixes

  • allow passing kwargs to R.surface(), R.volume() and R.interaction()
  • fix clearing geometry cache
  • fix treatment of scalar input values when evaluating the interaction term
  • remove repeated definitions for symbolic scattering angles
  • remove obsolete check for existance of _ncoefs property
  • use random seeds to make notebook-based tests reproducible

Files

TUW-GEO/rt1_model-v0.5.zip

Files (6.9 MB)

Name Size Download all
md5:7ce4a07c775ae6c29e51f8707c82544c
6.9 MB Preview Download

Additional details

Related works

Is supplement to
Software: https://github.com/TUW-GEO/rt1_model/tree/v0.5 (URL)