forked from oist/optinist
-
Notifications
You must be signed in to change notification settings - Fork 3
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
add algo docs #232
Open
ReiHashimoto
wants to merge
17
commits into
develop-main
Choose a base branch
from
feature/autodoc
base: develop-main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
add algo docs #232
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
a807320
update current docstrings to Google style
ReiHashimoto 404bb6d
setup autodoc_pydantic
ReiHashimoto 7f1e166
add algorithm doc pages
ReiHashimoto 25be449
get data as ParamMap
ReiHashimoto 202e77a
use algo template
ReiHashimoto e309dae
apply to caiman
ReiHashimoto 0b6f37b
apply to suite2p
ReiHashimoto cfda5cf
apply to lccd
ReiHashimoto eaaf5a0
use static method
ReiHashimoto 48e2361
apply to optinist algo
ReiHashimoto be6b178
use alias for reserved keywords
ReiHashimoto a0a4cbd
update test codes
ReiHashimoto 5a5787b
update dependencies
ReiHashimoto 3689d87
Merge remote-tracking branch 'origin/develop-main' into feature/autodoc
ReiHashimoto c198ac1
update autodoc module deps
ReiHashimoto bee0a84
add description to do_refit in caiman
ReiHashimoto 3be4dd9
add prefix to params
ReiHashimoto File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
CaImAn | ||
====== | ||
|
||
caiman\_cnmf | ||
------------ | ||
|
||
.. automodule:: studio.app.optinist.wrappers.caiman.cnmf | ||
:members: | ||
:undoc-members: | ||
|
||
caiman\_cnmfe | ||
------------- | ||
|
||
.. automodule:: studio.app.optinist.wrappers.caiman.cnmfe | ||
:members: | ||
:undoc-members: | ||
|
||
caiman\_motion\_correction | ||
-------------------------- | ||
|
||
.. automodule:: studio.app.optinist.wrappers.caiman.motion_correction | ||
:members: | ||
:undoc-members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
********** | ||
ALGORITHMS | ||
********** | ||
|
||
.. toctree:: | ||
:maxdepth: 2 | ||
|
||
caiman | ||
suite2p | ||
lccd | ||
|
||
.. toctree:: | ||
:maxdepth: 3 | ||
|
||
optinist/index |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Lccd | ||
==== | ||
|
||
lccd\_detection | ||
--------------- | ||
|
||
.. automodule:: studio.app.optinist.wrappers.lccd.lccd_detection | ||
:members: | ||
:undoc-members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
Basic Neural Analysis | ||
===================== | ||
|
||
cell\_grouping | ||
-------------- | ||
|
||
.. automodule:: studio.app.optinist.wrappers.optinist.basic_neural_analysis.cell_grouping | ||
:members: | ||
:undoc-members: | ||
|
||
eta | ||
--- | ||
|
||
.. automodule:: studio.app.optinist.wrappers.optinist.basic_neural_analysis.eta | ||
:members: | ||
:undoc-members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
Dimension Reduction | ||
================== | ||
|
||
cca | ||
--- | ||
|
||
.. automodule:: studio.app.optinist.wrappers.optinist.dimension_reduction.cca | ||
:members: | ||
:undoc-members: | ||
|
||
dpca\_fit | ||
--------- | ||
|
||
.. automodule:: studio.app.optinist.wrappers.optinist.dimension_reduction.dpca_fit | ||
:members: | ||
:undoc-members: | ||
|
||
pca | ||
--- | ||
|
||
.. automodule:: studio.app.optinist.wrappers.optinist.dimension_reduction.pca | ||
:members: | ||
:undoc-members: | ||
|
||
tsne | ||
---- | ||
|
||
.. automodule:: studio.app.optinist.wrappers.optinist.dimension_reduction.tsne | ||
:members: | ||
:undoc-members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
********** | ||
OptiNiSt | ||
********** | ||
|
||
.. toctree:: | ||
:maxdepth: 2 | ||
|
||
basic_neural_analysis | ||
dimension_reduction | ||
neural_decoding | ||
neural_population_analysis |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
Neural Decoding | ||
=============== | ||
|
||
glm | ||
--- | ||
|
||
.. automodule:: studio.app.optinist.wrappers.optinist.neural_decoding.glm | ||
:members: | ||
:undoc-members: | ||
|
||
lda | ||
--- | ||
|
||
.. automodule:: studio.app.optinist.wrappers.optinist.neural_decoding.lda | ||
:members: | ||
:undoc-members: | ||
|
||
svm | ||
--- | ||
|
||
.. automodule:: studio.app.optinist.wrappers.optinist.neural_decoding.svm | ||
:members: | ||
:undoc-members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
Neural Population Analysis | ||
========================== | ||
|
||
correlation | ||
----------- | ||
|
||
.. automodule:: studio.app.optinist.wrappers.optinist.neural_population_analysis.correlation | ||
:members: | ||
:undoc-members: | ||
|
||
cross\_correlation | ||
------------------ | ||
|
||
.. automodule:: studio.app.optinist.wrappers.optinist.neural_population_analysis.cross_correlation | ||
:members: | ||
:undoc-members: | ||
|
||
granger | ||
------- | ||
|
||
.. automodule:: studio.app.optinist.wrappers.optinist.neural_population_analysis.granger | ||
:members: | ||
:undoc-members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
Suite2p | ||
======= | ||
|
||
suite2p\_file\_convert | ||
---------------------- | ||
|
||
.. automodule:: studio.app.optinist.wrappers.suite2p.file_convert | ||
:members: | ||
:undoc-members: | ||
|
||
suite2p\_registration | ||
--------------------- | ||
|
||
.. automodule:: studio.app.optinist.wrappers.suite2p.registration | ||
:members: | ||
:undoc-members: | ||
|
||
suite2p\_roi | ||
------------ | ||
|
||
.. automodule:: studio.app.optinist.wrappers.suite2p.roi | ||
:members: | ||
:undoc-members: | ||
|
||
suite2p\_spike\_deconv | ||
---------------------- | ||
|
||
.. automodule:: studio.app.optinist.wrappers.suite2p.spike_deconv | ||
:members: | ||
:undoc-members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
import { BASE_URL } from "const/API" | ||
import axios from "utils/axios" | ||
import { ParamDTO } from "utils/param/ParamType" | ||
import { ParamMap } from "utils/param/ParamType" | ||
|
||
export async function getNWBParamsApi(): Promise<ParamDTO> { | ||
export async function getNWBParamsApi(): Promise<ParamMap> { | ||
const response = await axios.get(`${BASE_URL}/nwb`) | ||
return response.data | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
import { BASE_URL } from "const/API" | ||
import axios from "utils/axios" | ||
import { ParamDTO } from "utils/param/ParamType" | ||
import { ParamMap } from "utils/param/ParamType" | ||
|
||
export async function getAlgoParamsApi(algoName: string): Promise<ParamDTO> { | ||
export async function getAlgoParamsApi(algoName: string): Promise<ParamMap> { | ||
const response = await axios.get(`${BASE_URL}/params/${algoName}`) | ||
return response.data | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
import { BASE_URL } from "const/API" | ||
import axios from "utils/axios" | ||
import { ParamDTO } from "utils/param/ParamType" | ||
import { ParamMap } from "utils/param/ParamType" | ||
|
||
export async function getSnakemakeParamsApi(): Promise<ParamDTO> { | ||
export async function getSnakemakeParamsApi(): Promise<ParamMap> { | ||
const response = await axios.get(`${BASE_URL}/snakemake`) | ||
return response.data | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ノード関数ファイルの編集方法(以下での説明内容)のテキストは、docs の配下への格納でしょうか。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
こちらToDo漏れていましたね、そちらのドキュメントを更新します。