GithubHelp home page GithubHelp logo

jkania7 / mad-filter-gpu Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rohinijoshi06/mad-filter-gpu

0.0 0.0 0.0 16 KB

CUDA based Median Absolute Deviation (MAD) Filter for RFI mitigation

License: MIT License

Cuda 98.91% Shell 1.09%

mad-filter-gpu's Introduction

MAD filter GPU : CUDA-based RFI mitigation algorithm using Median Absolute Deviation (MAD).

There are two versions of the code: madfilter_small and madfilter_large

To compile the code use the following command: nvcc -Xptxas="-v" -o madfilter_small madfilter_small.cu -arch=sm_??

Make sure you have help_small.sh in the same directory as the compiled binary to generate a help message

madfilter_small runs a MAD based filter on SIGPROC format filterbank data. Each GPU thread runs a filter on all frequency channels of a single time sample. The output is stored in a binary file with the same base name as the input file and _filtered appended to it. The output file does not have the original SIGPROC header so that needs to be added to the output to make it compatible with standard pulsar processing software. An example of generating a cleaned filterbank file is the following:

./madfilter_small 3000000 672 3 -m 256 find_the_pulse.fil; head -c 256 find_the_pulse.fil > header.txt; cat header.txt find_the_pulse.fil_filtered > find_the_pulse_filtered.fil

mad-filter-gpu's People

Contributors

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