Skip to content

example_fgen_basic#

Example of wrapping Fortran so it can be accessed via Python

Modules:

Name Description
error_v

Definition of an error value

exceptions

Exceptions used throughout

get_wavelength

Get wavelength of light given its frequency

pyfgen_runtime

Runtime helpers for code generated with pyfgen

typing

Type hints which are too annoying to remember