blpd

Lagrangian (stochastic) particle dispersion model to model bees encountering floral scents

The model class blpd.model.Model is included in this namespace for convenience.

>>> import blpd
>>> m = blpd.Model()
>>> m.run()blpd.plot()

Additional plots can be created using blpd.plot. Some of these require a chem dataset.

>>> ds = m.to_xr()  # `xr.Dataset` of LPD results
>>> dsc = blpd.chem.calc_relative_levels_fixed_oxidants(ds)  # compute chem dataset
>>> blpd.plot.ws_hist(ds)  # plot wind speed histograms
>>> blpd.plot.conc_2d(dsc)  # plot 2-d chemical species levels

See the examples for more.

blpd lives on GitHub.

 1"""
 2Lagrangian (stochastic) particle dispersion model to model bees encountering floral scents
 3
 4The model class `blpd.model.Model` is included in this namespace for convenience.
 5>>> import blpd
 6>>> m = blpd.Model()
 7>>> m.run().plot()
 8
 9Additional plots can be created using `blpd.plot`.
10Some of these require a chem dataset.
11>>> ds = m.to_xr()  # `xr.Dataset` of LPD results
12>>> dsc = blpd.chem.calc_relative_levels_fixed_oxidants(ds)  # compute chem dataset
13>>> blpd.plot.ws_hist(ds)  # plot wind speed histograms
14>>> blpd.plot.conc_2d(dsc)  # plot 2-d chemical species levels
15
16See [the examples](https://github.com/zmoon/blpd/tree/master/examples) for more.
17
18`blpd` lives [on GitHub](https://github.com/zmoon/blpd).
19"""
20
21# Define the namespace for the module `blpd`
22# Importing `Model` also adds `lpd` and `model`
23from . import bees  # noqa: F401 unused import
24from . import chem  # noqa: F401 unused import
25from . import plot  # noqa: F401 unused import
26from .model import Model as model  # noqa: F401 unused import