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

Add xarray backend for Igor Pro files #60

Draft
wants to merge 37 commits into
base: main
Choose a base branch
from
Draft

Add xarray backend for Igor Pro files #60

wants to merge 37 commits into from

Commits on Sep 4, 2024

  1. style: sort __all__ block

    kmnhan committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    46eda42 View commit details
    Browse the repository at this point in the history
  2. feat(io): add xarray backend for igor files

    `.pxt`, `.pxp`, and `.ibw` files can now be opened with xarray methods such as `xr.open_dataset` and `xr.open_dataarray`. See the updated user guide for more information.
    kmnhan committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    1fe5ca5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6647a60 View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2024

  1. Configuration menu
    Copy the full SHA
    0aabb4e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d08c095 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    91b688d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    891c4ee View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    165dc4c View commit details
    Browse the repository at this point in the history
  6. refactor(io): deprecate calling igor functions from top level namespace

    Calling `erlab.io.load_wave` and `erlab.io.load_experiment` is deprecated. When writing new code, use `xarray.load_dataarray` and `xarray.load_dataset` instead.
    kmnhan committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    bb8af7c View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2024

  1. docs: change badge style

    kmnhan committed Sep 7, 2024
    Configuration menu
    Copy the full SHA
    20b3c02 View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2024

  1. Configuration menu
    Copy the full SHA
    b2713b6 View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2024

  1. Configuration menu
    Copy the full SHA
    0f2cb1c View commit details
    Browse the repository at this point in the history
  2. docs: cleanup

    kmnhan committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    0eadaa5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6c7a4c4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    88cd924 View commit details
    Browse the repository at this point in the history
  5. refactor(io): implement metaclass

    Whenever the `identify()` method failed to find any files, subclasses had to explicitly raise `FileNotFoundError`. This resulted in a lot of boilerplate code and ambiguous error messages. Now, all subclasses can just return `None` in `identify()` when no files are found. The appropriate error is automatically raised.
    kmnhan committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    e787b1c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    007eedb View commit details
    Browse the repository at this point in the history
  7. fix(io): disable memmapping when loading data

    Memmapping seemed to interfere loading multiple files when called through ipywidgets.
    kmnhan committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    c39da1b View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    79597bf View commit details
    Browse the repository at this point in the history
  9. docs(io): update docstrings

    kmnhan committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    ac37328 View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2024

  1. Configuration menu
    Copy the full SHA
    b6d6574 View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2024

  1. Configuration menu
    Copy the full SHA
    1f6716f View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2024

  1. docs: update docstring

    kmnhan committed Sep 14, 2024
    Configuration menu
    Copy the full SHA
    6ad54f8 View commit details
    Browse the repository at this point in the history
  2. refactor(io.dataloader): only allow real file or folder names as input

    The previous behavior allowed passing `f_001.pxt` to load `f_001_S001.pxt`, `f_001_S002.pxt`... but this was confusing since there is no file named `f_001.pxt`. This commit disallows such input.
    kmnhan committed Sep 14, 2024
    Configuration menu
    Copy the full SHA
    b9a59cc View commit details
    Browse the repository at this point in the history
  3. refactor(io): allow missing alpha coord

    Validation checks will not warn about missing detector angle, allowing XPS measurements.
    kmnhan committed Sep 14, 2024
    Configuration menu
    Copy the full SHA
    c9deed4 View commit details
    Browse the repository at this point in the history
  4. refactor(io): remove renaming steps from load_single in multi-file …

    …loaders
    
    Combining before renaming coords should be more straightforward
    kmnhan committed Sep 14, 2024
    Configuration menu
    Copy the full SHA
    542f4f2 View commit details
    Browse the repository at this point in the history
  5. feat(io.dataloader): add formatters

    A new attribute named `formatters` and a new method `get_formatted_attr_or_coord` has been added to loaders. This allows custom per-attribute pretty-printing behavior.
    kmnhan committed Sep 14, 2024
    Configuration menu
    Copy the full SHA
    2ee9a4a View commit details
    Browse the repository at this point in the history
  6. test: fix some failing tests

    kmnhan committed Sep 14, 2024
    Configuration menu
    Copy the full SHA
    27d059a View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2024

  1. docs: update docstrings

    kmnhan committed Sep 16, 2024
    Configuration menu
    Copy the full SHA
    93f498a View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2024

  1. Configuration menu
    Copy the full SHA
    7bfb7d0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6f967d8 View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2024

  1. Configuration menu
    Copy the full SHA
    8daabb8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    27d94e8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3fb3ff5 View commit details
    Browse the repository at this point in the history
  4. docs(io): update docstrings

    kmnhan committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    4b8c76d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6e28ac2 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2024

  1. Configuration menu
    Copy the full SHA
    bb36298 View commit details
    Browse the repository at this point in the history