sp_code: Spectral code

View source: R/sp_code.R

sp_codeR Documentation

Spectral code

Description

Return a number based on spectral type of star (first two characters)

Usage

sp_code(spectr)

Arguments

spectr

a character string with spectr type of star.

Value

A number.

Examples

spectr_code <- sp_code('B9IVpSi')

drastega/specklestar documentation built on Nov. 20, 2023, 8:21 p.m.