Name
imf_params_cl1 - fit image formation parameters using constrained simplex method
Usage
- res = imf_params_cl1(pw2, n1, iswi = 1, Pixel_size = 1)
Input
- pw2
- a list contains 1D rotationally averaged power spectrum
- n1
`n+1`, `n` is The rank of polynomial applied for fitting
- Pixel_size
Pixel_size, it can be set an arbitary constant if is not required to give frequencies in1/`Å`.
Output
- res[0]
- the frequnecies 1/angstrom
- res[1]
- fitting background or envelope function
- res[2]
- The original power spectrum for paramters extracting
- res[3]
The number of extracted paramters is equal to len(`res[3]`)=`n_1`
Options
Description
- 1. This program is supposed to extract the conventional background noise using constrained simplex method. The background noise is supposed to have the form of
a. `N_2=e^(a_1*X+a_0)`
b. `N_2=e^(a_2*X^2+a_1*X+a_0)`
`...`
c. `N_2=e^(a_n*X^n+...+a_1*X+a_0)`
- 2. The fitting is performed in logrithm scale.
Method
Reference
Author / Maintainer
Zhong Huang
Keywords
- category 1
- UTILITIES
Files
utilities.py
See also
Maturity
- stable
- currently disabled/works for most people, has been tested; test cases/examples available.
Bugs
None. It is perfect.