makeGrid(minval,
maxval,
gridpoints=0,
log=0,
make_int=0)
| source code
|
Make grid between max and min value.
- Parameters:
minval (float) - lower boundary of grid range
maxval (float) - upper boundary of grid range
gridpoints (int) - number of grid points, including boundaries. If 0 it is replaced
by 2, if 1 then minval is gridpoint
(default: 0)
log (bool) - if grid should be calculated in logspace
(default: 0)
make_int (bool) - 0 if final gridpoints should be rounded to nearest integer
(default: 0)
- Returns: array
- the grid points including the boundaries
|