Skip to content

nikoleskinen/pytmatrixc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pytmatrixc

A fork of pytmatrix with modern cross-platform build process and streamlined installation.

Installation

No compiling or building required. Install with:

pip install pytmatrixc

Usage

This package should work exactly the same way as the original. For documentation, see the pytmatrix usage guide.

# Simple usage
from pytmatrix import tmatrix

scatterer = tmatrix.Scatterer(radius=1.0, wavelength=10.0, m=complex(1.5, 0.5), axis_ratio=1.0/0.6)
scatterer.get_S()

# Run tests
from pytmatrix.test import test_tmatrix
test_tmatrix.run_tests()

If something does not work, create an issue or contact me by email.

About

Python code for T-matrix scattering calculations

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Fortran 69.8%
  • Python 29.5%
  • Other 0.7%