Project

General

Profile

Dataanalysiskickstarter » History » Version 19

Lina hadid, 20/02/2017 07:18 PM

1 17 Nicolas Aunai
# Data analysis FAQ
2 1 Nicolas Aunai
3
4 15 Nicolas Aunai
## General Data Analysis
5
6 12 Nicolas Aunai
* [Which library should I use to handle data series?](#Which-library-should-I-use-to-handle-data-series) ?
7 1 Nicolas Aunai
* [Is there a library for plotting statistical data?](#Is-there-a-library-for-plotting-statistical-data) ?
8 17 Nicolas Aunai
* [Where can I learn machine learning?](#Where-can-I-learn-machine-learning)?
9 18 Lina hadid
* [How can I change coordinates systems in planetary systems other than Earth?](#How-can-I-change-coordinates-systems-in-planetary-systems-other-than-Earth)?
10
* [What languages support the SPICE kernels toolkit?](#What-languages-support-the-SPICE-kernels-toolkit)?
11 19 Lina hadid
* [How can I get the CASSINI spacecraft axes in the SSE (same as KSO) coordinate systems?](#How-can-I-get-the-CASSINI-spacecraft-axes-in-the-SSE-(same-to-KSO)-coordinate-systems)?
12 15 Nicolas Aunai
13 16 Nicolas Aunai
## Space Plasmas Analysis
14 15 Nicolas Aunai
15 16 Nicolas Aunai
* [How can I open a CDF file?](#How-can-I-open-a-CDF-file)?
16 15 Nicolas Aunai
* 
17
18
19 8 Nicolas Aunai
----
20 1 Nicolas Aunai
21
22 16 Nicolas Aunai
## General Data Analysis
23
24 15 Nicolas Aunai
### Which library should I use to handle data series?
25
26 1 Nicolas Aunai
You will want to use the python [Pandas](http://pandas.pydata.org) [[pandas| (check here for Pandas tips)]] for analyzing your data. It is in particular very well suited for time series analysis and enable you to very easily manipulate dates, missing data, etc.
27
28
29 15 Nicolas Aunai
### Is there a library for plotting statistical data?
30 1 Nicolas Aunai
31
[Seaborn](http://seaborn.pydata.org) is a Python visualization library based on matplotlib. It provides a high-level interface for drawing attractive statistical graphics. [[Seaborn| Check here for seaborn tips]] 
32
33
34 17 Nicolas Aunai
### Where can I learn machine learning?
35
36
Check out [[machinelearning| this page]] to find many links on machine learning.
37 1 Nicolas Aunai
38 18 Lina hadid
### How can I change coordinates systems in planetary systems other than Earth?
39
40
We will need to download and load some **SPICE**  kernels (that indicate the position of the satellite, its orientation ...etc) from the [NAIF servers](https://naif.jpl.nasa.gov/pub/naif/).  
41
42
The SPICE kernels file contents are summarized below:
43
44
**S-** Spacecraft ephemeris, given as a function of time. (SPK)
45
46
**P-** Planet, satellite, comet, or asteroid ephemerides, or more generally, location of any target body, given as a function of time. (also SPK)
47
48
The P kernel also logically includes certain physical, dynamical and cartographic constants for target bodies, such as size and shape specifications, and orientation of the spin axis and prime meridian. (PCK)
49
50
**I-** Instrument description kernel, containing descriptive data peculiar to a particular scientific instrument, such as field-of-view size, shape and orientation parameters. (IK)
51
52
**C-** Pointing kernel, containing a transformation, traditionally called the "C-matrix," which provides time-tagged pointing (orientation) angles for a spacecraft bus or a spacecraft structure upon which science instruments are mounted. A C-kernel may also include angular rate data for that structure. (CK)
53
54
**E-** Events kernel, summarizing mission activities - both planned and unanticipated. Events data are contained in the SPICE EK file set, which consists of three components: Science Plans, Sequences, and Notes. (EK) 
55
56
 Some additional data products are also important components of the SPICE system, even if not contained in the "SPICE" acronym.
57
58
A "frames kernel" **(FK)** contains specifications for the assortment of reference frames that are typically used by flight projects. This file also includes mounting alignment information for instruments, antennas and perhaps other structures of interest.
59
60
Spacecraft clock **(SCLK)** and leap seconds **(LSK)** kernels are also part of SPICE; these are used in converting time tags between various time measurement systems.
61
62
Under development is a digital shape model kernel (DSK) for both small, irregularly shaped bodies such as asteroids and comet nuclei, and for large, more uniformly shaped bodies such as the moon, earth and Mars. Other kernel types can be added as requirements arise and time permits.
63
64
For more information, please consult the [NAIF Homepage](https://naif.jpl.nasa.gov/naif/index.html)
65
66
### What languages support the SPICE kernels toolkit?
67
68
[C, FORTRAN, IDL, MATLAB](https://naif.jpl.nasa.gov/naif/toolkit.html)
69
70
and 
71
72
[Spiceypy](http://spiceypy.readthedocs.io/en/master/index.html) for PYTHON 
73
74
### How can I get the CASSINI spacecraft axes in the SSE (similar to KSO) coordinate systems?
75
76
We should visit the [CASSINI Spacecraft Attitude tool](http://cassini.physics.uiowa.edu/~tfa/cassatt.html).
77
We choose the "Time Range", "Time Interval", and **SSE Spacecraft Axes (SSE)** for the "Attitude Type".
78 16 Nicolas Aunai
79
## Space Plasmas Data Analysis
80
81
### How can I open a CDF file?
82
83
You should install [Spacepy](https://pythonhosted.org/SpacePy/index.html) on your machine. Then import the module ```spacepy.pycdf``` to load CDF files. Documentation for [PYCDF is here](https://pythonhosted.org/SpacePy/pycdf.html)