USGSCSM
U.S. flag

An official website of the United States government

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Secure .gov websites use HTTPS
A lock ( ) or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

io.io_spectral_profiler — Kaguya Spectral Profiler to DataFrame

The :mod:`io.io_spectral_profiler`module supports reading Kaguya SP data into a Pandas DataFrame.

New in version 0.1.0.

class plio.io.io_spectral_profiler.Spectral_Profiler(input_data, label=None, cleaned=True, qa_threshold=2000)[source]
spectra

A pandas panel containing n individual spectra.

Type:

panel

ancillary_data

A pandas DataFrame of the parsed ancillary data (PVL label)

Type:

dataframe

label

The raw PVL label object

Type:

object

offsets

with key as the spectra index and value as the start byte offset

Type:

dict

open_browse(extension='.jpg')[source]

Attempt to open the browse image corresponding to the spc file

Parameters:

extension (str) – The file type extension to be added to the base name of the spc file.