Jashcraf / poke

Poke (pronounced poh-keh) is a Polarization Ray Tracing and Gaussian Beamlet module for Python
BSD 3-Clause "New" or "Revised" License
32 stars 6 forks source link

Add POPPY/HCIPy Wavefront export #77

Closed Jashcraf closed 1 year ago

Jashcraf commented 1 year ago

I don't think it's worth asking Poke to install POPPY or HCIPy, we can do something like this

try:
    import pop_module
except ImportError as e:
    pass  # module doesn't exist, deal with it.

The HCIPy export will yield a partially polarized field, the POPPY one will return 4 distinct wavefront objects

Jashcraf commented 1 year ago

Added in most recent commit