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

Added stokes_data public method #751

Merged
merged 14 commits into from
Nov 3, 2021

Commits on Oct 5, 2021

  1. Added stokes_data public method

    It was previously not possible to cleanly access the underlying data of
    a `StokesSpectralCube`, which only had the `_stokes_data` method. This
    commit implements a simple `StokesSpectralCube.stokes_data` method for
    public access.
    Kitchi committed Oct 5, 2021
    Configuration menu
    Copy the full SHA
    feecc04 View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2021

  1. Avoid memory issues when computing statistics

    For some reason, reshaping the array then running map_blocks leads to memory issues when dealing with Numpy memory mapped arrays, e.g. with FITS files. This new approach avoids reshaping the array at all.
    astrofrog committed Oct 7, 2021
    Configuration menu
    Copy the full SHA
    b949046 View commit details
    Browse the repository at this point in the history
  2. Added changelog entry

    astrofrog committed Oct 7, 2021
    Configuration menu
    Copy the full SHA
    8c52bb1 View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2021

  1. Merge pull request radio-astro-tools#752 from astrofrog/perf-stats

    Avoid memory issues when computing statistics
    keflavich authored Oct 21, 2021
    Configuration menu
    Copy the full SHA
    14e7425 View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2021

  1. Don't use bottleneck in statistics() as it has a memory leak for big-…

    …endian data and provides no performance improvements
    astrofrog committed Oct 26, 2021
    Configuration menu
    Copy the full SHA
    912e5dd View commit details
    Browse the repository at this point in the history
  2. Merge pull request radio-astro-tools#753 from astrofrog/perf-stats-2

    Don't use bottleneck in statistics()
    keflavich authored Oct 26, 2021
    Configuration menu
    Copy the full SHA
    26f3f1a View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2021

  1. Implemented dict-like access for Stokes axes

    As per the second suggestion in radio-astro-tools#750 - the Stokes data can now be
    accessed via cube['I'], cube['Q'] etc.
    
    Assigning new keys is not yet supported and will throw
    NotImplementedError if attempted.
    Kitchi committed Nov 2, 2021
    Configuration menu
    Copy the full SHA
    0a5f2d4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    daababa View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    63fdec6 View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2021

  1. Merge pull request radio-astro-tools#759 from e-koch/fix_tox_skipping

    Remove if statement that stops tox from running tests
    e-koch authored Nov 3, 2021
    Configuration menu
    Copy the full SHA
    8d1a844 View commit details
    Browse the repository at this point in the history
  2. Added stokes_data public method

    It was previously not possible to cleanly access the underlying data of
    a `StokesSpectralCube`, which only had the `_stokes_data` method. This
    commit implements a simple `StokesSpectralCube.stokes_data` method for
    public access.
    Kitchi authored and preshanth committed Nov 3, 2021
    Configuration menu
    Copy the full SHA
    a48f15b View commit details
    Browse the repository at this point in the history
  3. Implemented dict-like access for Stokes axes

    As per the second suggestion in radio-astro-tools#750 - the Stokes data can now be
    accessed via cube['I'], cube['Q'] etc.
    
    Assigning new keys is not yet supported and will throw
    NotImplementedError if attempted.
    Kitchi authored and preshanth committed Nov 3, 2021
    Configuration menu
    Copy the full SHA
    e654714 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b52633e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7ae5310 View commit details
    Browse the repository at this point in the history