Skip to main content

No project description provided

Project description

Features

ZenBand is a PWEM solver with a graphical user interface which is based on Tkinter library. The application has a number of functions that are usefull for 2D photonic crystal analysis:

  • Photonic band diagrams
  • 2D and 3D iso-frequency contours
  • Omnidirectional Band Gap analysis, including band gap maps
  • Field distributions
  • Berry Curvature using Fukui–Hatsugai–Suzuki discrete method

Five different unit cell types for square (cylinders, frames and rings) and hexagonal (regular hex and honeycomb) lattices are built in with the ability to import custom devices (an example on how to import devices is given in 'example' folder as well as the instuction manual). Option to choose diagonally anisotropic dielectric permittivity matrices is built in.

A description of all variables, functions and a walk through of the GUI in ZenBand is given in ZenBand_instruction.pdf.

Installation

  • Required libraries:
    • tqdm
    • tkinter/customtkinter
    • imageio
  • To install the package, run the following code in command prompt:
$ pip install zenband
  • To run the app, run the following code:
import ZenBand

ZenBand.run()

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

zenband-0.2.2.tar.gz (26.8 kB view details)

Uploaded Source

Built Distribution

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

zenband-0.2.2-py3-none-any.whl (32.1 kB view details)

Uploaded Python 3

File details

Details for the file zenband-0.2.2.tar.gz.

File metadata

  • Download URL: zenband-0.2.2.tar.gz
  • Upload date:
  • Size: 26.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.1

File hashes

Hashes for zenband-0.2.2.tar.gz
Algorithm Hash digest
SHA256 b7eacb69eae638324d0ee877fe7cffcfab09dc8ef4daaf120de2a520835eb56e
MD5 343fc682fdfc9d7cc72b11e14ba77add
BLAKE2b-256 6a19510e9c56651707f7f1db0ccf32fc4410d33b33082f30a39f827cef3893c9

See more details on using hashes here.

File details

Details for the file zenband-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: zenband-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 32.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.1

File hashes

Hashes for zenband-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ea7eb38387003940bbd87544eac12c677b3a51f307b9d7e8e05971dcd38e9574
MD5 4351ae9a70a31bbdc5804d4cdcd04fc0
BLAKE2b-256 fbd8b0f7abed70a249dc6d6b42ab1b1764b6f3172fda7334809d072329b7b208

See more details on using hashes here.

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