AllenNeuropixelsBase.VisualBehavior.filetreeMethod
filetree(paths::Vector{String})

Creates a dictionary-like object representing the directory and file structure from a list of file paths.

Arguments:

  • paths: A vector of file paths to include in the tree.

Returns:

  • dict_tree : A dictionary-like object representing the directory and file structure.
AllenNeuropixelsBase.VisualBehavior.getmanifesturlFunction
getmanifesturl(manifest_version="0.5.0")

Return the URL for the neuropixels visual behavior project manifest file hosted on a given hostname server and version manifest_version.

Arguments

  • manifest_version::String: The version of the manifest file. Default value is "0.5.0".

Other manifest version numbers can be identified here: https://s3.console.aws.amazon.com/s3/buckets/visual-behavior-neuropixels-data?prefix=visual-behavior-neuropixels%2Fmanifests%2F&region=us-west-2

AllenNeuropixelsBase._getlfpMethod

Get the lfp data for a probe, providing indices for channels and times. See function below for indexing by channel ids and time values/intervals

AllenNeuropixelsBase.alignlfpMethod

For flashes alignment, trail=false will return only the data from within the flash period. trail=onset will return the data from the onset of the flash to the onset of the flash through to the onset of the next flash. trail=offset will return the data from the offset of the flash to the onset of the next flash.

AllenNeuropixelsBase.getdownsampledlfpMethod

If you want to downsample the LFP data, its quicker to use this function and then perform slicing afterwards (since getlfp() has to check all of the time coordinates you supply, which can be slow).

AllenNeuropixelsBase.getlfpMethod

This is the one you should be using. Get lfp data by channel id and time intervals or vector. Also, throw error if you try to access an invalid time interval.

AllenNeuropixelsBase.getprobesMethod
`getprobes()`

Read the probe data from the EcephysProjectCache object returned by ecephyscache() and return it as a DataFrame.

Returns

A DataFrame containing the probe data.

AllenNeuropixelsBase.getsessiontableMethod

getsessiontable — Read and return the session table from the EcephysProjectCache

`getsessiontable()`

Read the session table data from the EcephysProjectCache object returned by ecephyscache and returns it as a DataFrame.

AllenNeuropixelsBase.loaddataframeFunction
loaddataframe(file, dir=datadir)::DataFrame

Load a CSV file into a DataFrame.

Arguments:

  • file: A string representing the name of the CSV file to be loaded.
  • dir (optional): A string representing the directory containing the CSV file. Default is datadir.

Returns:

A DataFrame object containing the contents of the CSV file.

Example:

using DataFrames
df = loaddataframe("mydata.csv", "/path/to/my/data/")