./
spdynps.pro
Contains the spdynps procedure and supporting procedures
Author information
- Author
Philippe Zarka
- History
2009/04/30: Created
2011/05/30: Last Edit
Routines
Routines from spdynps.pro
FOND, tab, fon, sigma
Background and sigma of a 1-D distribution of intensities.
FAIT_FOND, tab, fichier, f, s
Calculation of Background and Sigma arrays of a 2-D distribution of intensities, frequency by frequency.
RETIRE_FOND, f, s, seuil, tab
Substraction of (background + seuil * sigmas) from a 2-D array of raw data, and setting of resulting negative values to 0.
SPDYNPS, image [, xmin] [, xmax] [, ymin] [, ymax] [, legende_x] [, legende_y] [, titre] [, grid] [, fond] [, seuil] [, fracmin] [, fracmax] [, color] [, bar_titre] [, log=sometype] [, posxmin=sometype] [, posymin=sometype] [, posxmax=sometype] [, posymax=sometype] [, col_scale=sometype]
PostScript plot of dynamic spectrum.
HELP_SPDYNPS
Routine details
top source FOND
Background and sigma of a 1-D distribution of intensities.
Parameters
- tab
- fon
- sigma
Statistics
Lines: | 12 lines |
Cyclomatic complexity: | 4 |
Modified cyclomatic complexity: | 4 |
top source FAIT_FOND
Calculation of Background and Sigma arrays of a 2-D distribution of intensities, frequency by frequency. ONLY values >min(tab) are used. A save set can be put in 'fichier'.
Parameters
- tab
- fichier
- f
- s
Statistics
Lines: | 14 lines |
Cyclomatic complexity: | 3 |
Modified cyclomatic complexity: | 3 |
top source RETIRE_FOND
Substraction of (background + seuil * sigmas) from a 2-D array of raw data, and setting of resulting negative values to 0.
Parameters
- f
- s
- seuil
- tab
Statistics
Lines: | 4 lines |
Cyclomatic complexity: | 1 |
Modified cyclomatic complexity: | 1 |
top source SPDYNPS
SPDYNPS, image [, xmin] [, xmax] [, ymin] [, ymax] [, legende_x] [, legende_y] [, titre] [, grid] [, fond] [, seuil] [, fracmin] [, fracmax] [, color] [, bar_titre] [, log=sometype] [, posxmin=sometype] [, posymin=sometype] [, posxmax=sometype] [, posymax=sometype] [, col_scale=sometype]
PostScript plot of dynamic spectrum.
Parameters
- image in required type=sometype
dynamic spectrum
- xmin in optional type=sometype
range x coordinate
- xmax in optional type=sometype
range x coordinate
- ymin in optional type=sometype
range y coordinate
- ymax in optional type=sometype
range y coordinate
- legende_x in optional type=sometype
x axis caption
- legende_y in optional type=sometype
y axis caption
- titre in optional type=sometype
title of plot
- grid in optional type=sometype
=1 to superimpose a grid to the plot, =0 otherwise
- fond in optional type=sometype
=1 to substract a background to the data before plotting, =0 otherwise
- seuil in optional type=sometype
number of sigmas -in addition to fond- to substract from data
- fracmin in optional type=sometype
min threshold for optimization of the dynamic range of the plot
- fracmax in optional type=sometype
max threshold for optimization of the dynamic range of the plot
- color in optional type=sometype
grey scale of plot: =0 -> black=intense, =1 -> white=intense
- bar_titre in optional type=sometype
title of dynamic bar (unit = dB, except if '.')
Keywords
- log in optional type=sometype
A keyword named log
- posxmin in optional type=sometype
A keyword named posxmin
- posymin in optional type=sometype
A keyword named posymin
- posxmax in optional type=sometype
A keyword named posxmax
- posymax in optional type=sometype
A keyword named posymax
- col_scale in optional type=sometype
A keyword named col_scale
Other attributes
Statistics
Lines: | 97 lines |
Cyclomatic complexity: | 33 |
Modified cyclomatic complexity: | 33 |
File attributes
Modification date: | Fri Jan 9 19:59:00 2015 |
Lines: | 132 |