toasty.pipeline.astropix Module

Support for loading images from an AstroPix feed.

TODO: update metadata tomfoolery to match the new things that I’ve learned. Cf. the wwtdatatool wtml report utility and the djangoplicity implementation.

NOTE: AstroPix seems to have its image parity backwards. Standard JPEGs are reported with wcs_scale[0] < 0, which is positive AKA bottoms-up AKA FITS parity. If we pass their parameters more-or-less straight through to WWT, we get the right appearance onscreen.

Classes

AstroPixImageSource()

An ImageSource that obtains its inputs from a query to the AstroPix service.

AstroPixCandidateInput(json_dict)

A CandidateInput obtained from an AstroPix query.