Spacewalks is a Python analysis tool for researchers to generate visualisations and statistical summaries of NASA's extravehicular activity datasets.
Key features of Spacewalks:
- Generates a CSV table of summary statistics of extravehicular activity crew sizes
- Generates a line plot to show the cumulative duration of space walks over time
Spacewalks was developed using Python version 3.12
To install and run Spacewalks you will need have Python >=3.12 installed. You will also need the following libraries (minimum versions in brackets)
- NumPy >=2.0.1 - Spacewalk's test suite uses NumPy's statistical functions
- Matplotlib >=3.9.2 - Spacewalks uses Matplotlib to make plots
- pytest >=8.2.0 - Spacewalks uses pytest for testing
- pandas >= 2.2.0 - Spacewalks uses pandas for data frame manipulation
- Clone the Spacewalks repository to your local machine using Git. If you don't have Git installed, you can download it from the official Git website.
``` git clone https://github.com/https://github.com/kamwal/spacewalks.git cd spacewalks ```
-
Install the necessary dependencies: ``` python3 -m pip install pandas==2.2.2 matplotlib==3.8.4 numpy==2.0.0 pytest==7.4.2 ```
-
To ensure everything is working correctly, run the tests using pytest.
``` python3 -m pytest ```
To run an analysis using the eva_data_analysis.py script from the command line terminal, launch the script using Python as follows:
```
python3 eva_data_analysis.py eva-data.json eva-data.csv ```
The first argument is path to the JSON data file. The second argument is the path the CSV output file.