Coder Social home page Coder Social logo

rbiswas4 / ampel-interact Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ampelastro/ampel-interact

0.0 0.0 0.0 30.32 MB

Methods and notebooks for working locally with exported AMPEL products

License: BSD 3-Clause "New" or "Revised" License

Jupyter Notebook 38.09% Python 49.73% Shell 12.18%

ampel-interact's Introduction

Ampel-interact

Methods and notebooks for working locally with exported AMPEL TransientViews. A TransientView collects the information available regarding a transient candidate at some point in time. This can include both the initial stream input data as well as additional dataproducts derived by AMPEL. The tools provided here aim to:

  • Give an overview of the data structures used by AMPEL.
  • Allow interactive examination of transient data.
  • Provide an environment where new AMPEL units can be developed and tested prior to being ingested in live processing.

Getting Started

Prerequisites

Interactions with AMPEL data is most conveniently carried out using python. The required background system environment can be load through the conda environment file ampelvispa.yml.

AMPEL manages transient data through a set of base classes. These are designed to facilitate an efficient exchange of transient data while creating a modular analysis system that can make use of the large amount of existing libraries. The base classes used here are contained in the following repositories:

  • Ampel-base/interact contains specifications for the base AMPEL data structures.
  • Ampel-base-ZTF contains class specifications applicable for transients containing data from the Zwicky Transient Facility.

For most system this is sufficient:

conda env create -f ampelvispa.yml
git clone https://github.com/AmpelProject/Ampel-interface.git
pip install -e Ampel-interface
git clone https://github.com/AmpelProject/Ampel-base-ZTF.git
pip install -e Ampel-base-ZTF

Installing

The demonstration methods and notebooks used are contained in the src and notebooks directories. The data directory contains a static collection of TransientViews.

Testing

Try running the the ampel_transientView_test notebook. This should load and display data for one of the transients contained in the sample data file.

Getting to know AMPEL

AMPEL is a sotfware platform designed for modular and scalable analysis of heterogeneous data streams. The key to achieving this combination of features is the internal division of tasks into four exection layers and the set of base objects used to exchange information between analysis units and the internal database.

This repository will not set you up to run AMPEL - this is usually done on a computer center to manage the typically large data rates. The notebooks and methods contained here instead focuses in how to explore and use output from AMPEL live data processing, as well as to develop units (modules) that can then be incorporated into real-time processing.

The first point for understanding the data structure is to investigate the ampel_transientView_demo notebook.

Transferring data from the AMPEL dCache

Updated information for selected AMPEL channels (analysis schema) are regularly uploaded to a dCache storage system. Users can with permission can use this to sync data stored here with a local repository, which will allow the interactive exploration of new data. This is further described in the dcache directory.

What is the HU_TNS_MSIP channel?

Each channel references a set of AMPEL processing choices, which includes the selection of input streams, filter parameters and e.g. catalog cross matching or lightcurve fits requested. The HU_TNS_MSIP is a general channel designed to provide a complete selection of extragalactic transients from the public ZTF data stream (MSIP). A subset of these transients are selected for submission to the Transient Name Server.

Contact, version, license ...

...

ampel-interact's People

Contributors

wombaugh 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.