pint.utils.split_swx

pint.utils.split_swx(model, time)[source]

Split an existing SWX bin at the desired time

Parameters:
Returns:

  • index (int) – Index of existing bin that was split

  • newindex (int) – Index of new bin that was added