Code to produce WISE difference photometry for AT2019aalc using the Timewise Subtraction Pipeline.
You have to have a MongoDB
running. For installation on Mac see
this.
timewise-sup
will connect to the database on the default port 27017
.
You can change this by setting the environment variable TIMEWISE_SUP_MONGODB_PORT
.
All data will be downloaded into into the timewise
data directory which defaults to
$HOME/
. You can change this by setting the environment variable TIMEWISE_DATA
.
git clone git@github.com:JannisNe/lancel_ir.git
cd lancel_ir
poetry install
On some platforms, fastavro
does not play ball. Try running pip install --no-build-isolation fastavro==1.6.1
and then poetry install
again.
pip install .
The delivered configuration file lancel_ir/analysis.yml
will download and build the WISE lightcurve,
run the Bayesian Blocks analysis and produce and plot the baseline subtracted lightcurve.
Make sure to change the path of the coordinates file to the right one depending on your system.
timewise lancel_ir/analysis.yml -l INFO
python -m lancel_ir
from lancel_ir import get_lightcurve
lightcurve = get_lightcurve() # returns a pandas.DataFrame
print(lightcurve.columns) # prints the available columns