:orphan:

:py:mod:`expelliarmus.utils`
============================

.. py:module:: expelliarmus.utils


Module Contents
---------------


Functions
~~~~~~~~~

.. autoapisummary::

   expelliarmus.utils.check_file_encoding
   expelliarmus.utils.check_encoding
   expelliarmus.utils.check_input_file
   expelliarmus.utils.check_output_file
   expelliarmus.utils.check_chunk_size
   expelliarmus.utils.check_buff_size
   expelliarmus.utils.check_new_duration
   expelliarmus.utils.check_external_file
   expelliarmus.utils.check_time_window
   expelliarmus.utils.check_dtype_order



.. py:function:: check_file_encoding(fpath: Union[str, pathlib.Path], encoding: str) -> None


.. py:function:: check_encoding(encoding: str) -> str


.. py:function:: check_input_file(fpath: Union[str, pathlib.Path], encoding: str) -> Union[str, pathlib.Path]


.. py:function:: check_output_file(fpath: Union[str, pathlib.Path], encoding: str) -> Union[str, pathlib.Path]


.. py:function:: check_chunk_size(chunk_size: int, encoding: str) -> int


.. py:function:: check_buff_size(buff_size: int) -> int


.. py:function:: check_new_duration(new_duration: int) -> int


.. py:function:: check_external_file(fpath: Union[str, pathlib.Path], self_fpath: Union[str, pathlib.Path], encoding: str) -> Union[str, pathlib.Path]


.. py:function:: check_time_window(time_window: int) -> int


.. py:function:: check_dtype_order(dtype_order: tuple) -> tuple


