irfu / irfu-matlab

Matlab routines to work with space data, particularly with MMS and Cluster/CAA data. Also some general plasma routines.
59 stars 46 forks source link

MMS Energyspectrum #71

Closed 01344240 closed 3 years ago

01344240 commented 3 years ago

Hi Everyone, Is there a way to make plots of the ion/electron energyspectrum plots for MMS? Thanks, Paul.

wyli1124 commented 3 years ago

Dear Paul,

     Firstly, you can load the ion distribution functions via:

   iDist = mms.get_data('PDi_fpi_brst_l2', Tint, 1);
      Here, Tint is the time interval, and 1 (not L) is the MMS

spacecraft you are interested.

     Then, you can make energy spectrum plots via:
      irf_spectrogram(iDist.deflux.omni.specrec, 'log');

Best regards, Wenya

On Wed, Apr 7, 2021 at 3:55 AM 01344240 @.***> wrote:

Hi Everyone, Is there a way to make plots of the ion/electron energyspectrum plots for MMS? Thanks, Paul.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/irfu/irfu-matlab/issues/71, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADQ5FW3VOXEXDHQFOI6HUQLTHNRJ3ANCNFSM42PMR7PQ .

01344240 commented 3 years ago

Dear Wenya,

Thank you so much for this!

Paul.

From: Wenya @.> Reply-To: irfu/irfu-matlab @.> Date: Wednesday, 7 April 2021 at 02:45 To: irfu/irfu-matlab @.> Cc: "Curtis, Paul" @.>, Author @.***> Subject: Re: [irfu/irfu-matlab] MMS Energyspectrum (#71)

This email from @.*** originates from outside Imperial. Do not click on links and attachments unless you recognise the sender. If you trust the sender, add them to your safe senders listhttps://spam.ic.ac.uk/SpamConsole/Senders.aspx to disable email stamping for this address.

Dear Paul,

Firstly, you can load the ion distribution functions via:

iDist = mms.get_data('PDi_fpi_brst_l2', Tint, 1); Here, Tint is the time interval, and 1 (not L) is the MMS spacecraft you are interested.

Then, you can make energy spectrum plots via: irf_spectrogram(iDist.deflux.omni.specrec, 'log');

Best regards, Wenya

On Wed, Apr 7, 2021 at 3:55 AM 01344240 @.***> wrote:

Hi Everyone, Is there a way to make plots of the ion/electron energyspectrum plots for MMS? Thanks, Paul.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/irfu/irfu-matlab/issues/71, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADQ5FW3VOXEXDHQFOI6HUQLTHNRJ3ANCNFSM42PMR7PQ .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/irfu/irfu-matlab/issues/71#issuecomment-814540476, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AOPCXGVQHP3L3UCDF523SK3THO2KDANCNFSM42PMR7PQ.

thomas-nilsson-irfu commented 3 years ago

I'm considering this issue fixed and closing it now. If anyone disagrees, feel free to reopen this issue.