Skip to content

Commit

Permalink
refactoring h01.py and microns.py / add example notebook for h01 inte…
Browse files Browse the repository at this point in the history
…rface
  • Loading branch information
jinhan committed Sep 17, 2024
1 parent f9c0d13 commit 25f8fde
Show file tree
Hide file tree
Showing 4 changed files with 405 additions and 732 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,51 +7,15 @@


# %%
## For Dev, clear cache and reload module
# import navis
# import importlib
# import navis.interfaces.h01 as h01
# importlib.reload(h01)
import navis
import navis.interfaces.h01 as h01

# %%
## Examples in using Navis interface for H01 dataset


# %%
auth = h01.Authentication()

# %%
## Scenario 1: Completely new user of H01 dataset

# %%
auth.setup_token(make_new=True)

# %%
auth.save_token(token=, overwrite=True)

# %%
# %%
client = h01.get_cave_client()

# %%
## Scenario 2: Existing user, new computer

# %%
auth.setup_token(make_new=False)

# %%
auth.save_token(token=, overwrite=True)

# %%
client = h01.get_cave_client()

# %%
## Get CAVE client after setting up your token in your computer

# %%
client = h01.get_cave_client()

# %%
## Query Tables
Expand Down
Loading

0 comments on commit 25f8fde

Please sign in to comment.