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:
.speRaman files - 2D detector view: CCD image
- reference library concept:
RAPOfiles 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
- Open an
.spefile by clickingOpen SPEbutton. - Set the excitation laser wavelength.
- Use the top mouse toolbar to switch between
Zoom,ROI, andPeak. - In
Spectrum, useROIon the top CCD image to define the CCD row ROI for spectrum extraction. - Still in
Spectrum, leave mouse mode inROIand drag on the 1D spectrum to add background-fit areas. Repeat as needed, then clickFit BG. CheckBg showto display the fitted background andBgSubto subtract it. - Adjust
Smoothingoptions if despike or Savitzky-Golay smoothing is needed. - For mapping, open the
Maptab and clickLoad SPE filesto select the map files. For ASU data, choose*-raw.spefiles. SelectRow-majorfor ASU data andSnakefor APS data. ConfirmNxandNy, then clickCompute Map. - In
MaporSeq, click the topROImouse mode, drag the spectral range on the main spectrum plot, and RamPo will return toZoomafter the ROI is set. - Use Diff, Waterfall, or PeakFit tools as needed. In PeakFit, switch to top
Peakmode to add or remove peaks on the spectrum. - Press
Saveto 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rampo-0.7.0.tar.gz.
File metadata
- Download URL: rampo-0.7.0.tar.gz
- Upload date:
- Size: 211.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
28b73847066b164ba1956e347122c95a8a881844e84be45e731bf9f61800a8c1
|
|
| MD5 |
541221ed638373715a9bad58f9331e91
|
|
| BLAKE2b-256 |
754e556f12f185e999e6f11085f6bdac645040d4e0256c08181ea0a3bf28811e
|
File details
Details for the file rampo-0.7.0-py3-none-any.whl.
File metadata
- Download URL: rampo-0.7.0-py3-none-any.whl
- Upload date:
- Size: 230.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
671283f0b93a5252b260e9775e21208a79498c759269a2d6d07870afcecd5812
|
|
| MD5 |
13499d75a02ddd146192ba8a7897a7e8
|
|
| BLAKE2b-256 |
ce9ebc1c1d78b96555fa5cf7a75fedc0c0122314d7ec7b4f5474ea8e1b91b1e0
|