Project

General

Profile

Dataanalysiskickstarter » History » Revision 21

Revision 20 (Lina hadid, 20/02/2017 07:19 PM) → Revision 21/28 (Lina hadid, 20/02/2017 07:19 PM)

# Data analysis FAQ 


 ## General Data Analysis 

 * [Which library should I use to handle data series?](#Which-library-should-I-use-to-handle-data-series) ? 
 * [Is there a library for plotting statistical data?](#Is-there-a-library-for-plotting-statistical-data) ? 
 * [Where can I learn machine learning?](#Where-can-I-learn-machine-learning)? 
 * [How can I change coordinates systems in planetary systems other than Earth?](#How-can-I-change-coordinates-systems-in-planetary-systems-other-than-Earth)? 
 * [What languages support the SPICE kernels toolkit?](#What-languages-support-the-SPICE-kernels-toolkit)? 
 * [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)? 

 ## Space Plasmas Analysis 

 * [How can I open a CDF file?](#How-can-I-open-a-CDF-file)? 
 *  


 ---- 


 ## General Data Analysis 

 ### Which library should I use to handle data series? 

 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. 


 ### Is there a library for plotting statistical data? 

 [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]]  


 ### Where can I learn machine learning? 

 Check out [[machinelearning| this page]] to find many links on machine learning. 

 ### How can I change coordinates systems in planetary systems other than Earth? 

 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/).   

 The SPICE kernels file contents are summarized below: 

 **S-** Spacecraft ephemeris, given as a function of time. (SPK) 

 **P-** Planet, satellite, comet, or asteroid ephemerides, or more generally, location of any target body, given as a function of time. (also SPK) 

 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) 

 **I-** Instrument description kernel, containing descriptive data peculiar to a particular scientific instrument, such as field-of-view size, shape and orientation parameters. (IK) 

 **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) 

 **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)  

  Some additional data products are also important components of the SPICE system, even if not contained in the "SPICE" acronym. 

 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. 

 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. 

 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. 

 For more information, please consult the [NAIF Homepage](https://naif.jpl.nasa.gov/naif/index.html) 

 ### What languages support the SPICE kernels toolkit? 

 [C, FORTRAN, IDL, MATLAB](https://naif.jpl.nasa.gov/naif/toolkit.html) 

 and  

 [Spiceypy](http://spiceypy.readthedocs.io/en/master/index.html) for PYTHON  

 ### How can I get the CASSINI spacecraft axes in the SSE (same (similar to KSO) coordinate systems? 

 We should visit the [CASSINI Spacecraft Attitude tool](http://cassini.physics.uiowa.edu/~tfa/cassatt.html). 
 We choose the "Time Range", "Time Interval", and **SSE Spacecraft Axes (SSE)** for the "Attitude Type". 

 ## Space Plasmas Data Analysis 

 ### How can I open a CDF file? 

 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)