# Bumps 0.8.1 documentation

## names - External interface

Exported names.

In model definition scripts, rather than importing symbols one by one, you can simply perform:

    from bumps.names import *

This is bad style for library and applications but convenient for model scripts.

The following symbols are defined:

- np for the numpy array package

- sys for the python sys module

- inf for infinity

- `pmath` for parameter expressions like 2*pmath.sin(M.theta)

- `Parameter` for defining parameters

- `FreeVariables` for defining shared parameters

- `Distribution` for indicating prior

    probability for a model parameter

- `Curve` for defining models from functions

- `PoissonCurve` for modelling data with Poisson uncertainty

- `PDF` for fitting a probability distribution directly

- `FitProblem` for defining the fit (see

    `BaseFitProblem` or `MultiFitProblem` for details, depending on whether you are fitting a single model or multiple models simultaneously).