Giter Club home page Giter Club logo

forcephotztf's Introduction

ForcePhotZTF

This is written for getting the light curves of ZTF transients by forced-PSF photometry.
If you wish to use light curves produced by this code please cite the original paper that describes the real-time pipeline (ZTF Science Data System): Masci et al. (2019), the the paper specifically for this package: Yao et al. (2019, in prep).

Provide your username and password before using this package:

ForcePhotZTF performs multiple tasks including:

  • downloading images from IPAC
  • getting ZTF light curves from the GROWTH Marshal website (Kasliwal et al. 2019)
  • getting alert package info from Kowalski (optional)
  • running forced photometry on Caltech forced phometry service (fps, Masci et al. 2019), kindly provided by Frank Masci at IPAC. I've compared his result and my ForcePhotZTF result -- they are very consistent with each other. The only difference may be the size of cutout and the assumption in gain factor. Thus, this step is optional. I only want some column information given in the header of sci images, which can also be obtained from fps.

You need to provide your username and password (save them to a file) in the format of username:password. Prepare four txt files:

  1. auth_fps.txt
    (If you do not have the access, just print : to this file and do not run the final step shown in the demo)
  2. auth_ipac.txt
  3. auth_kowalski.txt
    (This is not necessary in any of the main steps. Thus, just print : to this file if you do not have Kowalski access)
  4. auth_marshal.txt

How to use this package.

Please see demo.ipynb

forcephotztf's People

Contributors

yaoyuhan avatar adamamiller avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.