Git Product home page Git Product logo

pathfindersolarwindnoise's Introduction

solarWindDataAnalysis

Plots

All generated plots are in the plots folder, so no need to compile them once again.

cd plots

Time Series Plot:

eog TimeDomain_Comparison_ACEvLPF.png

Fast Fourier Transformation Plot:

eog ACE_and_LPF_Loglog.png

Coherence Plot(NOTE: these were a series of plots with different average segement lengths, the average segment length is stated in the title of the plots):

eog co_tests2/ACE_and_LPF_co.png

Bode Plot:

eog Bode_Phase_Plot.png
eog Bode_Magnitude_Plot.png

Noise cancellation plot:

eog LPF_Noise_Cancellation.png

Setup

Everything here is designed for a Debian flavored Gnu/Linux operating system. python3, and pip3 need to be installed.

sudo apt install python3 python3-pip -y

To install all required python modules run:

pip install -r requirements.txt

Getting Data

Runing these takes about 10 or so minutes, because there is a lot of data processing with huge datasets. So if you just want the dirend results from the plots go above to the plots

The original ACE data used can be accessed from this website: https://izw1.caltech.edu/ACE/ASC/level2/lvl2DATA_SWEPAM.html. 2016 data, UTC day, hour, min, sec, H+ density, He4/H+, H+ speed, and velocity x,y,z of solar wind ions in GSE coordinates is required.

For easier download just use: https://zenodo.org/record/6955182.

Download the data from the website, extract it to a new directory datafiles:

wget https://zenodo.org/record/6955182/files/ACE_data.tar.xz?download=1
mv -iv ACE_data.tar.xz?download=1 ACE_data.tar.xz
mkdir datafiles
tar -xvf ACE_data.tar.xz
mv -iv ACE_data.txt ./datafiles/ACE_data.txt

To prepare the ACE data, run:

python3 time_gen.py
python3 data_filter_gapFill.py
python3 ACE_Solar_Wind_Data_Calculate.py

For the LISA Pathfinder data, download it from this link(https://zenodo.org/record/6954044):

wget https://zenodo.org/record/6954044/files/LPF_Force_catalog.tar.xz?download=1
mv -iv LPF_Force_catalog.tar.xz?download=1  LPF_Force_catalog.tar.xz
tar -xvf LPF_Force_catalog.tar.xz
mv -iv ./catalog/ ./datafiles/catalog/

LISA Data instructions:

cd datafiles/catalog
ls g2_z_* > filenames_g2_z.txt
cd ../..
python3 huge_file_time.py
python3 huge_file_inversefft.py
python3 old_LISA_FULL_GAP_FILL.py
python3 LISA_filter.py
python3 LISA_gap_fill.py

Usage

For the comparison between the 2 datasets run:

python3 loglog.py
python3 ACEvLISA_timeDomain.py

For Coherence between the datasets:

python3 ace_and_lisa_co.py

For Bode Plots:

python3 bode_plot.py

For Noise cancellation Plots:

python3 noise_sub.py

pathfindersolarwindnoise's People

Contributors

indied-s avatar poarthan avatar

Stargazers

 avatar  avatar

Watchers

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