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

If you already have PeakPo 7.10.x installed and a conda environment named pkpo710, you can install RamPo in that environment.

conda activate pkpo710
pip install rampo

Running RamPo

conda activate pkpo710
rampo

Typical Workflow

  1. Open an .spe file by clicking Open SPE button.
  2. Set the excitation laser wavelength.
  3. In the top toolbar, click the CCD button and the zoom-out button to rescale the spectrum display.
  4. In the Spectrum > Process tab, click Select ROI and draw a rectangle in the top image to define the ROI for spectrum integration.
  5. In the same tab, adjust the parameters in Smoothing if smoothing is needed.
  6. In the same tab, to define the background, click Add area and draw a rectangle on the lower spectrum plot to mark a range for background data points. Repeat this for several areas, ideally including both the left and right ends of the spectrum. Once you have selected enough background points, click Fig BG to fit the background. Check the Bg show box to display the fit, and check BgSub to subtract the background.
  7. For mapping, open the Map tab and click Load SPE files to select the map files. For ASU data, make sure you choose *-raw.spe files. Select Row-major for ASU data and Snake for APS data in the dropdown menu. Make sure Nx and Ny are correctly detected by RamPo. If not, update the values and then click Compute Map.
  8. In the Map tab, click Select ROI to choose the spectral range where intensity mapping will be performed.
  9. Use Diff, Seq, Waterfall, or PeakFit tools as needed.
  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

Current citation placeholder:

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

See rampo/rampo/citation.py. See 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.1.0.tar.gz (198.1 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.1.0-py3-none-any.whl (216.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for rampo-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f806ed05ac5aa0591ffcc5d08f6aa7eb253ea4f96bf47f92a4af0e809e721154
MD5 a36c42beb03180a20e1b0f0df5cc0cff
BLAKE2b-256 3b8c6c87ef3fbc226033b36478f83eb321acfe1379c9bf819e1d30060835c7f2

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for rampo-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4efe04fa3894f38f15f06cac084843cf27cb0b164b98b605085ba78ec3e8c018
MD5 a7627364a10702edb1e865b739e5885f
BLAKE2b-256 43811099a4eaba50ca9878198d08cf41df328d902b327d5ab056a84febbdc7ac

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