:py:mod:`tonic.datasets.pokerdvs`
=================================

.. py:module:: tonic.datasets.pokerdvs


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

Classes
~~~~~~~

.. autoapisummary::

   tonic.datasets.pokerdvs.POKERDVS




.. py:class:: POKERDVS(save_to: str, train: bool = True, transform: Optional[Callable] = None, target_transform: Optional[Callable] = None, transforms: Optional[Callable] = None)


   Bases: :py:obj:`tonic.dataset.Dataset`

   `POKER-DVS <http://www2.imse-cnm.csic.es/caviar/POKERDVS.html>`_

   Events have (txyp) ordering.
   ::

       @article{serrano2015poker,
         title={Poker-DVS and MNIST-DVS. Their history, how they were made, and other details},
         author={Serrano-Gotarredona, Teresa and Linares-Barranco, Bernab{'e}},
         journal={Frontiers in neuroscience},
         volume={9},
         pages={481},
         year={2015},
         publisher={Frontiers}
       }

   :param save_to: Location to save files to on disk.
   :type save_to: string
   :param train: If True, uses training subset, otherwise testing subset.
   :type train: bool
   :param transform: A callable of transforms to apply to the data.
   :type transform: callable, optional
   :param target_transform: A callable of transforms to apply to the targets/labels.
   :type target_transform: callable, optional
   :param transforms: A callable of transforms that is applied to both data and
                      labels at the same time.
   :type transforms: callable, optional

   .. py:attribute:: base_url
      :value: 'https://nextcloud.lenzgregor.com/s/'

      

   .. py:attribute:: train_filename
      :value: 'pips_train.tar.gz'

      

   .. py:attribute:: test_filename
      :value: 'pips_test.tar.gz'

      

   .. py:attribute:: train_url

      

   .. py:attribute:: test_url

      

   .. py:attribute:: train_md5
      :value: '412bcfb96826e4fcb290558e8c150aae'

      

   .. py:attribute:: test_md5
      :value: 'eef2bf7d0d3defae89a6fa98b07c17af'

      

   .. py:attribute:: classes
      :value: ['cl', 'he', 'di', 'sp']

      

   .. py:attribute:: int_classes

      

   .. py:attribute:: sensor_size
      :value: (35, 35, 2)

      

   .. py:attribute:: dtype

      

   .. py:attribute:: ordering

      

   .. py:method:: __getitem__(index)

      :returns: a tuple of (events, target) where target is the index of the target class.


   .. py:method:: __len__()



