Skip to content

Releases: Autostronomy/AstroPhot

v0.13.0

04 Oct 17:06
f23f58e
Compare
Choose a tag to compare

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!

v0.12.0

27 Sep 23:03
c56b0e5
Compare
Choose a tag to compare

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!

v0.11.0

23 Aug 15:32
543dd68
Compare
Choose a tag to compare

Starting to build out more complete docs!

More substantial docs have been added for:

  • Target_Image
  • AstroPhot_Model
  • 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.

v0.10.6

18 Aug 03:09
a7a3e5d
Compare
Choose a tag to compare

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.

v0.10.5

14 Aug 00:59
3b52df7
Compare
Choose a tag to compare

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

v0.10.4

28 Jul 03:14
9093ec4
Compare
Choose a tag to compare
  • 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.

v0.10.3

27 Jun 00:42
a3afd04
Compare
Choose a tag to compare

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.

v0.10.2

19 Jun 15:09
ed1d359
Compare
Choose a tag to compare

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

v0.10.1

19 Jun 02:17
4679379
Compare
Choose a tag to compare

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

v0.10.0

18 Jun 01:38
1a017ab
Compare
Choose a tag to compare

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.