Skip to content

SSDataLab/kbackground

Repository files navigation

KBackground

Test status flake8 statusGeneric badge

KBackground is a standalone Python tool to quickly model the rolling band in Kepler and K2 data.

Installation

pip install kbackground

Usage

To use kbackground, you can create an object using row, column and flux values. That object can then be used to provide the modeled background.

from kbackground import Estimator
e = Estimator(time, row, column, flux)
bkg_model = e.model

bkg_model will be a 2D array with the same shape as flux.