Recent Releases of astrophot

astrophot - v0.17.0-beta.2

What's Changed

  • Now AstroPhot works with JAX too! Nearly all AstroPhot elements behave identically, missing isothermal edgeon model due to lack of Bessel functions in JAX.
  • Added JAX with AstroPhot tutorial, just getting started tutorial but with JAX and some comments on using AstroPhot-JAX

  • Bump actions/checkout from 4 to 5 by @dependabot[bot] in https://github.com/Autostronomy/AstroPhot/pull/273

  • Bump actions/download-artifact from 4 to 5 by @dependabot[bot] in https://github.com/Autostronomy/AstroPhot/pull/271

  • Add a JAX backend by @ConnorStoneAstro in https://github.com/Autostronomy/AstroPhot/pull/272

Full Changelog: https://github.com/Autostronomy/AstroPhot/compare/v0.17.0-beta.1...v0.17.0-beta.2

- Python
Published by ConnorStoneAstro 6 months ago

astrophot - v0.17.0-beta.1

What's Changed

  • Considerably more documentation and more complete docstrings
  • New tutorials for Poisson noise and SIP distortions
  • cleanup some unused functions

Full Changelog: https://github.com/Autostronomy/AstroPhot/compare/v0.17.0-beta.0...v0.17.0-beta.1

- Python
Published by ConnorStoneAstro 7 months ago

astrophot - v0.17.0-beta.0

Major breaking changes!

Essentially every element of AstroPhot has been reworked. See the tutorials for details, there are many small syntax changes to be less clunky. Many new functionalities/capabilities come with being connected to caskade.

What's Changed

  • fix: Plot target wasnt working for pure noise image, also added total magnitude and uncertainty by @ConnorStoneAstro in https://github.com/Autostronomy/AstroPhot/pull/260
  • Major update: convert to caksade parameter management system by @ConnorStoneAstro in https://github.com/Autostronomy/AstroPhot/pull/265
  • refactor: update to SciPy SPEC requirements by @ConnorStoneAstro in https://github.com/Autostronomy/AstroPhot/pull/212

Full Changelog: https://github.com/Autostronomy/AstroPhot/compare/v0.16.12...v0.17.0-beta.0

- Python
Published by ConnorStoneAstro 7 months ago

astrophot - v0.16.13

What's Changed

  • AstroPhot gives total magnitude and uncertainty now by @ConnorStoneAstro in https://github.com/Autostronomy/AstroPhot/pull/261
  • fix plotting error for pure noise target images

Full Changelog: https://github.com/Autostronomy/AstroPhot/compare/v0.16.12...v0.16.13

- Python
Published by ConnorStoneAstro 11 months ago

astrophot - v0.16.12

What's Changed

  • fix: remove forced setting of target for group models by @ConnorStoneAstro in https://github.com/Autostronomy/AstroPhot/pull/258

Full Changelog: https://github.com/Autostronomy/AstroPhot/compare/v0.16.11...v0.16.12

- Python
Published by ConnorStoneAstro 12 months ago

astrophot - v0.16.11

What's Changed

  • fix: group model initialization had wrong order for psf_mode by @ConnorStoneAstro in https://github.com/Autostronomy/AstroPhot/pull/256

Full Changelog: https://github.com/Autostronomy/AstroPhot/compare/v0.16.10...v0.16.11

- Python
Published by ConnorStoneAstro 12 months ago

astrophot - v0.16.10

What's Changed

  • fix: docs: fix dtype for psf in fit files docs by @ConnorStoneAstro in https://github.com/Autostronomy/AstroPhot/pull/251
  • fix: fixing psf group normalization by @ConnorStoneAstro in https://github.com/Autostronomy/AstroPhot/pull/255

Full Changelog: https://github.com/Autostronomy/AstroPhot/compare/v0.16.9...v0.16.10

- Python
Published by ConnorStoneAstro 12 months ago

astrophot - v0.16.9

What's Changed

  • fix: Fix upsampled PSF models by @ConnorStoneAstro in https://github.com/Autostronomy/AstroPhot/pull/247

now when supplying a PSF with an upsampled pixelscale, a bug will not produce the wrong upsample_psf scale internally.

Full Changelog: https://github.com/Autostronomy/AstroPhot/compare/v0.16.8...v0.16.9

- Python
Published by ConnorStoneAstro 12 months ago

astrophot - v0.16.8

What's Changed

  • fix: median profile binning now with proper units by @ConnorStoneAstro in https://github.com/Autostronomy/AstroPhot/pull/245
  • chore: update pre-commit hooks by @pre-commit-ci in https://github.com/Autostronomy/AstroPhot/pull/242
  • Bump pypa/gh-action-pypi-publish from 1.12.3 to 1.12.4 by @dependabot in https://github.com/Autostronomy/AstroPhot/pull/240

Full Changelog: https://github.com/Autostronomy/AstroPhot/compare/v0.16.7...v0.16.8

- Python
Published by ConnorStoneAstro about 1 year ago

astrophot - v0.16.7

What's Changed

  • Mask initialize bug by @ConnorStoneAstro in https://github.com/Autostronomy/AstroPhot/pull/238
  • Bump pypa/gh-action-pypi-publish from 1.12.2 to 1.12.3 by @dependabot in https://github.com/Autostronomy/AstroPhot/pull/236
  • chore: update pre-commit hooks by @pre-commit-ci in https://github.com/Autostronomy/AstroPhot/pull/237

Full Changelog: https://github.com/Autostronomy/AstroPhot/compare/v0.16.6...v0.16.7

- Python
Published by ConnorStoneAstro about 1 year ago

astrophot - v0.16.6

What's Changed

  • chore: update pre-commit hooks by @pre-commit-ci in https://github.com/Autostronomy/AstroPhot/pull/215
  • chore: update pre-commit hooks by @pre-commit-ci in https://github.com/Autostronomy/AstroPhot/pull/216
  • chore: update pre-commit hooks by @pre-commit-ci in https://github.com/Autostronomy/AstroPhot/pull/217
  • ci: try to fix codecov token by @ConnorStoneAstro in https://github.com/Autostronomy/AstroPhot/pull/220
  • Bump pypa/gh-action-pypi-publish from 1.9.0 to 1.10.1 by @dependabot in https://github.com/Autostronomy/AstroPhot/pull/219
  • Bump pypa/gh-action-pypi-publish from 1.10.1 to 1.10.3 by @dependabot in https://github.com/Autostronomy/AstroPhot/pull/223
  • chore: update pre-commit hooks by @pre-commit-ci in https://github.com/Autostronomy/AstroPhot/pull/224
  • chore: update pre-commit hooks by @pre-commit-ci in https://github.com/Autostronomy/AstroPhot/pull/225
  • Bump pypa/gh-action-pypi-publish from 1.10.3 to 1.11.0 by @dependabot in https://github.com/Autostronomy/AstroPhot/pull/227
  • chore: update pre-commit hooks by @pre-commit-ci in https://github.com/Autostronomy/AstroPhot/pull/226
  • chore: update pre-commit hooks by @pre-commit-ci in https://github.com/Autostronomy/AstroPhot/pull/230
  • Bump codecov/codecov-action from 4 to 5 by @dependabot in https://github.com/Autostronomy/AstroPhot/pull/229
  • Bump pypa/gh-action-pypi-publish from 1.11.0 to 1.12.2 by @dependabot in https://github.com/Autostronomy/AstroPhot/pull/228
  • Add demo page to the website by @ConnorStoneAstro in https://github.com/Autostronomy/AstroPhot/pull/232
  • Add 2D moffat psf model by @ConnorStoneAstro in https://github.com/Autostronomy/AstroPhot/pull/233
  • Add Multi Gaussian Expansion model by @ConnorStoneAstro in https://github.com/Autostronomy/AstroPhot/pull/234

Full Changelog: https://github.com/Autostronomy/AstroPhot/compare/v0.16.5...v0.16.6

- Python
Published by ConnorStoneAstro about 1 year ago

astrophot - v0.16.5

What's Changed

  • chore: update pre-commit hooks by @pre-commit-ci in https://github.com/Autostronomy/AstroPhot/pull/194
  • Bump pypa/gh-action-pypi-publish from 1.8.14 to 1.9.0 by @dependabot in https://github.com/Autostronomy/AstroPhot/pull/201
  • chore: update pre-commit hooks by @pre-commit-ci in https://github.com/Autostronomy/AstroPhot/pull/203
  • chore: update pre-commit hooks by @pre-commit-ci in https://github.com/Autostronomy/AstroPhot/pull/205
  • fix: Fix codecov token by @ConnorStoneAstro in https://github.com/Autostronomy/AstroPhot/pull/211
  • chore: update pre-commit hooks by @pre-commit-ci in https://github.com/Autostronomy/AstroPhot/pull/210
  • docs: Quick fitting scripts by @ConnorStoneAstro in https://github.com/Autostronomy/AstroPhot/pull/209
  • docs: add community contrib section by @ConnorStoneAstro in https://github.com/Autostronomy/AstroPhot/pull/213

Full Changelog: https://github.com/Autostronomy/AstroPhot/compare/v0.16.4...v0.16.5

- Python
Published by ConnorStoneAstro over 1 year ago

astrophot - v0.16.4

What's Changed

  • fix: no mask on limits by @ConnorStoneAstro in https://github.com/Autostronomy/AstroPhot/pull/192

Full Changelog: https://github.com/Autostronomy/AstroPhot/compare/v0.16.3...v0.16.4

- Python
Published by ConnorStoneAstro almost 2 years ago

astrophot - v0.16.3

What's Changed

  • feat: Adding automatic variance estimator by @ConnorStoneAstro in https://github.com/Autostronomy/AstroPhot/pull/186
  • chore: update pre-commit hooks by @pre-commit-ci in https://github.com/Autostronomy/AstroPhot/pull/187
  • chore: update pre-commit hooks by @pre-commit-ci in https://github.com/Autostronomy/AstroPhot/pull/188

Full Changelog: https://github.com/Autostronomy/AstroPhot/compare/v0.16.2...v0.16.3

- Python
Published by ConnorStoneAstro almost 2 years ago

astrophot - v0.16.2

What's Changed

  • Bump pypa/gh-action-pypi-publish from 1.8.12 to 1.8.14 by @dependabot in https://github.com/Autostronomy/AstroPhot/pull/179
  • chore: update pre-commit hooks by @pre-commit-ci in https://github.com/Autostronomy/AstroPhot/pull/180
  • chore: update pre-commit hooks by @pre-commit-ci in https://github.com/Autostronomy/AstroPhot/pull/182
  • docs: update citation comment by @ConnorStoneAstro in https://github.com/Autostronomy/AstroPhot/pull/183
  • bug: Modify automatic parameter intialization flux extraction, no negative by @ConnorStoneAstro in https://github.com/Autostronomy/AstroPhot/pull/184

New Contributors

  • @pre-commit-ci made their first contribution in https://github.com/Autostronomy/AstroPhot/pull/180

Full Changelog: https://github.com/Autostronomy/AstroPhot/compare/v0.16.1...v0.16.2

- Python
Published by ConnorStoneAstro almost 2 years ago

astrophot - v0.16.1

Placeholder release to activate Zenodo archiving

What's Changed

  • Add pre-commit badge by @ConnorStoneAstro in https://github.com/Autostronomy/AstroPhot/pull/178

Full Changelog: https://github.com/Autostronomy/AstroPhot/compare/v0.16.0...v0.16.1

- Python
Published by ConnorStoneAstro almost 2 years ago

astrophot - v0.16.0

What's Changed

  • remove old docs, update to readthedocs by @ConnorStoneAstro in https://github.com/Autostronomy/AstroPhot/pull/171
  • update LM optimization @ConnorStoneAstro in https://github.com/Autostronomy/AstroPhot/pull/172
  • update links in readme by @ConnorStoneAstro in https://github.com/Autostronomy/AstroPhot/pull/177

Major changes include: - switch to readthedocs documentation - Levenberg-Marquardt now handles masks better and gives more reliable chi^2 values (fitting itself has only minor changes) - parameter initialization now has better function which doesnt rely on isophote extraction, therefore works in more cases - Tutorials have been updated to run faster and be more clear about typical workflows - Some docs latex have been fixed

Full Changelog: https://github.com/Autostronomy/AstroPhot/compare/v0.15.4...v0.16.0

- Python
Published by ConnorStoneAstro almost 2 years ago

astrophot - v0.15.4

What's Changed

  • Fix mask treatment for lm covariance matrix update by @ConnorStoneAstro in https://github.com/Autostronomy/AstroPhot/pull/176

Similar problem from previous patch, except for the uncertainty update step.

Full Changelog: https://github.com/Autostronomy/AstroPhot/compare/v0.15.3...v0.15.4

- Python
Published by ConnorStoneAstro almost 2 years ago

astrophot - v0.15.3

What's Changed

  • mask now handled in lm by @ConnorStoneAstro in https://github.com/Autostronomy/AstroPhot/pull/175

Fixed a bug in how the LM optimizer treats masks. Also made a new autogenerated mask for cases where the sub models in a group model have non fully overlapping fitting windows, in which case there are some pixels that can be safely ignored as they are irrelevant for the fit.

Full Changelog: https://github.com/Autostronomy/AstroPhot/compare/v0.15.2...v0.15.3

- Python
Published by ConnorStoneAstro almost 2 years ago

astrophot - v0.15.2

What's Changed

  • Create dependabot.yml by @ConnorStoneAstro in https://github.com/Autostronomy/AstroPhot/pull/161
  • Move to readthedocs, now using pre-commit code cleaning by @ConnorStoneAstro in https://github.com/Autostronomy/AstroPhot/pull/169
  • pre-commit linting, readthedocs webpage by @ConnorStoneAstro in https://github.com/Autostronomy/AstroPhot/pull/170

New Contributors

  • @dependabot made their first contribution in https://github.com/Autostronomy/AstroPhot/pull/162

Full Changelog: https://github.com/Autostronomy/AstroPhot/compare/v0.15.1...v0.15.2

- Python
Published by ConnorStoneAstro almost 2 years ago

astrophot - v0.15.1

What's Changed

  • Setting nan pixels to mask automatically in target image by @ConnorStoneAstro in https://github.com/Autostronomy/AstroPhot/pull/159

This is a minor patch to help users avoid this issue in the future

Full Changelog: https://github.com/Autostronomy/AstroPhot/compare/v0.15.0...v0.15.1

- Python
Published by ConnorStoneAstro about 2 years ago

astrophot - v0.15.0

Major change to how PSF is handled. New system gives PSF models a special place and behaves more intuitively. Big thanks to @wmwv for suggesting this conceptual change!

PRs

  • Change star nomenclature to point source by @ConnorStoneAstro in https://github.com/Autostronomy/AstroPhot/pull/126
  • PSF revamp! by @ConnorStoneAstro in https://github.com/Autostronomy/AstroPhot/pull/157

Full Changelog: https://github.com/Autostronomy/AstroPhot/compare/v0.14.3...v0.15.0

- Python
Published by ConnorStoneAstro about 2 years ago

astrophot - v0.14.3

What's Changed

  • use numpy variable instead of tensor in chunkimagejacobian by @ConnorStoneAstro in https://github.com/Autostronomy/AstroPhot/pull/150
  • Adding continuous deployment to the project by @ConnorStoneAstro in https://github.com/Autostronomy/AstroPhot/pull/152
  • feat: Add gaussian quadrature integration option for initial sampling by @ConnorStoneAstro in https://github.com/Autostronomy/AstroPhot/pull/154
  • feat: Add minifit fitter to optimize on downsampled target by @ConnorStoneAstro in https://github.com/Autostronomy/AstroPhot/pull/155

Full Changelog: https://github.com/Autostronomy/AstroPhot/compare/v0.14.2...v0.14.3

- Python
Published by ConnorStoneAstro about 2 years ago

astrophot - v0.14.2

New deployment workflow, minor bug fixes:

  • Bug fix for GPU on large images
  • Multiple bug fixes in unit-tests on GPU
  • Bug fix when loading PSF model for a model

- Python
Published by ConnorStoneAstro about 2 years ago

astrophot - v0.14.1

Several updates and fixes. Some of the main changes are:

  • More robust initialization for galaxies
  • jacobian may now be computed for large images
  • fix bug when loading models with PSFs
  • fix some docs typos
  • fix bug when setting uncertainty

- Python
Published by ConnorStoneAstro over 2 years ago

astrophot - v0.13.4

Minor updates from tests on large fitting problems. Most initialize methods now account for masked pixels making them more robust. Group_Model objects will update the targets of their constituents if their target is updated. Edge case for LM is handled where it exits cleanly if asked to optimize a model with no free parameters.

The most visible update is that when plotting a model_image the models are not evaluated on the whole image, but instead only in their fitting windows. This is a better fit for the "principle of least surprise" in python. Users will expect these plots to be consistent with other parts of the code which only use the fitting windows.

- Python
Published by ConnorStoneAstro over 2 years ago

astrophot - v0.13.3

Path update to handle some edge cases. If all parameters are locked for some branch of the DAG it is necessary for the vector functions to return empty tensors to properly propogate through other functions.

Another edge case discovered by @wmwv is if the uncertainty tensor is None or has mismatched shape it can lead to errors. This is now handled correctly.

- Python
Published by ConnorStoneAstro over 2 years ago

astrophot - v0.13.2

Bug fix where the LM fitter update_uncertainty function was not updating the uncertainties, now fixed. Also fixed a problem where it was possible to provide uncertainty tensors with a shape mismatch to the value tensor.

Thanks to @wmwv for identifying and solving the issue!

- Python
Published by ConnorStoneAstro over 2 years ago

astrophot - v0.13.1

Minor update to improve the way models and parameters print. Includes more helpful information in a readable format. Also updates to some spelling/grammar in the docs.

- Python
Published by ConnorStoneAstro over 2 years ago

astrophot - v0.13.0

Total rewrite of the parameter system. Now a full directed acyclic graph with generality for a variety of constraint types. The new system represents each parameter as a node in a graph, it is possible to link nodes to achieve a variety of goals. The main purposes of such a system are to allow:

  • Any two parameters may be given an equality constraint by having one simply point to the other in the graph.
  • A spatially varying PSF can be achieved by creating parameters that define the spatial variation and then having the PSF parameters point to them through a function
  • SED constraints are possible by similarly having brightness parameters point to some functional form of the SED.
  • An astrometry correction for multi-image analysis can be created by adding a shift to the position of all objects in a single image.

A lot of creativity is possible with these constraints. A new tutorial is provided to give the basic ideas. Please contact us if you want to try something new with these capabilities!

- Python
Published by ConnorStoneAstro over 2 years ago

astrophot - v0.12.0

Major update to coordinate systems for AstroPhot. Now explicit mappings for world (celestial sphere), tangent plane, and pixel coordinates. This makes it far easier to automatically align multiple images, or to use catalogues of objects with RA/DEC coordinates. It is now possible for these cases to map between each other quickly and easily.

