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

Anti-intuitive epoch loader name #24

Open
kushaangupta opened this issue Oct 24, 2024 · 1 comment
Open

Anti-intuitive epoch loader name #24

kushaangupta opened this issue Oct 24, 2024 · 1 comment

Comments

@kushaangupta
Copy link
Collaborator

Given the returned dataframe output, it is expected by the user to load_epochs

def load_epoch(basepath: str) -> pd.DataFrame:

@ryanharvey1
Copy link
Owner

For this method, we are loading session epochs

data["session"]["epochs"]

which is a table containing

  "name",
  "startTime",
  "stopTime",
  "environment",
  "manipulation",
  "behavioralParadigm",
  "stimuli",
  "notes",

For each session epoch

Thus, we need such a descriptive output as opposed to simple intervals.

We can add an optional second output, which is an nel.EpochArray that corresponds to the table. Also, we could add an alias if you want a more descriptive method name. load_session_epochs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants