Socket
Book a DemoInstallSign in
Socket

nanofinderparser

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nanofinderparser

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

pipPyPI
Version
0.3.1
Maintainers
1

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.

Keywords

nanofinderparser

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts