Skip to content

Releases: spacetelescope/astrocut

v1.1.0

15 Sep 20:52
6115fbb

Choose a tag to compare

Thank you to all of our contributors who worked on this Astrocut release.

Some of the highlights for this minor release include:

  • By default, ASDFCutout makes cutouts of all arrays in the input file (e.g., data, error, uncertainty, variance, etc.)
    where the last two dimensions match the shape of the science data array. [#158]
  • By default, ASDF cutouts now preserve all metadata from the input file. [#158]
  • Add lite parameter to ASDFCutout to create minimal cutouts with only the science data and updated world coordinate system. [#158]
  • Add history entry to ASDF cutouts specifying the cutout shape and center coordinates. [#158]
  • Remove TICA (TESS Image Calibration) as an option for the product parameter in TessFootprintCutout. [#161]
  • Deprecate the TicaCubeFactory class. [#161]
  • Deprecate the product parameter in the TessCubeCutout class, the TessFootprintCutout class, the cube_cut function,
    the CutoutFactory.cube_cut function, and the cube_cutout_from_footprint function. [#161]
  • Bugfix for transposed GWCS bounding box for ASDF cutouts. [#160]
  • Bugfix to correct array_shape and pixel_shape for GWCS objects. [#160]

Please see the Astrocut Documentation for details on the utility of this package.

If you have any questions/comments, please reach out to us through a GitHub issue, or by e-mailing archive@stsci.edu.

Thank you for using Astrocut!

What's Changed

  • Update CI workflow to use codecov token by @snbianco in #156
  • Bump codecov/codecov-action from 5.4.2 to 5.4.3 in /.github/workflows in the actions group by @dependabot[bot] in #157
  • Bugfix for flipped axes in GWCS bounding box by @snbianco in #160
  • Bump the actions group in /.github/workflows with 3 updates by @dependabot[bot] in #163
  • Preserve other ASDF data, add lite mode by @snbianco in #158
  • Remove TICA option from TESS footprint cutouts, deprecate product parameter by @snbianco in #161

Full Changelog: v1.0.1...v1.1.0

v1.0.1

12 May 15:34
122e26a

Choose a tag to compare

This is a patch release to fix the following bugs:

  • Bugfix so that the bounding box of the world coordinate system is not set to None in get_center_pixel [#154].
  • Bugfix to make deep copies of ASDF file data to avoid potential issues with links to the original ASDF input object [#154].
  • Updated the versions of asdf and roman_datamodels in package dependencies [#154].

What's Changed

Full Changelog: v1.0.0...v1.0.1

v1.0.0

28 Apr 16:57
54dfa6f

Choose a tag to compare

Special thanks to everyone who contributed to this major refactor! Your work helps make Astrocut more powerful, more flexible, and easier to maintain for the astronomical community.

Please see the Astrocut Documentation for details on the utility of this package.

If you have any questions/comments, please reach out to us through a GitHub issue, or by e-mailing archive@stsci.edu.

Thank you for using Astrocut!

Highlights

  • Generalized Architecture for Cutouts:
Astrocut’s internal structure has been refactored to flexibly support new missions, data formats, and workflows.
  • Image Cutouts:
Generate 2D image cutouts from both FITS and ASDF files with consistent metadata handling and flexible output options.
  • Cube Cutouts:
Generate cutouts from 3D data cubes (such as TESS FFIs) while preserving WCS information.
  • Footprint-Based Cutouts:
Create cutouts based on a target footprint from cloud-hosted data.
  • Cloud Data Access:
TESS footprint cutouts now access data directly from MAST's public data bucket on Amazon S3.
  • Documentation Updates: Updated and reorganized documentation to reflect the generalized framework, new classes, and workflow examples.

Major Changes

  • The FITSCutout class creates 2D cutouts from FITS files, preserving WCS information and offering flexible output options.
  • The ASDFCutout class creates 2D cutouts from ASDF files, preserving WCS information and offering flexible output options.
  • The TessCubeCutout class generates a 3D cutout from a TESS Full Frame Image cube and now supports in-memory output.
  • The TessFootprintCutout class creates 3D cutouts from TESS data cubes based on sky coordinate footprints and now supports in-memory output.

Deprecations

  • Deprecated output_file parameter in asdf_cut in favor of making outputs from a batch of input files.
  • Deprecated correct_wcs parameter in fits_cut as non-operational.

Bug Fixes

  • Resolved a bug where ASDF cutouts would inadvertently store excessive amounts of data.
  • Fixed a bug in TicaCubeFactory that was opening files in a loop while updating the data cube's info table.

New Contributors

Full Changelog: v0.12.0...v1.0.0

v0.12.0

21 Jan 19:00
7b204f0

Choose a tag to compare

Thank you to all of our contributors who worked on this Astrocut release.

Some of the highlights for this patch release include:

  • Implement and document cube_cut_from_footprint() function to generate cutouts from image cube files hosted on the S3 cloud. [#127]
  • Add documentation about odd vs. even cutout sizes in asdf_cut(). [#128]
  • Bugfix when attempting to input TICA product files in CubeFactory(). [#129]
  • Add a logging framework. [#131]
  • Improve performance of image cutouts by using the section attribute of ImageHDU objects. [#132]
  • Bugfix when writing multiple output files to memory in fits_cut(). [#132]

Please see the Astrocut Documentation for details on the utility of this package.

If you have any questions/comments, please reach out to us through a GitHub issue, or by e-mailing archive@stsci.edu.

Thank you for using Astrocut!

New Contributors

Full Changelog: v0.11.1...v0.12.0

v0.11.1

31 Jul 13:58
1d3120e

Choose a tag to compare

Thank you to all of our contributors who worked on this Astrocut release.

Some of the highlights for this patch release include:

  • A bugfix for opening ASDF files from a public or private S3 bucket.
  • Users can now supply credentials for a private S3 bucket.
  • Support for pathlib.Path and s3path.S3Path objects as input to asdf_cut method.

Please see the Astrocut Documentation for details on the utility of this package.

If you have any questions/comments, please reach out to us through a GitHub issue, or by e-mailing archive@stsci.edu.

Thank you for using Astrocut!

What's Changed

Full Changelog: v0.11.0...v0.11.1

v0.11.0

28 May 12:28
29ee109

Choose a tag to compare

Thank you to all of our contributors who worked on this Astrocut release.

Some of the highlights for this newest release include:

  • The asdf_cut method implements cutout functionality for the Advanced Scientific Data Format (ASDF).
    • The method supports cutout creation from cloud files.
    • The resulting cutout can be outputted in FITS or ASDF format.
    • The original cutout shape is preserved when requesting a cutout that is partially outside of image bounds.
  • Python 3.8 is no longer supported.

Please see the Astrocut Documentation for details on the utility of these new features.

If you have any questions/comments, please reach out to us through a GitHub issue, or by e-mailing archive@stsci.edu.

Thank you for using Astrocut!

What's Changed

  • Drop python 3.8 support (#112)
  • New Feature: ASDF Cutout Functionality (#105)
  • Bug fix for asdf cutouts with data as astropy quantity (#114)
  • Updates to asdf cutout for edge cases (#115)
  • Adds option for cutout output to asdf file (#116)
  • Handle an s3 URI in asdf_cut() (#117)
  • Update CHANGES.rst to reflect v0.10.0 release (#109)
  • Update docs to reflect v0.11.0 release (#118)

New Contributors

Full Changelog: v0.10.0...v0.11.0

v0.10.0

23 Oct 15:12
443a9b9

Choose a tag to compare

Thank you to all of our contributors who worked on this Astrocut release.

Some of the highlights for this newest release include:

  • A new class (TicaCubeFactory) has been added to Astrocut's cube-making functionality to allow for cubes to be generated from TICA FFIs, in addition to the original TESS SPOC FFIs.
  • Similarly, Astrocut's CutoutFactory has now been generalized to make cutouts out of these TICA FFI cubes as well.
  • Cloud functionality has been added to CutoutFactory and fits_cut to enable cutout creation directly from the cloud using TESS cubes and FITS files, respectively.
  • Enhancements to CutoutFactory's cloud access functionality were made to allow for faster cutout processing.

Please see the Astrocut Documentation for details on the utility of these new features.

If you have any questions/comments, please reach out to us through a GitHub issue, or by e-mailing archive@stsci.edu.

Thank you for using Astrocut!


What's Changed

  • Addition of check for cutout existing before continuing (#52)
  • Fixing broken tests from GitHub Actions CI run (#56)
  • Fixing error resulting from forward slash in target name (#55)
  • MNT: Update codecov-action version to v2 (#53)
  • Make cubes out of TICA FFIs (#59)
  • Make cutouts out of TICA cubes (#60)
  • Fixed bug not catching duplicate ffis (#69)
  • max_memory arg added to update_cube (#71)
  • Hotfix for cube_cut checking for valid WCS info (#70)
  • Cloud support (#76)
  • Fixup github ci (#80)
  • Error handling for CubeFactory and TicaCubeFactory (#85)
  • Cutout in threadpool (#84)
  • Documenting multithreading enhancement (#86)
  • Removing error array dimension from TicaCubeFactory (#87)
  • Adapting CutoutFactory to account for error-less TICA Cubes (#88)
  • Updating .readthedocs.yml with Python3.11 (#89)
  • Update cube and cutout unittests (#90)
  • Update docs to reflect changes in TICA cube format (#93)
  • Cloud functionality for astrocut.fits_cut() (#95)
  • Decommissioning update_cube for now (#100)
  • Use GitHub Actions for publishing new releases to PyPI (#97)
  • Updating deprecated license_file kwd (#103)
  • Updating syntax in README.rst (#104)
  • Updated README (#108)

New Contributors

Full Changelog: v0.9...v0.10.0

v0.10.0.dev

06 Oct 19:05
9c29d46

Choose a tag to compare

v0.10.0.dev Pre-release
Pre-release
Use GitHub Actions for publishing new releases to PyPI (#97)

* Initial commit: Template PyPI publishing workflow YML

* Changing repository_owner name

* .

* Updating owner name

* Adding long_description and long_description_type to setup.py

* README ext typo

* Upload to test-pypi on every commit

* Removing github repo owner conditional for test-pypi publication

* Removing repository URL

* Changing event to pull_request for test pypi release

* Adding repository-url back into test job, and github.repo_owner

* Adding a tag

* .

* .

* Adding skip_existing=True for test-pypi release because I dont care about duplicate releases on test-pypi as I troubleshoot

* using kebab-case

* .

* .

* Adding conditional to test-pypi job to only release after merge to main

* Removing unnecessary string manipulation on setup.py

* Renaming for clarity

* .

* .

* changing event_name

* typo in tags name

* Reverting test-pypi job to trigger on merge to main

* Changing long_description_content_type

* Rewritten workflow incorporating OpenAstronomy publishing github action

* Removing upload_to_pypi arg and moving over a set of comments

* Adding permissions

* .

* Testing make_tag job

* Adding a delete_tag job; renaming jobs; adding comments; etc

* Testing make_and_push_tag

* .

* Adding checkout option

* changing actions/checkout version

* .

* .

* Attempting to push tag with another gh action

* Changing fetch depth

* .

* Updating permissions

* if: always() for delete_tag

* Updating comments. Fixing delete_tag

* Removing local deletion of

* .

* fetching tags before deletion

* .

* publish_pure_python

* Add github token

* Modifying upload_to_pypi for both major jobs

* Removing upload_to_pypi since default is refs/tags/v

* Editing upload_to_pypi for test.pypi job

* .

* Just forcing an upload to test-pypi

* .

* .

* adding secrets

* echo

* .

* reverting to only release to test.pypi when merge to main

* Reverted to a simple workflow to build, test, and publish to pypi

* Making the job get triggered for tags created and pushed that start with v

* Updates test_extras and test_command. removed trigger to run when branch is pushed.

* Ignore tags with dev, pre, post in the name

* typo

* Removing ignore-tags lines

* adding secrets credentials

* Removing id-token write perm

* Updating test_command

* adding pyargs

* Changing secret to PYPI_TOKEN, the API Token I generated on PyPI

* Updated readme

* Ben readme suggestions

Co-authored-by: Ben Falk <653031+falkben@users.noreply.github.com>

---------

Co-authored-by: Ben Falk <653031+falkben@users.noreply.github.com>