/vector_fields

Streamfunction and Velocity Potential

Primary LanguageJupyter NotebookMIT LicenseMIT

vector_fields

This is a forked package for Python functions developed to deal with vectorial fields. The streamfunction and velocity potential fields are calculated following Li et al. (2006).

See the Example to understand the usage.

Adaptations from the original

  • uv2psiphi() function in which waives the input of the first guess and resolution fields
  • periodify() function is used in uv2psiphi() mirroring the data to avoid boundary problems
  • General adaptations for Python 3