#+TITLE: TODO list for thorns
#+AUTHOR: Marek Rudnicki
#+CATEGORY: thorns

* CANCELED Implement th.io.write_mat(fname, trains=spike_trains, bar=bar_obj)
  CLOSED: [2016-10-02 Sun 20:41]

* TODO Python 3 support

* DONE Test for map(dict of lists)
<2014-08-20 Wed>

* TODO timestamp=True in loaddb() should add timestamp in the output table

  https://github.com/mrkrd/thorns/pull/3

<2015-08-01 Sat 15:12>


* DONE Implement a heads-up display for a progress bar in map()

  - try with standard '\r' or some terminal commands
  - try the package blessings

<2014-08-23 Sat>

It's quite messy to use the terminal as the output for the progress
bar and the subprocesses at the same time.  I prefer to a clean output
of the task processes.

The progress bar is now displayed in the title of the terminal window
(if possible).


* DONE loaddb() should load the last table by default

  - add `load_all=True' parameter to load all tables (but drop
    duplicates)

<2014-08-23 Sat>

* DONE Allow nested map()

  - force the serial backend in the nested maps
  - inhibit _publish_status() in the nested maps
  - possible communication channel: sys.environ (how's multiprocessing
    doing it?)

<2014-10-28 Tue>
<2014-10-31 Fri>

Using global variable: thorns.util.maps.is_inside_map

* CANCELED Implement make_brian_group(trains)
  CLOSED: [2016-07-26 Tue 17:35]

  Cancel: It's implemented in mrkrd/cochlea at the moment.

* CANCELED Implement kernel density estimation in the place of histograms

  - PSTH
  - ISIH
  - period histogram


#+BEGIN_SRC python
h = scipy.stats.gaussian_kde(all_spikes, bin_size/np.std(all_spikes,ddof=1))

bins = np.arange(0, duration, h.factor*np.std(all_spikes,ddof=1)/10)
hist = h.evaluate(bins)
#+END_SRC
* DONE PR #4: Updated IPython import in map

https://github.com/mrkrd/thorns/pull/4

<2015-08-26 Wed 14:15>
* TODO Detect unknown/misspelled THxx environment variables
* DONE PR #7: compatibility with Python 3
  CLOSED: [2016-11-02 Wed 17:03]

  https://github.com/mrkrd/thorns/pull/7

  https://docs.python.org/3/howto/pyporting.html#use-feature-detection-instead-of-version-detection
* DONE Add transit backend for dumpdb
  CLOSED: [2016-11-16 Wed 00:07]