Major rework was done for Window objects, they now handle a great deal of information to map between all coordinate systems. Some of the functionality that was in Image_header is moved to them.

A new WCS class is created to deal with abstract coordinate transforms.

A new page in the docs is added to explain the details of all the coordinate transformations and possible mistakes that can be made.

Big thanks to @wmwv for identifying this limitation and helping make the updates work smoothly!

- Python
Published by ConnorStoneAstro over 2 years ago

astrophot - v0.11.0

Starting to build out more complete docs!

More substantial docs have been added for: - TargetImage - AstroPhotModel - LM - utils

This includes some mathematical expressions to aid the explanations. More will come and please send requests if there are features you would like better explanations for!

Also updated is the naming for AstroPhot models. If a name is not provided then AstroPhot will just automatically generate a unique name instead of throwing an error. This makes it more convenient to create a large number of models if you don't care about the names.

Target_Image has been updated so that it can take a weight matrix instead of a variance. Sometimes this is more desirable as a bad pixel can be given a weight of 0, which is more computationally stable than giving a variance of infinity.

- Python
Published by ConnorStoneAstro over 2 years ago

astrophot - v0.10.6

Minor bug fix. WCS from astropy provides pixel scale matrix in deg, AstroPhot was assuming arcsec. This is now fixed so most images can be loaded with WCS and should be automatically aligned.

An example of this was added in the getting started notebook. The JointModelling notebook now makes use of the WCS to align the images from various bands.

- Python
Published by ConnorStoneAstro over 2 years ago

astrophot - v0.10.5

Rename everything to AstroPhot due to name conflict with another code.

- Python
Published by ConnorStoneAstro over 2 years ago

astrophot - v0.10.4

  • Updates to the LM implementation, now more aggressive in the linear regime and more cautious in non-linear regimes. It is possible to turn on geodesic acceleration which helps in some scenarios.
  • Sampling slightly more accurate, though smoothing is set to larger value at 1e-3 arcsec.
  • Cleaned up the interface for live PSFs, now can simply do: model.psf = PSF where PSF is a model object as well.
  • Added diagnostic plot for covariance matrix of variables.

- Python
Published by ConnorStoneAstro over 2 years ago

astrophot - v0.10.3

Many minor changes for AutoPhot to run on GPU, mostly related to initialization steps. Integration system bug fixed, more integration settings available. Softening changed to reduce chance of nans during evaluation. System for saving/loading models improved.

- Python
Published by ConnorStoneAstro over 2 years ago

astrophot - v0.10.2

bug patch related to PSF convolution. Subpixel shifting had wrong units (mixed up between pixel and arcsec).

- Python
Published by ConnorStoneAstro over 2 years ago

astrophot - v0.10.1

Zernike polynomials now added to AutoPhot. Zernike polynomials are a good bases for PSF models. zernike

- Python
Published by ConnorStoneAstro over 2 years ago

astrophot - v0.10.0

AutoPhot can now fit PSF models live along with the rest of the fit. This means the PSF used to convolve extended sources can be an optimized model along with stars, sky, galaxies, etc. Added a new juypter tutorial to demonstrate live PSF modeling. The logo has been updated. A bug in PSF convolution has been identified and solved. Though further PSF convolution options need to be added in a future release for power users.

- Python
Published by ConnorStoneAstro over 2 years ago

astrophot - AutoPhot

The package has been renamed AutoPhot to avoid confusion with the previous AutoProf package. Along with the updated name, AutoPhot now has better handling of coordinates, it can manage different pixel scales between axes, rotated coordinates, astropy wcs objects, and more! A number of old methods have been cleaned up as they are no longer needed in the unified coordinate framework. The package now has its own logo and the github page has been updated.

- Python
Published by ConnorStoneAstro over 2 years ago