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

.. py:module:: tonic.datasets.ncaltech101


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

Classes
~~~~~~~

.. autoapisummary::

   tonic.datasets.ncaltech101.NCALTECH101




.. py:class:: NCALTECH101(save_to: str, transform: Optional[Callable] = None, target_transform: Optional[Callable] = None, transforms: Optional[Callable] = None)


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

   `N-CALTECH101 <https://www.garrickorchard.com/datasets/n-caltech101>`_

   Events have (xytp) ordering.
   ::

       @article{orchard2015converting,
         title={Converting static image datasets to spiking neuromorphic datasets using saccades},
         author={Orchard, Garrick and Jayawant, Ajinkya and Cohen, Gregory K and Thakor, Nitish},
         journal={Frontiers in neuroscience},
         volume={9},
         pages={437},
         year={2015},
         publisher={Frontiers}
       }

   :param save_to: Location to save files to on disk.
   :type save_to: string
   :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:: url
      :value: 'https://data.mendeley.com/public-files/datasets/cy6cvx3ryv/files/36b5c52a-b49d-4853-addb-a836a888...'

      

   .. py:attribute:: filename
      :value: 'N-Caltech101-archive.zip'

      

   .. py:attribute:: file_md5
      :value: '66201824eabb0239c7ab992480b50ba3'

      

   .. py:attribute:: data_filename
      :value: 'Caltech101.zip'

      

   .. py:attribute:: folder_name
      :value: 'Caltech101'

      

   .. py:attribute:: sensor_size

      

   .. 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__()



