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.
- In the top toolbar, click the
CCDbutton and the zoom-out button to rescale the spectrum display. - In the
Spectrum>Processtab, clickSelect ROIand draw a rectangle in the top image to define the ROI for spectrum integration. - In the same tab, adjust the parameters in
Smoothingif smoothing is needed. - In the same tab, to define the background, click
Add areaand 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, clickFig BGto fit the background. Check theBg showbox to display the fit, and checkBgSubto subtract the background. - For mapping, open the
Maptab and clickLoad SPE filesto select the map files. For ASU data, make sure you choose*-raw.spefiles. SelectRow-majorfor ASU data andSnakefor APS data in the dropdown menu. Make sureNxandNyare correctly detected by RamPo. If not, update the values and then clickCompute Map. - In the
Maptab, clickSelect ROIto choose the spectral range where intensity mapping will be performed. - Use Diff, Seq, Waterfall, or PeakFit tools as needed.
- 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.5.0.tar.gz.
File metadata
- Download URL: rampo-0.5.0.tar.gz
- Upload date:
- Size: 205.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
89d798e29c3c006e3d02d24ec1143e155794df82f71d710be20420d77761b4e7
|
|
| MD5 |
967e210c9f30d820d159e57f327c9fc3
|
|
| BLAKE2b-256 |
c6523774d2dd96463573306f425e09b10ef07b391f4f75ec9bcb7d116aa4eb7b
|
File details
Details for the file rampo-0.5.0-py3-none-any.whl.
File metadata
- Download URL: rampo-0.5.0-py3-none-any.whl
- Upload date:
- Size: 224.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
988d090a1680e1f550394d3516f69cb0a40e2d35716ae876cbac0e6576a9d78d
|
|
| MD5 |
1017bcf5e1ef4e90b68466724c4bb126
|
|
| BLAKE2b-256 |
789f9b8e15c0b79f31d16f6577511318c1ccadfdc36ef900e6ec93f0b6385ff5
|