Comments (12)
indeed. So the call would become something like:
net.spikes.plot_hist(type='evprox')
?
from hnn-core.
New discussion next week on Network
reorganization? Tuesday 1-4pm is a good time for me.
from hnn-core.
works for me!
should we each open a PR before then with a small improvement to the Network
class? It's better to touch code first so we can guide the discussion meaningfully
from hnn-core.
This is a great starter issue!
from hnn-core.
Should plot_input()
be moved to the Spikes
class? Instead of using gid_dict
, I think Spikes.types
could be used.
https://github.com/jonescompneurolab/hnn-core/blob/master/hnn_core/network.py#L359-L363
from hnn-core.
See #133 (comment) for a suggestion regarding the proposed net.spikes.plot_spikes_hist()
and net.spikes.plot_spikes_raster()
functions.
from hnn-core.
maybe a good issue for @ntolley ?
from hnn-core.
Thanks for tagging me, definitely a good issue to get involved. I'll try to incorporate the spike_types
argument as suggested.
from hnn-core.
Feel free to already give it a shot before the coding sprint, so you have a working set up for contributing and we can discuss what are the pain points!
from hnn-core.
See #133 (comment) for a suggestion regarding the proposed
net.spikes.plot_spikes_hist()
andnet.spikes.plot_spikes_raster()
functions.
So this relates to the idea of refactoring the network class, but a complication with the interconnectedness of the feeds with network shows up here. What about moving to more standard types in Spike._types
. For example, an input curently typed evprox1
, could get _type
"evoked" and a new attribute _projection
with value "proximal". The index could be inferred from start times. The GUI depends on a consistent index right now, but I wonder if we can move towards an implicit index, where t0
of the input defines the order?
This would make steps that check the type of input so much easier, and the spike_types
argument used here wouldn't be necessary. This idea also relates to #124
from hnn-core.
I am a bit lost :) Maybe let's add this for Zoom discussion with @rythorpe this week.
from hnn-core.
See #133 (comment) for a suggestion regarding the proposed
net.spikes.plot_spikes_hist()
andnet.spikes.plot_spikes_raster()
functions.So this relates to the idea of refactoring the network class, but a complication with the interconnectedness of the feeds with network shows up here. What about moving to more standard types in
Spike._types
. For example, an input curently typedevprox1
, could get_type
"evoked" and a new attribute_projection
with value "proximal". The index could be inferred from start times. The GUI depends on a consistent index right now, but I wonder if we can move towards an implicit index, wheret0
of the input defines the order?This would make steps that check the type of input so much easier, and the
spike_types
argument used here wouldn't be necessary. This idea also relates to #124
+100 yes! I totally agree @blakecaldwell that the best way to proceed with this requires that we first refactor some parts of Network
and ExtFeed
. Also note my comment here. I'm probably getting ahead of myself here, but I think it would help if we simplified the feed class s.t.
- each feed type is associated with one and only one gid (i.e., even the rhythmic
common
feeds) ExtFeed
stores a list of all feeds using the same format (i.e., individual feeds are not items in a list of either "unique" or "common" type) by assigningprojection
,gid
, andtime
attributes to individual, cell-specific feeds
from hnn-core.
Related Issues (20)
- BUG (GUI): Dipole plot scaling HOT 13
- GUI exporting simulations to csv HOT 6
- GUI load simulation from csv HOT 1
- GUI load network params and simulations from an hdf5 HOT 1
- Remove unnecessary files from param folder HOT 6
- GUI loading of base network connectivity from API
- BUG: `pick_connection` returns incorrect values when applied to network with no cell-cell connections HOT 3
- `plot_cells` error when users pass in a generic matplotlib.Axes instance HOT 8
- GUI: Clean up dev debug checks
- Add Virtual Environment Directories to `.gitignore` HOT 6
- GUI: Creating figures with no data throws multiple exceptions
- hnn_widget.ipynb fails at cell 2 with list index out of range HOT 6
- GUI importing csv data files HOT 4
- API: network configurations I/O from hierarchical json
- Coverage not uploading to Codecov
- API: Change add_tonic_bias argument structure HOT 3
- API: Add name parameter to add_tonic_bias method
- qt issue hnn_core, also gui issue missing tabs HOT 1
- MPI timing out waiting for child process HOT 4
- GUI: Fix File Upload button height
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hnn-core.