Skip to content

Reader and writer for Funwave file format#36

Merged
rafa-guedes merged 12 commits intomasterfrom
fw
May 29, 2021
Merged

Reader and writer for Funwave file format#36
rafa-guedes merged 12 commits intomasterfrom
fw

Conversation

@rafa-guedes
Copy link
Copy Markdown
Collaborator

No description provided.

zip archive defined by replacing the extension of `filename` by ".zip".

"""
darr = self.efth.sortby(attrs.DIRNAME)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Consider adding as a property:

spec.n_spectra
spec.is_oned

@rafa-guedes
Copy link
Copy Markdown
Collaborator Author

@RubendeBruin what do you have in mind regarding these attributes? I guess is_oned could be inferred based on dir coordinate, it will be oned if the SpecArray will not have it or if it is of size 1. I'm not sure what you meant with n_spectra.

@rafa-guedes
Copy link
Copy Markdown
Collaborator Author

@RubendeBruin I added support to Funwave 1D reading / writing. It will deal naturally with that if the underlying dataset being written or file being read are 1D.

@rafa-guedes rafa-guedes merged commit 51c2f97 into master May 29, 2021
@rafa-guedes rafa-guedes deleted the fw branch June 1, 2021 08:27
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.

2 participants