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 uv to add it to a project:

uv 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.

Credits

This package was created with Cookiecutter / Cruft and the Cookiecutter PyPackage uv project template.

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.4.0.tar.gz (16.8 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.4.0-py3-none-any.whl (18.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nanofinderparser-0.4.0.tar.gz
  • Upload date:
  • Size: 16.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for nanofinderparser-0.4.0.tar.gz
Algorithm Hash digest
SHA256 1e6f20cff93a395afdea7705aaeab6110d771d325cc42d6dac2075ab37a4e9c7
MD5 fe0917477182bfecc8fd82701dcc1c47
BLAKE2b-256 c1e19e7e784766247c1d2957fec20e1e153fdc7ff0cb246cc25b47fbe42800f1

See more details on using hashes here.

Provenance

The following attestation bundles were made for nanofinderparser-0.4.0.tar.gz:

Publisher: python-publish.yml on psolsfer/NanofinderParser

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

File hashes

Hashes for nanofinderparser-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 570c383b0ddb935e6e89af29deeabe21f8e8ffade3c4fcca438cdeddacb825f9
MD5 25121b2b27ff828394feefe2a16d9c12
BLAKE2b-256 f03a986258b3fbe34cf02725e4d088d35fa043021d57e76503e64e4eb49f17c3

See more details on using hashes here.

Provenance

The following attestation bundles were made for nanofinderparser-0.4.0-py3-none-any.whl:

Publisher: python-publish.yml on psolsfer/NanofinderParser

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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