Coder Social home page Coder Social logo

var_noise01's Introduction

var_noise01
Mathew Galloway
2017

This project is a variable noise model generator for the SPIDER experiment. It takes the raw data and computes the power spectrum of each channel in a bunch of segments defined by the flagging. Each power spectrum is composed of a high frequency component that is created by averaging togeather 1024 point FFTs, and a low frequency component generated by using the Lomb Scargle periodigram. This allows us to use only the good data in the power estimation but still retain information about scales larger than the gaps in the data. 

Once generated, the power spectra are fit with a four parameter model per chunk, and then these parameters are saved to disk. They are then interpreted by python code that I also wrote that is a part of the larger SPIDER codebase, and is used to generate simulated noise timestreams with the proper frequency characteristics as a function of time.

The code is written in C, with python being used to interface with the spider_tools repository. The main loop can be found in noisepowerspec.c, with the other files containing various helper functions. C was chosen for speed, as running the code on the entire SPIDER flight takes up to 12 hours per focal plane. All the sim generation code is written in python, and can be found in unifile_sim.py in make_variable_noise_real() if you have access to the repository.

var_noise01's People

Contributors

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