Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

devops: adds some basic open-source structure #2

Merged
merged 7 commits into from
Apr 1, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
name: Enhancement Template
about: An enhancement for the project
labels: enhancement
title: ""
---

Description
===========
A clear and concise description of what the issue is about.
29 changes: 29 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
name: Bug Report
about: Create a report of a bug or problem
labels: bug
title: "bug: "
---

Describe the bug
================
A clear and concise description of what the bug is.

To Reproduce
============
Steps to reproduce the behavior:
1. Do X
2. Type Y
3. ...

Expected behavior
=================
A clear and concise description of what you expected to happen.

Screenshots
===========
If applicable, add screenshots to help explain your problem.

Additional context
==================
Add any other context about the problem here.
22 changes: 22 additions & 0 deletions .github/ISSUE_TEMPLATE/enhancement.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
name: Enhancement
about: New/updated functionality
labels: enhancement
title: "enhancement: "
---

Current Situation
=================
A clear and concise description of what the current functionality is.

Enhancement
===========
A quick description of the proposed enhancement

Reasoning
=========
Why should this enhancement be added to the repository?

Implementation
==============
Overview of possible implementations
11 changes: 11 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
What does this PR do?
=====================

Why are we doing this?
======================

Testing performed
=================

Known bugs/limitations
======================
3 changes: 3 additions & 0 deletions ARCHITECTURE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
todo

context: https://matklad.github.io//2021/02/06/ARCHITECTURE.md.html
1 change: 1 addition & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Be excellent to each other
1 change: 1 addition & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
todo
1 change: 1 addition & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
todo
Empty file added DOCKERFILE
Empty file.
39 changes: 38 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,39 @@
# snn-sound-localization
# SNN Sound Localization

Training spiking neural networks for sound localization

## Workflow

A detailed description can be found in the `CONTRIBUTING.md` file. Briefly, the `notebooks/` directory is a
free-for-all, just try to keep your work in your own notebook to avoid conflicts. When you have a polished piece of work
(e.g. to generate a figure for the paper), open a pull request to add it to the `spikeloc/` directory where the "finished"
code lives. Code must be reviewed before being merged into `spikeloc/`.

If you need help with using git/Github, just ask in the discord and someone will lend a hand!

## Installation

Multiple installation methods are supported: conda (environment.yml), poetry (pyproject.toml), pip
(requirements.txt), docker (DOCKERFILE)

### Conda

1. `conda env create -f environment.yml`
2. `conda activate spikeloc`

### Poetry

1. Install [Poetry](https://python-poetry.org/)
2. (optional) Create a virtualenv: `python -m venv .venv`
3. (optional) Source the newly created virtualenv: `source .venv/bin/activate`
4. Run `poetry install`

### Pip

1. Create a virtualenv: `python -m venv .venv`
2. Source the newly created virtualenv: `source .venv/bin/activate`
3. Run `pip install -r requirements.txt`

## Community

Find us on Discord [here](https://discord.gg/Zpd6RYYyuf)
7 changes: 7 additions & 0 deletions environment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: spikeloc
channels:
- conda-forge
dependencies:
- python>=3.8
- matplotlib
- jupyter
Binary file added notebooks/diagrams/arch-full.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added notebooks/diagrams/arch-membrane.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added notebooks/diagrams/arch-stimuli.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added notebooks/diagrams/auditory-pathways.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1,001 changes: 1,001 additions & 0 deletions notebooks/introduction.ipynb

Large diffs are not rendered by default.

Loading