astro py:docs

- Index
- Modules

### Navigation

- next »
- « previous |
- Astropy v0.3 »
- Models And Fitting (`astropy.modeling`) »
- format_input

# format_input

`astropy.modeling.core.``format_input`(func)

  Wraps a model’s `__call__` method so that the input arrays are converted into the appropriate shape given the model’s parameter dimensions.

  Wraps the result to match the shape of the last input array.