Skip to content

Releases: d-giles/EightBitTransitGPU

TransitModel

10 Aug 23:03
Compare
Choose a tag to compare

This update adds a child class for TransitingImage called TransitModel (and a child class to that called CircleTransit) which is particularly useful for injecting a transit into a light curve. The new method defaults to creating a model of the transit of a given image/opacity matrix which has 1000 datapoints. The velocity of transit is automatically calculated to ensure a full transit from head to tail of the given image. An added convenience function, signal_fit, adapts the model by interpolating the model onto a given time-array, stretches the duration of the model to a given width, scales the depth of the transit to a given depth, and places the center of the transit at a specified time.

First release on pypi

04 Aug 16:02
Compare
Choose a tag to compare

This version of EightBitTransit changes from the original Cython based implementation to a Numba based implementation. If an Nvidia GPU is present and compatible, it will be utilized. Otherwise, the code is quicker than the original but limited to lower resolution input images.