Spectrum viewer with line list
Find a file
astro-alexis a8ccef8c9e update
2025-10-23 11:25:44 +02:00
linelist.lin improved 2025-09-03 15:13:09 +02:00
obs.ascii improved 2025-09-03 15:13:09 +02:00
README.md update 2025-10-23 11:25:44 +02:00
solberga.py wavelegnth selection 2025-09-05 10:31:43 +02:00
test.png screenshot 2025-09-04 14:18:23 +02:00
wavelength-selection-01.ascii wavelegnth selection 2025-09-05 10:31:43 +02:00

solberga: An Interactive Stellar Spectrum and Line List Plotter

screenshot

File Formats

  1. Spectrum file: 2-3 column ASCII file with wavelength [Å], intensity, (optional) error bars
  2. Line list: VALD3 extract stellar short format (.lin extension)

Navigation & Display

  • Mouse: Pan, zoom, and navigate the spectrum
  • Toolbar: Standard matplotlib navigation (home, back, forward, zoom, pan)

Region Selection

  • 'w': Enter selection mode (drag to select wavelength regions)
  • 'd': Enter deletion mode (click on regions to remove them)
  • 'c': Clear all selected regions
  • 'e': Export selected regions to file
  • 'l': Load regions from file
  • 'Escape': Return to normal navigation mode

Visual Feedback

  • Status bar: Shows current mode (Normal/Selection/Delete) and region count
  • Color coding: Green (normal), Orange (selecting), Red (deleting)

solberga means "sun mountain" in Swedish. Many places bear this name, including a district in Stockholm.