6. Desktop GUI Application¶
NLSQ includes a native Qt desktop application for interactive curve fitting without writing code.
6.4. Chapter Overview¶
- Launching (3 min)
Install and start the desktop application.
- Workflow Pages (10 min)
Navigate through the 5-page fitting workflow.
- Presets (5 min)
Use Fast, Robust, and Quality presets.
6.5. Quick Start¶
# Install with GUI support
pip install nlsq
# Launch the application
nlsq-gui
6.6. Features¶
5-page workflow: Data → Model → Fitting → Results → Export
GPU-accelerated plots: Handle 500K+ points smoothly
Theme support: Light and dark themes (Ctrl+T to toggle)
Keyboard shortcuts: Fast navigation and actions
Autosave: Automatic crash recovery
Export options: ZIP, JSON, CSV, Python code
6.7. Screenshot Overview¶
The GUI provides an intuitive workflow:
Data Loading: Import CSV files or paste from clipboard
Model Selection: Choose built-in or custom models
Fitting Options: Select presets (Fast/Robust/Quality)
Results: View parameters, statistics, and fit quality
Export: Save results in various formats
6.8. Keyboard Shortcuts¶
Shortcut |
Action |
|---|---|
Ctrl+1 to Ctrl+5 |
Jump to pages 1-5 |
Ctrl+R |
Run fit |
Ctrl+O |
Open file |
Ctrl+S |
Save session |
Ctrl+T |
Toggle dark/light theme |
Ctrl+Q |
Quit application |