Skip to main content

Jax based S-matrix stack solver.

Project description

Staaax v1.0.0

Logo

staaax is a convenience wrapper for sax, that allows evaluating scattering matrices (S-matrices) for stacks of layered media (also called stratified media).

import staaax
import numpy as np

ns = [1, 2, 3+0.001j, 1]
ds = [1, 0.5]

wl = 1.5
theta_0=np.deg2rad(20)
k0 = 2*np.pi/wl
kx = k0*np.sin(theta_0)

stack, info = staaax.stratified(
  ds, ns, k0, kx, pol="s"
)

S = stack()
S

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

staaax-1.0.0.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

staaax-1.0.0-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file staaax-1.0.0.tar.gz.

File metadata

  • Download URL: staaax-1.0.0.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for staaax-1.0.0.tar.gz
Algorithm Hash digest
SHA256 ce112d8b3fddae4dd06fcb453aca9a4519ebf6b7c296915fb7929233e10b66cd
MD5 cc99f75eb9a86c872d225bcd851dc47b
BLAKE2b-256 7eb1323e165ec62ebc9c1499bb877a0d4181c1b6f24239a9ff48b99a9b419ef7

See more details on using hashes here.

Provenance

The following attestation bundles were made for staaax-1.0.0.tar.gz:

Publisher: release.yaml on jan-david-fischbach/staaax

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file staaax-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: staaax-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for staaax-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5efb8e51d883de7af7c404306d55ffbf2c784b529c5036f83bf9579311245f29
MD5 6950b67b53ba5b128676c9c0e0663d06
BLAKE2b-256 1a4997b6a07a10f9c7c278aa0ee77dd558b77f515dae64cc060c77d5b07583d2

See more details on using hashes here.

Provenance

The following attestation bundles were made for staaax-1.0.0-py3-none-any.whl:

Publisher: release.yaml on jan-david-fischbach/staaax

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page