/usr/share/doc/dpuser-doc/function_sersic2dfit.html is in dpuser-doc 3.3+p1+dfsg-2build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 | <html>
<head>
<meta name="Author" content="Thomas Ott">
<title>DPUSER - The Next Generation: Function sersic2dfit</title>
<style type="text/css" title="currentStyle">
@import "dpuser.css";
</style>
<link rel="shortcut icon" href="dpuser.ico" type="image/xicon">
</head>
<body>
<div id="header">DPUSER - The Next Generation</div>
<div id="menu">
<ul>
<li><a href="index.html">Introduction</a></li>
<li><a href="history.html">History</a></li>
<li><a href="syntax.html">Syntax</a></li>
<li><a href="operators.html">Operators</a></li>
<li><a href="ifandloop.html">Structural commands</a></li>
<li><a href="variables.html">Data types</a></li>
<li><a href="plotting.html">Graphics</a></li>
<li><a href="fitsfiles.html">Fits files</a></li>
<li><a href="category.html">Category index</a></li>
<li><a href="functions.html">Function index</a></li>
<li><a href="procedures.html">Procedure index</a></li>
<li><a href="pgplot.html">Pgplot index</a></li>
<li><a href="examples.html">Examples</a></li>
<hr>
<li><a href="qfitsview.html">QFitsView documentation</a></li>
<hr>
</ul>
<form method="GET" action="search.html">
<input type="text" size=15 name="keywords">
<input type="submit" value="Search">
</form>
</div>
<div id="content">
<h1 class="declaration">function sersic2dfit</h1>
<p>
Fit a two-dimensional sersic function to a rectangular grid (i.e. an image).<br>
The 2D sersic function is defined as I(x,y) = c + Ie * exp(-bn * (R/Re)^(1/n) - 1).<br>
R is an elliptical equation: R = sqrt(xp^2 + (yp / q)^2).<br>
xp and yp describe a rotation: xp = (x - x0) * cos(angle) + (y - y0) * sin(angle), yp = - (x - x0) * sin(angle) + (y - y0) * cos(angle) and bn = 1.9992 * n - 0.3271
<br><br><b><font size=+2>Syntax</font></b><br>
<i>result</i> = sersic2dfit(image, errors, estimate [, chisq])
<br><br><b><font size=+2>Arguments</font></b><br>
<table CELLSPACING=0 CELLPADDING=0>
<tr VALIGN=TOP><td nowrap>image: </td>
<td> The image to be fit</td></tr>
<tr VALIGN=TOP><td nowrap>errors: </td>
<td> The errors in the image values</td></tr>
<tr VALIGN=TOP><td nowrap>estimate: </td>
<td> Initial estimate for the fit of the form [c, Ie, Re, x0, y0, angle, q, n]. If n is provided with a negative sign, it won't be fitted and assumed as fixed (with positive sign, of course).</td></tr>
<tr VALIGN=TOP><td nowrap>chisq: </td>
<td> If set to a named variable, the variable is overwritten with the chi-squared of the fit.</td></tr>
</table>
<br><br><b><font size=+2>Returns</font></b><br>
The returned vector contains the best-fit parameters in the form [c, Ie, Re, x0, y0, angle, q, n] or [c, Ie, Re, x0, y0, angle, q] if n was kept fixed.
<br><br><b><font size=+2>See also</font></b><br>
<a href = "function_sersic2dsimplefit.html">function sersic2dsimplefit</a><br>
</div>
<div id="copyright">
Copyright © Thomas Ott ---- DPUSER - The Next Generation 3.3 (Rev. )
</div>
</body>
</html>
|