Giter VIP home page Giter VIP logo

planck_noise_maps's Introduction

Generate and filter Planck noise realizations

Jason Leung, as part of the SPIDER collaboration

Overview

This suite turns a Planck noise realization map into a filtered SPIDER map.

For each detector on SPIDER, the steps are:

  1. Reobserve with the detector’s beam to obtain a time-ordered product (TOD), a.k.a. a timestream
  2. Filter the TOD with a polynomial filter (polyfilter) to get rid off scan-synchronous noise
  3. Produce a series of maps for each 3-minute chunkset (“interleaving”)
  4. (Optional) Co-add the maps for detectors within the same frequency band

Pre-requisites

Other than having the latest versions of numpy and spider_tools, this suite makes extensive use of MPI to speed up computations – specifically the mpi4py package.

Usage

If you are on a system with a SLURM scheduler, mpi_launcher.sh is your job-submitting script. Modify it as needed. For maximum efficiency, use a loop inside this script to avoid having to manually submit multiple jobs.

It runs through steps 1–3 above in one go by calling mpi_filt_planck_noise_maps.sh. Be sure to check the SBATCH options first!

Once all the detector-specific maps are complete (X1 through X6), run coadd_freq_interleaved_planck_noise_maps.py to perform step 4.

Run cleanup.py to remove files that are no longer needed after the final maps (step 4) are complete. These include the TODs and any intermediary maps produced. While it may be a good idea to keep some TODs around while testing, bear in mind that a single TOD is about 600 MB in size; multiplying by the 1859 “good” channels on SPIDER brings this to about 1 TB.

planck_noise_maps's People

Contributors

jsyleung avatar

Watchers

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