Skip to content

Conversation

@ViridianForge
Copy link
Contributor

This PR updates the cached property referred to in Requirements.txt to be the Apached Licensed version available from BEL's public repository

Copy link
Collaborator

@jusjusjus jusjusjus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good. Again, we'll change it again once we have cached-property on pypi.

Copy link
Collaborator

@jusjusjus jusjusjus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@ViridianForge ViridianForge merged commit f5a8970 into master Sep 24, 2019
@ViridianForge ViridianForge deleted the reqUpdate branch September 24, 2019 21:56
ViridianForge pushed a commit that referenced this pull request Oct 24, 2019
This commit addresses Issue #1.

Change summary:

* Added classes `mffpy.xml_files.*` to read .xml files.
* Added class `mffpy.raw_bin_files.RawBinFile` to read .bin file.
* Added class `mffpy.Reader` as the main interface for MFF.
* Removed all old MNE files.

Specific description:

* `mffpy.xml_files.Epoch`.  Contains time/duration information and block
indices.  The block indices are now used to access the data, whereas the
time information is, informational with regards to a discontinuous .mff
file.  It's derived from a
`collections.namedtuple("_Epoch","beginTime,endTime,firstBlock,lastBlock")`.

* `mffpy.raw_bin_files.RawBinFile`.  Reads `filename.mff/signal1.bin` files.  In
a static sweep, all header information is extracted.  When accessing
data, the file pointer of data blocks are computed and specifically
read.

* `mffpy.Reader`.  Method `get_physical_samples(t0=None,dt=None) reads
data from `t0` until `t0+dt`.  Property `epochs` exposes
`xml_files.Epochs.epochs`.  Method `get_physical_samples_from_epoch` is
added that receives an instance of `xml_files.Epoch` and returns all
data in it.  Optional arguments `t0`, `dt`, and `channels` can be
provided.  As opposed to `get_physical_samples`, `t0` is relative to
`Epoch.t0`.
ViridianForge pushed a commit that referenced this pull request Oct 24, 2019
Updating requirements to point to public cached-property
ViridianForge pushed a commit that referenced this pull request Oct 24, 2019
This commit addresses Issue #1.

Change summary:

* Added classes `mffpy.xml_files.*` to read .xml files.
* Added class `mffpy.raw_bin_files.RawBinFile` to read .bin file.
* Added class `mffpy.Reader` as the main interface for MFF.
* Removed all old MNE files.

Specific description:

* `mffpy.xml_files.Epoch`.  Contains time/duration information and block
indices.  The block indices are now used to access the data, whereas the
time information is, informational with regards to a discontinuous .mff
file.  It's derived from a
`collections.namedtuple("_Epoch","beginTime,endTime,firstBlock,lastBlock")`.

* `mffpy.raw_bin_files.RawBinFile`.  Reads `filename.mff/signal1.bin` files.  In
a static sweep, all header information is extracted.  When accessing
data, the file pointer of data blocks are computed and specifically
read.

* `mffpy.Reader`.  Method `get_physical_samples(t0=None,dt=None) reads
data from `t0` until `t0+dt`.  Property `epochs` exposes
`xml_files.Epochs.epochs`.  Method `get_physical_samples_from_epoch` is
added that receives an instance of `xml_files.Epoch` and returns all
data in it.  Optional arguments `t0`, `dt`, and `channels` can be
provided.  As opposed to `get_physical_samples`, `t0` is relative to
`Epoch.t0`.
ephathaway pushed a commit that referenced this pull request May 3, 2022
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

Successfully merging this pull request may close these issues.

3 participants