Skip to content

Commit

Permalink
Merge pull request #595 from spedas/elfin
Browse files Browse the repository at this point in the history
Updates from Elfin branch
  • Loading branch information
jameswilburlewis authored Sep 27, 2023
2 parents c30b36b + 12fccf4 commit 192d728
Show file tree
Hide file tree
Showing 30 changed files with 2,967 additions and 0 deletions.
Binary file added docs/source/_static/elfin_epd.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions pyspedas/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@
from . import akebono
from . import soho
from . import barrel
from . import elfin

# set up logging/console output
import logging
Expand Down
75 changes: 75 additions & 0 deletions pyspedas/elfin/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@

## Electron Losses and Fields Investigation (ELFIN)
The routines in this module can be used to load data from the Electron Losses and Fields Investigation (ELFIN) mission.

### Instruments
- Fluxgate Magnetometer (FGM)
- Energetic Particle Detector (EPD)
- Magneto Resistive Magnetometer-a (MRMa)
- Magneto Resistive Magnetometer-i (MRMi)
- State data (state)
- Engineering data (ENG)

### Examples
Get started by importing pyspedas and tplot; these are required to load and plot the data:

```python
import pyspedas
from pytplot import tplot
```

#### Fluxgate Magnetometer (FGM)

```python
fgm_vars = pyspedas.elfin.fgm(trange=['2020-10-01', '2020-10-02'])

tplot('ela_fgs')
```


#### Energetic Particle Detector (EPD)

```python
epd_vars = pyspedas.elfin.epd(trange=['2020-11-01', '2020-11-02'])

tplot('ela_pef')
```


#### Magneto Resistive Magnetometer (MRMa)

```python
mrma_vars = pyspedas.elfin.mrma(trange=['2020-11-5', '2020-11-6'])

tplot('ela_mrma')
```


#### Magneto Resistive Magnetometer (MRMi)

```python
mrmi_vars = pyspedas.elfin.mrmi(trange=['2020-11-5', '2020-11-6'])

tplot('ela_mrmi')
```


#### State data (state)

```python
state_vars = pyspedas.elfin.state(trange=['2020-11-5/10:00', '2020-11-5/12:00'])

tplot('ela_pos_gei')
```


#### Engineering (ENG)

```python
eng_vars = pyspedas.elfin.eng(trange=['2020-11-5', '2020-11-6'])

tplot('ela_fc_idpu_temp')
```



Loading

0 comments on commit 192d728

Please sign in to comment.