Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.stsci.edu/~robberto/Main/Software/IDL4pipeline/ramp_basiclinfit.html
Дата изменения: Thu Feb 27 21:56:50 2014
Дата индексирования: Sun Mar 2 09:48:45 2014
Кодировка:

Поисковые слова: arp 220
ramp_basiclinfit.pro (JWST Pipeline routines in IDL)

JWST Pipeline routines in IDL

A collection mantained by M. Robberto

single page | use frames     summary     class     fields     routine details     file attributes

./

ramp_basiclinfit.pro


This function performs a basic linear fit, returns intercept and slope for each pixel

top source RAMP_BasicLinFit

JWST Data Processing - NIRCam Cryo tests

RAMP_BasicLinFit, data0, fit_params

Basic linear fit, returns intercept and slope for each pixel

Parameters

data0 in required type=fltarr(2048,2048,Ngroup)

ramp datacube to be fit

fit_params out required type=fltarr(2048,2048,2)

intercept => [2048,2048,0] slope => [2048,2048,1] sigma_intercept => [2048,2048,2] sigma_slope => [2048,2048,3]

Examples

IDL> ramp_BasicLinFit, data0, fit_params

Author information

Author:

- Based on clever code exploiting IDL matrix operators from R. Arendt (GSFC) - Adapted by M. Robberto, 25 Apr. 2013 - Added errors on intercept and slope, MR. 25 Feb. 2014

Statistics

Lines:
58 lines
McCabe complexity:
4

File attributes

Modification date: Tue Feb 25 13:14:48 2014
Lines: 84