## input_times.snap_bins_to_seconds()


Compute bin edges so bin width is a whole number of seconds.


Usage

``` python
input_times.snap_bins_to_seconds(
    xmax,
    target_bins=200,
    min_seconds=1,
)
```


## Parameters


`xmax: float`  
Upper limit of range, in minutes.

`target_bins: int = ``200`  
Desired approximate number of bins.

`min_seconds: int = ``1`  
Minimum allowed bin width in seconds.


## Returns


`np.ndarray`  
Bin edges in minutes, spaced by a whole number of seconds.
