Skip to main content

GUI application for Raman spectroscopy analysis in high-pressure experiments.

Project description

RamPo

RamPo is a desktop application for processing Raman spectroscopy data, with a workflow adapted from PeakPo and refocused for high-pressure Raman experiments.

Current Scope

RamPo is designed around Raman spectroscopy for high pressure research.

Key points:

  • input data: .spe Raman files
  • 2D detector view: CCD image
  • reference library concept: RAPO files for pressure-dependent Raman mode shifts (under development)
  • session/save model: JSON-based snapshots stored in <filename>-rampo/

Main Features

  • open and navigate SPE files
  • convert wavelength-calibrated SPE data to Raman shift using the excitation laser wavelength
  • define CCD row ROI and extract summed spectra from the ROI
  • apply despike + Savitzky-Golay smoothing
  • fit Raman background with polynomial fitting using user-defined background areas
  • save background, bg-subtracted, smoothed, and ROI-derived spectra
  • compare spectra with Diff
  • process file sets with Map and Seq
  • display and manage Waterfall spectra
  • perform PeakFit analysis
  • save and restore numbered backup snapshots

Installation

RamPo requires Python 3.10 or newer.

pip install rampo

Running RamPo

rampo

Typical Workflow

  1. Open an .spe file by clicking Open SPE button.
  2. Set the excitation laser wavelength.
  3. Use the top mouse toolbar to switch between Zoom, ROI, and Peak.
  4. In Spectrum, use ROI on the top CCD image to define the CCD row ROI for spectrum extraction.
  5. Still in Spectrum, leave mouse mode in ROI and drag on the 1D spectrum to add background-fit areas. Repeat as needed, then click Fit BG. Check Bg show to display the fitted background and BgSub to subtract it.
  6. Adjust Smoothing options if despike or Savitzky-Golay smoothing is needed.
  7. For mapping, open the Map tab and click Load SPE files to select the map files. For ASU data, choose *-raw.spe files. Select Row-major for ASU data and Snake for APS data. Confirm Nx and Ny, then click Compute Map.
  8. In Map or Seq, click the top ROI mouse mode, drag the spectral range on the main spectrum plot, and RamPo will return to Zoom after the ROI is set.
  9. Use Diff, Waterfall, or PeakFit tools as needed. In PeakFit, switch to top Peak mode to add or remove peaks on the spectrum.
  10. Press Save to create a numbered snapshot in the session folder.

Save / Restore Behavior

RamPo saves analysis state into a folder named:

<filename>-rampo

Inside that folder, numbered snapshot folders are created:

0/
1/
2/
...

Each numbered backup is intended to be self-contained and stores the JSON session state together with processed outputs such as spectra and related analysis files.

Notes

  • Some disabled UI elements are intentionally kept visible as placeholders for future development.

Citation

RamPo - Raman spectroscopy analysis software for high-pressure experiments.

The citation string shipped with the package is defined in rampo/rampo/citation.py.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rampo-0.7.1.tar.gz (733.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rampo-0.7.1-py3-none-any.whl (751.2 kB view details)

Uploaded Python 3

File details

Details for the file rampo-0.7.1.tar.gz.

File metadata

  • Download URL: rampo-0.7.1.tar.gz
  • Upload date:
  • Size: 733.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for rampo-0.7.1.tar.gz
Algorithm Hash digest
SHA256 865d9fe19e11924abee78d06f32a55b5d08e916493196f325a33f0ea1b77f1a7
MD5 d7d8ebed8b10e5cef44709bfa97b038d
BLAKE2b-256 55dc0beb8d55c57c84c1f46ef51b03029670213f705c59b21456d51945793923

See more details on using hashes here.

File details

Details for the file rampo-0.7.1-py3-none-any.whl.

File metadata

  • Download URL: rampo-0.7.1-py3-none-any.whl
  • Upload date:
  • Size: 751.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for rampo-0.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5a99993c366f8ea89b88b2d37fe49b0f388f1eb42715d2582bdef00fb7ec1992
MD5 ddd2a3b483060578f73b08b7eaf3378c
BLAKE2b-256 fab067efd52b08cba6b440098b30ee666628dffc50524a846371c2222fcc9ec9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page