A Python tool to explore and visualize NumPy .npz files. This tool helps you understand the structure and contents of .npz files by providing:
- File structure overview
- Array dimension and data type information
- Statistical summaries
- Data preview tables
- Multiple visualization options
- Interactive GUI for browsing .npz file contents
- Display of array dimensions, types, and basic statistics
- Interactive data table with pagination and CSV export
- Multiple visualization options:
- Histograms
- Line plots
- Heatmaps
- Scatter plots with customizable X/Y dimensions
- Support for large arrays with automatic sampling
- Python 3.6+
- NumPy
- Matplotlib
- tkinter (usually included with Python)
- Run the script:
python ReadData.py
- Click "Open NPZ File" to select your .npz file
- Select an array from the list to see its information and data preview
- Click "View Data Table" to open an interactive table view of the array
- Choose a visualization type and click "Plot" to visualize the data
The data table provides a paginated view of your array data:
- Navigate between pages using the pagination controls
- Export the entire array to a CSV file for further analysis
- For large arrays, the data is automatically paginated (50 rows per page)
When using scatter plots, you can select which dimensions to plot on the X and Y axes:
- Select "scatter" from the Plot Type dropdown
- Use the X and Y dropdowns to select dimensions
- For 2D arrays, the numbers correspond to the column indices
- For 1D arrays, you can choose between "index" and "value"
- For large arrays, the tool will automatically sample data to maintain performance
- Use the table view to examine specific data values
- Export to CSV when you need to work with the data in other applications
- Different visualization types work better for different array dimensions:
- Histograms: Good for distribution analysis
- Line plots: Good for 1D arrays or time series
- Heatmaps: Good for 2D arrays or matrices
- Scatter plots: Good for showing relationships between values