-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from ryanharvey1/10-fix-lazy-loader
fix lazy loader
- Loading branch information
Showing
56 changed files
with
575 additions
and
654 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,4 @@ | ||
from lazy_loader import attach as _attach | ||
import lazy_loader as lazy | ||
|
||
_proto_all_ = [ | ||
"behavior", | ||
"ensemble", | ||
"io", | ||
"lfp", | ||
"plotting", | ||
"process", | ||
"session", | ||
"spikes", | ||
"stats", | ||
"tuning", | ||
] | ||
|
||
__getattr__, __dir__, __all__ = _attach( | ||
__name__, submodules=_proto_all_ | ||
) | ||
|
||
del _attach | ||
(__getattr__, __dir__, __all__) = lazy.attach_stub(__name__, __file__) | ||
del lazy |
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,27 @@ | ||
|
||
__all__ = [ | ||
"behavior", | ||
"ensemble", | ||
"io", | ||
"lfp", | ||
"plotting", | ||
"process", | ||
"session", | ||
"spikes", | ||
"stats", | ||
"tuning", | ||
] | ||
|
||
|
||
from . import ( | ||
behavior, | ||
ensemble, | ||
io, | ||
lfp, | ||
plotting, | ||
process, | ||
session, | ||
spikes, | ||
stats, | ||
tuning, | ||
) |
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,15 +1,4 @@ | ||
from . import cheeseboard | ||
from . import get_trials | ||
from . import linear_positions | ||
from . import linearization_pipeline | ||
from . import kinematics | ||
from . import well_traversal_classification | ||
import lazy_loader as lazy | ||
|
||
__all__ = [ | ||
"cheeseboard", | ||
"get_trials", | ||
"linear_positions", | ||
"linearization_pipeline", | ||
"kinematics", | ||
"well_traversal_classification", | ||
] | ||
(__getattr__, __dir__, __all__) = lazy.attach_stub(__name__, __file__) | ||
del lazy |
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,54 @@ | ||
__all__ = [ | ||
"plot_grid_with_circle_and_random_dots", | ||
"get_linear_maze_trials", | ||
"get_t_maze_trials", | ||
"get_w_maze_trials", | ||
"get_cheeseboard_trials", | ||
"get_openfield_trials", | ||
"get_velocity", | ||
"get_speed", | ||
"linearize_position", | ||
"find_laps", | ||
"peakdetz", | ||
"find_good_laps", | ||
"get_linear_track_lap_epochs", | ||
"find_good_lap_epochs", | ||
"NodePicker", | ||
"paired_distances", | ||
"enter_exit_target", | ||
"enter_exit_target_dio", | ||
"shift_well_enters", | ||
"segment_path", | ||
"find_last_non_center_well", | ||
"get_correct_inbound_outbound", | ||
"score_inbound_outbound", | ||
] | ||
|
||
from .cheeseboard import plot_grid_with_circle_and_random_dots | ||
from .get_trials import ( | ||
get_cheeseboard_trials, | ||
get_linear_maze_trials, | ||
get_openfield_trials, | ||
get_t_maze_trials, | ||
get_w_maze_trials, | ||
) | ||
from .kinematics import get_speed, get_velocity | ||
from .linear_positions import ( | ||
find_good_lap_epochs, | ||
find_good_laps, | ||
find_laps, | ||
get_linear_track_lap_epochs, | ||
linearize_position, | ||
peakdetz, | ||
) | ||
from .linearization_pipeline import NodePicker | ||
from .well_traversal_classification import ( | ||
enter_exit_target, | ||
enter_exit_target_dio, | ||
find_last_non_center_well, | ||
get_correct_inbound_outbound, | ||
paired_distances, | ||
score_inbound_outbound, | ||
segment_path, | ||
shift_well_enters, | ||
) |
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
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,13 +1,4 @@ | ||
from . import assembly_reactivation | ||
from . import assembly | ||
from . import explained_variance | ||
from . import similarity_index | ||
from . import similaritymat | ||
import lazy_loader as lazy | ||
|
||
__all__ = [ | ||
"assembly_reactivation", | ||
"assembly", | ||
"explained_variance", | ||
"similarity_index", | ||
"similaritymat", | ||
] | ||
(__getattr__, __dir__, __all__) = lazy.attach_stub(__name__, __file__) | ||
del lazy |
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,31 @@ | ||
__all__ = [ | ||
"toyExample", | ||
"marcenkopastur", | ||
"getlambdacontrol", | ||
"binshuffling", | ||
"circshuffling", | ||
"runSignificance", | ||
"extractPatterns", | ||
"runPatterns", | ||
"computeAssemblyActivity", | ||
"AssemblyReact", | ||
"ExplainedVariance", | ||
"similarity_index", | ||
"similaritymat", | ||
] | ||
|
||
from .assembly import ( | ||
binshuffling, | ||
circshuffling, | ||
computeAssemblyActivity, | ||
extractPatterns, | ||
getlambdacontrol, | ||
marcenkopastur, | ||
runPatterns, | ||
runSignificance, | ||
toyExample, | ||
) | ||
from .assembly_reactivation import AssemblyReact | ||
from .explained_variance import ExplainedVariance | ||
from .similarity_index import similarity_index | ||
from .similaritymat import similaritymat |
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.