Skip to main content

Parse and process Raman and photoluminescence (PL) data files generated by Nanofinder instruments.

Project description

NanofinderParser


Documentation Status PyPI - Version License - BSD-3-Clause

Parse and process Raman and photoluminescence (PL) data files generated by Nanofinder instruments.

Features

  • Parse SMD (Scanned Measurement Data) files produced by NanoFinder instruments
  • Convert spectral data between different units (nm, cm-1, eV, Raman shift)
  • Export parsed data to CSV files or pandas DataFrames

Installation

You can install NanofinderParser using pip:

pip install nanofinderparser

Or using Poetry:

poetry add nanofinderparser

Quick Start

Here's a simple example of how to use NanofinderParser in python:

from pathlib import Path
from nanofinderparser import load_smd

# Load an SMD file
file_path = Path("path/to/your/smd/file.smd")
mapping_data = load_smd(file_path)

# Access basic information
print(f"Laser wavelength: {mapping_data.laser_wavelength} nm")
print(f"Map size: {mapping_data.map_size}")

# Export data to CSV
mapping_data.to_csv(path=Path("output"), spectral_units="raman_shift")

You can also use NanofinderParser from the command line:

# Convert an SMD file to CSV
nanofinderparser convert path/to/your/smd/file.smd output_folder --units nm

# Display information about an SMD file
nanofinderparser info path/to/your/smd/file.smd

For more detailed usage instructions, please refer to the documentation.

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

nanofinderparser-0.3.0.tar.gz (16.7 kB view details)

Uploaded Source

Built Distribution

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

nanofinderparser-0.3.0-py3-none-any.whl (18.2 kB view details)

Uploaded Python 3

File details

Details for the file nanofinderparser-0.3.0.tar.gz.

File metadata

  • Download URL: nanofinderparser-0.3.0.tar.gz
  • Upload date:
  • Size: 16.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for nanofinderparser-0.3.0.tar.gz
Algorithm Hash digest
SHA256 8df7fd4772f7074944cd75ecb60e3f017509eb41978055cc8aab80c7966a71e8
MD5 a236c8f66147d482f20899858bc56627
BLAKE2b-256 133d9064fdfee05a3a6bfd96fdd07da10313c770919f899b5b9bbb0e436ca57f

See more details on using hashes here.

File details

Details for the file nanofinderparser-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for nanofinderparser-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e7879b69fd1da5ab726e3be5aaf9715752346155610319ef0773c05c1766591e
MD5 ff481d9392f79bf9dc0ff4421e6bac8e
BLAKE2b-256 41d5840ebdc4316e0922002f7087c0ab7150bcc380bd6c0c16392d65ef562d2b

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