planck.distribution.lambda: Plank distribution as a function of wavelength.

View source: R/planck.distribution.functions.R

planck.distribution.lambdaR Documentation

Plank distribution as a function of wavelength.

Description

This is a function to plot the Plank distribution as a function of wavelength.

Usage

planck.distribution.lambda(lam.min, lam.max, Temp, plotQ = FALSE)

Arguments

lam.min

The smallest wavelength to use. Use something at least little larger than 0.

lam.max

The largest wavelength to use.

Temp

The temperature in Kelvin

plotQ

Whether or not to plot the distribution

Details

This is a function to plot the Plank distribution as a function of wavelength.

Value

A two column matrix. The first column is the lambda-axis over which the Planck distribution was computed. The second column is the Planck distribution values

Examples

#Now USE the function planck.distribution.lambda below:
planck.distribution.lambda(10e-9,10000e-9,1500)
planck.distribution.lambda(10e-9,12000e-9,1500)


npetraco/che302r documentation built on April 17, 2025, 10:34 p.m.