/usr/share/doc/cpl-plugin-xsh-doc/html/xsh_scired_slit_stare.html is in cpl-plugin-xsh-doc 2.3.0+dfsg-3.
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 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>The xsh_scired_slit_stare recipe — XSH pipeline 2.3.0 documentation</title>
<link rel="stylesheet" href="_static/sphinxdoc.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: './',
VERSION: '2.3.0',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
};
</script>
<script type="text/javascript" src="_static/jquery.js"></script>
<script type="text/javascript" src="_static/underscore.js"></script>
<script type="text/javascript" src="_static/doctools.js"></script>
<link rel="top" title="XSH pipeline 2.3.0 documentation" href="index.html" />
<link rel="next" title="The xsh_scired_ifu_stare recipe" href="xsh_scired_ifu_stare.html" />
<link rel="prev" title="The xsh_scired_slit_offset recipe" href="xsh_scired_slit_offset.html" />
</head>
<body>
<div class="related">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="genindex.html" title="General Index"
accesskey="I">index</a></li>
<li class="right" >
<a href="xsh_scired_ifu_stare.html" title="The xsh_scired_ifu_stare recipe"
accesskey="N">next</a> |</li>
<li class="right" >
<a href="xsh_scired_slit_offset.html" title="The xsh_scired_slit_offset recipe"
accesskey="P">previous</a> |</li>
<li><a href="index.html">XSH pipeline 2.3.0 documentation</a> »</li>
</ul>
</div>
<div class="sphinxsidebar">
<div class="sphinxsidebarwrapper">
<h3><a href="index.html">Table Of Contents</a></h3>
<ul>
<li><a class="reference internal" href="#">The xsh_scired_slit_stare recipe</a><ul>
<li><a class="reference internal" href="#synopsis">Synopsis</a></li>
<li><a class="reference internal" href="#description">Description</a></li>
<li><a class="reference internal" href="#constructor">Constructor</a></li>
<li><a class="reference internal" href="#parameters">Parameters</a></li>
<li><a class="reference internal" href="#bug-reports">Bug reports</a></li>
<li><a class="reference internal" href="#copyright">Copyright</a></li>
</ul>
</li>
</ul>
<h4>Previous topic</h4>
<p class="topless"><a href="xsh_scired_slit_offset.html"
title="previous chapter">The xsh_scired_slit_offset recipe</a></p>
<h4>Next topic</h4>
<p class="topless"><a href="xsh_scired_ifu_stare.html"
title="next chapter">The xsh_scired_ifu_stare recipe</a></p>
<h3>This Page</h3>
<ul class="this-page-menu">
<li><a href="_sources/xsh_scired_slit_stare.txt"
rel="nofollow">Show Source</a></li>
</ul>
<div id="searchbox" style="display: none">
<h3>Quick search</h3>
<form class="search" action="search.html" method="get">
<input type="text" name="q" />
<input type="submit" value="Go" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
<p class="searchtip" style="font-size: 90%">
Enter search terms or a module, class or function name.
</p>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
</div>
</div>
<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body">
<div class="section" id="the-xsh-scired-slit-stare-recipe">
<h1>The xsh_scired_slit_stare recipe<a class="headerlink" href="#the-xsh-scired-slit-stare-recipe" title="Permalink to this headline">¶</a></h1>
<dl class="data">
<dt id="xsh_scired_slit_stare">
<tt class="descname">xsh_scired_slit_stare</tt><a class="headerlink" href="#xsh_scired_slit_stare" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<div class="section" id="synopsis">
<h2>Synopsis<a class="headerlink" href="#synopsis" title="Permalink to this headline">¶</a></h2>
<p>Reduce science exposure in SLIT configuration and stare mode</p>
</div>
<div class="section" id="description">
<h2>Description<a class="headerlink" href="#description" title="Permalink to this headline">¶</a></h2>
<p>This recipe reduces science exposure in SLIT configuration and stare mode
Input Frames :</p>
<blockquote>
<div><ul class="simple">
<li>A set of n Science frames ( n == 1 or >=3, Tag = OBJECT_SLIT_STARE_UVB)</li>
<li>A spectral format table (Tag = SPECTRAL_FORMAT_TAB_arm)</li>
<li>[UVB,VIS] A master bias frame (Tag = MASTER_BIAS_arm)</li>
<li>[OPTIONAL]A master dark frame (Tag = MASTER_DARK_arm)</li>
<li>A master flat frame (Tag = MASTER_FLAT_SLIT_arm)</li>
<li>An order table frame(Tag = ORDER_TAB_EDGES_SLIT_arm)</li>
<li>[OPTIONAL] A table with dispersion coefficients (Tag = DISP_TAB_arm,
required in poly mode</li>
<li>[poly mode] A wave solution frame(Tag = WAVE_TAB_2D_arm)</li>
<li>[physical model mode] A model cfg table (Format = TABLE, Tag = XSH_MOD_CFG_TAB_arm)</li>
<li>[OPTIONAL] A table specifying multiplying factor for break points
(Tag = SKY_SUB_BKPTS_arm) to generate</li>
<li>[OPTIONAL] A non-linear badpixel map (Tag = BP_MAP_NL_arm)</li>
<li>[OPTIONAL] A reference badpixel map (Tag = BP_MAP_RP_arm)</li>
<li>[OPTIONAL,physmod mode] A table listing sky line positions (Tag = SKY_LINE_LIST_arm)
this is used to be able to control quality of sky subtraction, for example
projecting guess positions on the product SCI_SLIT_STARE_SUB_SKY_arm</li>
<li>[OPTIONAL] The instrument response table (Tag = RESPONSE_ORDER1D_SLIT_arm)</li>
<li>[OPTIONAL] An atmospheric extinction table (Tag = ATMOS_EXT_arm)</li>
<li>[OPTIONAL] A telluric mask (Tag = TELL_MASK_arm)</li>
</ul>
</div></blockquote>
<dl class="docutils">
<dt>Products :</dt>
<dd><ul class="first last simple">
<li>PREFIX_ORDER2D_arm extracted spectrum, order-by-order, 2D</li>
<li>PREFIX_ORDER1D_arm extracted spectrum, order-by-order, 1D</li>
<li>PREFIX_MERGE2D_arm merged spectrum, 2D</li>
<li>PREFIX_MERGE1D_arm merged spectrum, 1D</li>
<li>SKY_SLIT_MERGE2D_arm merged spectrum sky, 2D</li>
<li>PREFIX_SUB_BACK_SLIT_arm sci frame bias, (dark), inter-order bkg subtracted</li>
<li>PREFIX_WAVE_MAP_arm, wave map image</li>
<li>PREFIX_SLIT_MAP_arm, slit map image</li>
<li>PREFIX_DIVFF_arm as PREFIX_SUB_BACK_SLIT_arm, flat fielded</li>
<li>PREFIX_SUB_SKY_arm, as PREFIX_DIVFF_arm, sky subtracted</li>
<li>PREFIX_SKY_arm, 2D sky frame</li>
<li>PREFIX_SKY_ORD1D_arm, 1D sky image (order-by-order)</li>
<li>PREFIX_BACK_SLIT_arm, inter order background image</li>
<li>where PREFIX is SCI, FLUX, TELL if input raw DPR.TYPE contains OBJECT or FLUX or TELLURIC</li>
<li>[OPTIONAL, if response and atm ext are provided] PREFIX_FLUX_ORDER2D_arm (2 dimension)</li>
<li>[OPTIONAL, if response and atm ext are provided] PREFIX_FLUX_ORDER1D_arm (1 dimension)</li>
<li>[OPTIONAL, if response and atm ext are provided] PREFIX_FLUX_MERGE2D_arm (2 dimension)</li>
<li>[OPTIONAL, if response and atm ext are provided] PREFIX_FLUX_MERGE1D_arm (1 dimension)</li>
<li>PREFIX_ON_arm bias (dark) subtracted sci frame</li>
</ul>
</dd>
</dl>
</div>
<div class="section" id="constructor">
<h2>Constructor<a class="headerlink" href="#constructor" title="Permalink to this headline">¶</a></h2>
<dl class="method">
<dt>
<tt class="descclassname">cpl.</tt><tt class="descname">Recipe</tt><big>(</big><em>"xsh_scired_slit_stare"</em><big>)</big></dt>
<dd><p>Create an object for the recipe xsh_scired_slit_stare.</p>
</dd></dl>
<div class="highlight-python"><div class="highlight"><pre><span class="kn">import</span> <span class="nn">cpl</span>
<span class="n">xsh_scired_slit_stare</span> <span class="o">=</span> <span class="n">cpl</span><span class="o">.</span><span class="n">Recipe</span><span class="p">(</span><span class="s">"xsh_scired_slit_stare"</span><span class="p">)</span>
</pre></div>
</div>
</div>
<div class="section" id="parameters">
<h2>Parameters<a class="headerlink" href="#parameters" title="Permalink to this headline">¶</a></h2>
<dl class="attribute">
<dt id="xsh_scired_slit_stare.param.keep_temp">
<tt class="descclassname">xsh_scired_slit_stare.param.</tt><tt class="descname">keep_temp</tt><a class="headerlink" href="#xsh_scired_slit_stare.param.keep_temp" title="Permalink to this definition">¶</a></dt>
<dd><p>If ‘no’, temporary files are deleted. (str; default: ‘no’) [default=”no”].</p>
</dd></dl>
<dl class="attribute">
<dt id="xsh_scired_slit_stare.param.debug_level">
<tt class="descclassname">xsh_scired_slit_stare.param.</tt><tt class="descname">debug_level</tt><a class="headerlink" href="#xsh_scired_slit_stare.param.debug_level" title="Permalink to this definition">¶</a></dt>
<dd><p>Additional xshooter debug level. One of ‘none’, ‘low’, ‘medium’, ‘high’ (str; default: ‘none’) [default=”none”].</p>
</dd></dl>
<dl class="attribute">
<dt id="xsh_scired_slit_stare.param.time_stamp">
<tt class="descclassname">xsh_scired_slit_stare.param.</tt><tt class="descname">time_stamp</tt><a class="headerlink" href="#xsh_scired_slit_stare.param.time_stamp" title="Permalink to this definition">¶</a></dt>
<dd><p>Add timestamp to product file name. (bool; default: False) [default=False].</p>
</dd></dl>
<dl class="attribute">
<dt id="xsh_scired_slit_stare.param.decode_bp">
<tt class="descclassname">xsh_scired_slit_stare.param.</tt><tt class="descname">decode_bp</tt><a class="headerlink" href="#xsh_scired_slit_stare.param.decode_bp" title="Permalink to this definition">¶</a></dt>
<dd><p>Integer representation of the bits to be considered bad when decoding the bad pixel mask pixel values. (long; default: 2144337919) [default=2144337919].</p>
</dd></dl>
<dl class="attribute">
<dt id="xsh_scired_slit_stare.param.pre_overscan_corr">
<tt class="descclassname">xsh_scired_slit_stare.param.</tt><tt class="descname">pre_overscan_corr</tt><a class="headerlink" href="#xsh_scired_slit_stare.param.pre_overscan_corr" title="Permalink to this definition">¶</a></dt>
<dd><p>pre-overscan correction.0: no correction1: mean overscan correction2: mean prescan correction3: (mean pre+mean overscan)/2 correction (long; default: 1) [default=1].</p>
</dd></dl>
<dl class="attribute">
<dt id="xsh_scired_slit_stare.param.stack_method">
<tt class="descclassname">xsh_scired_slit_stare.param.</tt><tt class="descname">stack_method</tt><a class="headerlink" href="#xsh_scired_slit_stare.param.stack_method" title="Permalink to this definition">¶</a></dt>
<dd><p>Method used to build master frame. (str; default: ‘median’) [default=”median”].</p>
</dd></dl>
<dl class="attribute">
<dt id="xsh_scired_slit_stare.param.klow">
<tt class="descclassname">xsh_scired_slit_stare.param.</tt><tt class="descname">klow</tt><a class="headerlink" href="#xsh_scired_slit_stare.param.klow" title="Permalink to this definition">¶</a></dt>
<dd><p>Kappa used to clip low level values, when method is set to ‘mean’ (float; default: 5.0) [default=5.0].</p>
</dd></dl>
<dl class="attribute">
<dt id="xsh_scired_slit_stare.param.khigh">
<tt class="descclassname">xsh_scired_slit_stare.param.</tt><tt class="descname">khigh</tt><a class="headerlink" href="#xsh_scired_slit_stare.param.khigh" title="Permalink to this definition">¶</a></dt>
<dd><p>Kappa used to clip high level values, when method is set to ‘mean’ (float; default: 5.0) [default=5.0].</p>
</dd></dl>
<dl class="attribute">
<dt id="xsh_scired_slit_stare.param.background_edges_margin">
<tt class="descclassname">xsh_scired_slit_stare.param.</tt><tt class="descname">background_edges_margin</tt><a class="headerlink" href="#xsh_scired_slit_stare.param.background_edges_margin" title="Permalink to this definition">¶</a></dt>
<dd><p>X margin to order edge to define background sampling points (long; default: 1) [default=1].</p>
</dd></dl>
<dl class="attribute">
<dt id="xsh_scired_slit_stare.param.background_poly_deg_y">
<tt class="descclassname">xsh_scired_slit_stare.param.</tt><tt class="descname">background_poly_deg_y</tt><a class="headerlink" href="#xsh_scired_slit_stare.param.background_poly_deg_y" title="Permalink to this definition">¶</a></dt>
<dd><p>Poly mode fit deg along Y. (long; default: 9) [default=9].</p>
</dd></dl>
<dl class="attribute">
<dt id="xsh_scired_slit_stare.param.background_poly_deg_x">
<tt class="descclassname">xsh_scired_slit_stare.param.</tt><tt class="descname">background_poly_deg_x</tt><a class="headerlink" href="#xsh_scired_slit_stare.param.background_poly_deg_x" title="Permalink to this definition">¶</a></dt>
<dd><p>Poly mode fit deg along X. (long; default: 9) [default=9].</p>
</dd></dl>
<dl class="attribute">
<dt id="xsh_scired_slit_stare.param.background_poly_kappa">
<tt class="descclassname">xsh_scired_slit_stare.param.</tt><tt class="descname">background_poly_kappa</tt><a class="headerlink" href="#xsh_scired_slit_stare.param.background_poly_kappa" title="Permalink to this definition">¶</a></dt>
<dd><p>Poly mode kappa value of kappa-sigma-clip outliers removal. (float; default: 10.0) [default=10.0].</p>
</dd></dl>
<dl class="attribute">
<dt id="xsh_scired_slit_stare.param.removecrhsingle_sigmalim">
<tt class="descclassname">xsh_scired_slit_stare.param.</tt><tt class="descname">removecrhsingle_sigmalim</tt><a class="headerlink" href="#xsh_scired_slit_stare.param.removecrhsingle_sigmalim" title="Permalink to this definition">¶</a></dt>
<dd><p>Poisson fluctuation threshold to flag CRHs (see van Dokkum, PASP,113,2001,p1420-27) (float; default: 20.0) [default=20.0].</p>
</dd></dl>
<dl class="attribute">
<dt id="xsh_scired_slit_stare.param.removecrhsingle_flim">
<tt class="descclassname">xsh_scired_slit_stare.param.</tt><tt class="descname">removecrhsingle_flim</tt><a class="headerlink" href="#xsh_scired_slit_stare.param.removecrhsingle_flim" title="Permalink to this definition">¶</a></dt>
<dd><p>Minimum contrast between the Laplacian image and the fine structure image that a point must have to be flagged as CRH. (see van Dokkum, PASP,113,2001,p1420-27) (float; default: 2.0) [default=2.0].</p>
</dd></dl>
<dl class="attribute">
<dt id="xsh_scired_slit_stare.param.removecrhsingle_niter">
<tt class="descclassname">xsh_scired_slit_stare.param.</tt><tt class="descname">removecrhsingle_niter</tt><a class="headerlink" href="#xsh_scired_slit_stare.param.removecrhsingle_niter" title="Permalink to this definition">¶</a></dt>
<dd><p>Max number of iterations (long; default: 4) [default=4].</p>
</dd></dl>
<dl class="attribute">
<dt id="xsh_scired_slit_stare.param.rectify_kernel">
<tt class="descclassname">xsh_scired_slit_stare.param.</tt><tt class="descname">rectify_kernel</tt><a class="headerlink" href="#xsh_scired_slit_stare.param.rectify_kernel" title="Permalink to this definition">¶</a></dt>
<dd><p>Name of the Interpolation Kernel Used. Possible values are: tanh, sinc, sinc2, lanczos, hamming, hann. (str; default: ‘tanh’) [default=”tanh”].</p>
</dd></dl>
<dl class="attribute">
<dt id="xsh_scired_slit_stare.param.rectify_radius">
<tt class="descclassname">xsh_scired_slit_stare.param.</tt><tt class="descname">rectify_radius</tt><a class="headerlink" href="#xsh_scired_slit_stare.param.rectify_radius" title="Permalink to this definition">¶</a></dt>
<dd><p>Rectify Interpolation radius [bin units]. (float; default: 2.0) [default=2.0].</p>
</dd></dl>
<dl class="attribute">
<dt id="xsh_scired_slit_stare.param.rectify_bin_lambda">
<tt class="descclassname">xsh_scired_slit_stare.param.</tt><tt class="descname">rectify_bin_lambda</tt><a class="headerlink" href="#xsh_scired_slit_stare.param.rectify_bin_lambda" title="Permalink to this definition">¶</a></dt>
<dd><p>Wavelength step in the output spectrum [nm] (float; default: -1.0) [default=-1.0].</p>
</dd></dl>
<dl class="attribute">
<dt id="xsh_scired_slit_stare.param.rectify_bin_slit">
<tt class="descclassname">xsh_scired_slit_stare.param.</tt><tt class="descname">rectify_bin_slit</tt><a class="headerlink" href="#xsh_scired_slit_stare.param.rectify_bin_slit" title="Permalink to this definition">¶</a></dt>
<dd><p>Spatial step along the slit in the output spectrum [arcsec] (float; default: -1.0) [default=-1.0].</p>
</dd></dl>
<dl class="attribute">
<dt id="xsh_scired_slit_stare.param.localize_method">
<tt class="descclassname">xsh_scired_slit_stare.param.</tt><tt class="descname">localize_method</tt><a class="headerlink" href="#xsh_scired_slit_stare.param.localize_method" title="Permalink to this definition">¶</a></dt>
<dd><p>Localization method (MANUAL, MAXIMUM, GAUSSIAN) used to detect the object centroid and height on the slit (str; default: ‘MANUAL’) [default=”MANUAL”].</p>
</dd></dl>
<dl class="attribute">
<dt id="xsh_scired_slit_stare.param.localize_chunk_nb">
<tt class="descclassname">xsh_scired_slit_stare.param.</tt><tt class="descname">localize_chunk_nb</tt><a class="headerlink" href="#xsh_scired_slit_stare.param.localize_chunk_nb" title="Permalink to this definition">¶</a></dt>
<dd><p>Number of chunks in the full spectrum to localize the object (long; default: 10) [default=10].</p>
</dd></dl>
<dl class="attribute">
<dt id="xsh_scired_slit_stare.param.localize_thresh">
<tt class="descclassname">xsh_scired_slit_stare.param.</tt><tt class="descname">localize_thresh</tt><a class="headerlink" href="#xsh_scired_slit_stare.param.localize_thresh" title="Permalink to this definition">¶</a></dt>
<dd><p>Threshold relative to the peak intensity below which the edges of the object are detected for MAXIMUM localization (float; default: 0.1) [default=0.1].</p>
</dd></dl>
<dl class="attribute">
<dt id="xsh_scired_slit_stare.param.localize_deg_lambda">
<tt class="descclassname">xsh_scired_slit_stare.param.</tt><tt class="descname">localize_deg_lambda</tt><a class="headerlink" href="#xsh_scired_slit_stare.param.localize_deg_lambda" title="Permalink to this definition">¶</a></dt>
<dd><p>Degree in lambda in the localization polynomial expression slit=f(lambda), used only for MAXIMUM and GAUSSIAN (long; default: 0) [default=0].</p>
</dd></dl>
<dl class="attribute">
<dt id="xsh_scired_slit_stare.param.localize_slit_position">
<tt class="descclassname">xsh_scired_slit_stare.param.</tt><tt class="descname">localize_slit_position</tt><a class="headerlink" href="#xsh_scired_slit_stare.param.localize_slit_position" title="Permalink to this definition">¶</a></dt>
<dd><p>Object position on the slit for MANUAL localization [arcsec] (float; default: 0.0) [default=0.0].</p>
</dd></dl>
<dl class="attribute">
<dt id="xsh_scired_slit_stare.param.localize_slit_hheight">
<tt class="descclassname">xsh_scired_slit_stare.param.</tt><tt class="descname">localize_slit_hheight</tt><a class="headerlink" href="#xsh_scired_slit_stare.param.localize_slit_hheight" title="Permalink to this definition">¶</a></dt>
<dd><p>Object half height on the slit for MANUAL localization [arcsec] (float; default: 2.0) [default=2.0].</p>
</dd></dl>
<dl class="attribute">
<dt id="xsh_scired_slit_stare.param.localize_kappa">
<tt class="descclassname">xsh_scired_slit_stare.param.</tt><tt class="descname">localize_kappa</tt><a class="headerlink" href="#xsh_scired_slit_stare.param.localize_kappa" title="Permalink to this definition">¶</a></dt>
<dd><p>Kappa value for sigma clipping in the localization polynomial fit (float; default: 3.0) [default=3.0].</p>
</dd></dl>
<dl class="attribute">
<dt id="xsh_scired_slit_stare.param.localize_niter">
<tt class="descclassname">xsh_scired_slit_stare.param.</tt><tt class="descname">localize_niter</tt><a class="headerlink" href="#xsh_scired_slit_stare.param.localize_niter" title="Permalink to this definition">¶</a></dt>
<dd><p>Number of iterations for sigma clipping in the localization polynomial fit (long; default: 3) [default=3].</p>
</dd></dl>
<dl class="attribute">
<dt id="xsh_scired_slit_stare.param.localize_use_skymask">
<tt class="descclassname">xsh_scired_slit_stare.param.</tt><tt class="descname">localize_use_skymask</tt><a class="headerlink" href="#xsh_scired_slit_stare.param.localize_use_skymask" title="Permalink to this definition">¶</a></dt>
<dd><p>TRUE if we want to mask sky lines using SKY_LINE_LIST file. (bool; default: False) [default=False].</p>
</dd></dl>
<dl class="attribute">
<dt id="xsh_scired_slit_stare.param.sky_subtract">
<tt class="descclassname">xsh_scired_slit_stare.param.</tt><tt class="descname">sky_subtract</tt><a class="headerlink" href="#xsh_scired_slit_stare.param.sky_subtract" title="Permalink to this definition">¶</a></dt>
<dd><p>TRUE to use subtract sky single. (bool; default: True) [default=True].</p>
</dd></dl>
<dl class="attribute">
<dt id="xsh_scired_slit_stare.param.sky_bspline_nbkpts_first">
<tt class="descclassname">xsh_scired_slit_stare.param.</tt><tt class="descname">sky_bspline_nbkpts_first</tt><a class="headerlink" href="#xsh_scired_slit_stare.param.sky_bspline_nbkpts_first" title="Permalink to this definition">¶</a></dt>
<dd><p>Nb of break points for Bezier curve fitting (without localization) (long; default: 3000) [default=3000].</p>
</dd></dl>
<dl class="attribute">
<dt id="xsh_scired_slit_stare.param.sky_bspline_nbkpts_second">
<tt class="descclassname">xsh_scired_slit_stare.param.</tt><tt class="descname">sky_bspline_nbkpts_second</tt><a class="headerlink" href="#xsh_scired_slit_stare.param.sky_bspline_nbkpts_second" title="Permalink to this definition">¶</a></dt>
<dd><p>Nb of break points for Bezier curve fitting (with localization) (long; default: 3000) [default=3000].</p>
</dd></dl>
<dl class="attribute">
<dt id="xsh_scired_slit_stare.param.sky_bspline_order">
<tt class="descclassname">xsh_scired_slit_stare.param.</tt><tt class="descname">sky_bspline_order</tt><a class="headerlink" href="#xsh_scired_slit_stare.param.sky_bspline_order" title="Permalink to this definition">¶</a></dt>
<dd><p>Bezier spline order (long; default: 7) [default=7].</p>
</dd></dl>
<dl class="attribute">
<dt id="xsh_scired_slit_stare.param.sky_bspline_niter">
<tt class="descclassname">xsh_scired_slit_stare.param.</tt><tt class="descname">sky_bspline_niter</tt><a class="headerlink" href="#xsh_scired_slit_stare.param.sky_bspline_niter" title="Permalink to this definition">¶</a></dt>
<dd><p>Nb of iterations (long; default: 20) [default=20].</p>
</dd></dl>
<dl class="attribute">
<dt id="xsh_scired_slit_stare.param.sky_bspline_kappa">
<tt class="descclassname">xsh_scired_slit_stare.param.</tt><tt class="descname">sky_bspline_kappa</tt><a class="headerlink" href="#xsh_scired_slit_stare.param.sky_bspline_kappa" title="Permalink to this definition">¶</a></dt>
<dd><p>Kappa value used to kappa-sigma-clip object (float; default: 5.0) [default=5.0].</p>
</dd></dl>
<dl class="attribute">
<dt id="xsh_scired_slit_stare.param.sky_method">
<tt class="descclassname">xsh_scired_slit_stare.param.</tt><tt class="descname">sky_method</tt><a class="headerlink" href="#xsh_scired_slit_stare.param.sky_method" title="Permalink to this definition">¶</a></dt>
<dd><p>Sky subtract Method (BSPLINE, MEDIAN) (str; default: ‘MEDIAN’) [default=”MEDIAN”].</p>
</dd></dl>
<dl class="attribute">
<dt id="xsh_scired_slit_stare.param.bspline_sampling">
<tt class="descclassname">xsh_scired_slit_stare.param.</tt><tt class="descname">bspline_sampling</tt><a class="headerlink" href="#xsh_scired_slit_stare.param.bspline_sampling" title="Permalink to this definition">¶</a></dt>
<dd><p>BSPLINE sampling. UNIFORM-uses the user defined nbkpts value, corrected for binning, for all orders. FINE: multiplies the user defined nbkpts value, corrected for binning, by a hard coded coefficient optimized on each arm-order) (str; default: ‘FINE’) [default=”FINE”].</p>
</dd></dl>
<dl class="attribute">
<dt id="xsh_scired_slit_stare.param.sky_median_hsize">
<tt class="descclassname">xsh_scired_slit_stare.param.</tt><tt class="descname">sky_median_hsize</tt><a class="headerlink" href="#xsh_scired_slit_stare.param.sky_median_hsize" title="Permalink to this definition">¶</a></dt>
<dd><p>Half size of the running median. If sky-method=MEDIAN . (long; default: 20) [default=20].</p>
</dd></dl>
<dl class="attribute">
<dt id="xsh_scired_slit_stare.param.sky_slit_edges_mask">
<tt class="descclassname">xsh_scired_slit_stare.param.</tt><tt class="descname">sky_slit_edges_mask</tt><a class="headerlink" href="#xsh_scired_slit_stare.param.sky_slit_edges_mask" title="Permalink to this definition">¶</a></dt>
<dd><p>Size of edges mask in arcsec (float; default: 0.5) [default=0.5].</p>
</dd></dl>
<dl class="attribute">
<dt id="xsh_scired_slit_stare.param.sky_position1">
<tt class="descclassname">xsh_scired_slit_stare.param.</tt><tt class="descname">sky_position1</tt><a class="headerlink" href="#xsh_scired_slit_stare.param.sky_position1" title="Permalink to this definition">¶</a></dt>
<dd><p>Central position of the sky window #1 [arcsec] (float; default: 0.0) [default=0.0].</p>
</dd></dl>
<dl class="attribute">
<dt id="xsh_scired_slit_stare.param.sky_hheight1">
<tt class="descclassname">xsh_scired_slit_stare.param.</tt><tt class="descname">sky_hheight1</tt><a class="headerlink" href="#xsh_scired_slit_stare.param.sky_hheight1" title="Permalink to this definition">¶</a></dt>
<dd><p>Half size of sky window #1 [arcsec] (float; default: 0.0) [default=0.0].</p>
</dd></dl>
<dl class="attribute">
<dt id="xsh_scired_slit_stare.param.sky_position2">
<tt class="descclassname">xsh_scired_slit_stare.param.</tt><tt class="descname">sky_position2</tt><a class="headerlink" href="#xsh_scired_slit_stare.param.sky_position2" title="Permalink to this definition">¶</a></dt>
<dd><p>Central position of the sky window #2 [arcsec] (float; default: 0.0) [default=0.0].</p>
</dd></dl>
<dl class="attribute">
<dt id="xsh_scired_slit_stare.param.sky_hheight2">
<tt class="descclassname">xsh_scired_slit_stare.param.</tt><tt class="descname">sky_hheight2</tt><a class="headerlink" href="#xsh_scired_slit_stare.param.sky_hheight2" title="Permalink to this definition">¶</a></dt>
<dd><p>Half size of the sky window #2 [arcsec] (float; default: 0.0) [default=0.0].</p>
</dd></dl>
<dl class="attribute">
<dt id="xsh_scired_slit_stare.param.stdextract_interp_hsize">
<tt class="descclassname">xsh_scired_slit_stare.param.</tt><tt class="descname">stdextract_interp_hsize</tt><a class="headerlink" href="#xsh_scired_slit_stare.param.stdextract_interp_hsize" title="Permalink to this definition">¶</a></dt>
<dd><p>Half size of mask used to define object cross order profile (long; default: 30) [default=30].</p>
</dd></dl>
<dl class="attribute">
<dt id="xsh_scired_slit_stare.param.do_optextract">
<tt class="descclassname">xsh_scired_slit_stare.param.</tt><tt class="descname">do_optextract</tt><a class="headerlink" href="#xsh_scired_slit_stare.param.do_optextract" title="Permalink to this definition">¶</a></dt>
<dd><p>TRUE if we do the optimal extraction (bool; default: False) [default=False].</p>
</dd></dl>
<dl class="attribute">
<dt id="xsh_scired_slit_stare.param.optextract_oversample">
<tt class="descclassname">xsh_scired_slit_stare.param.</tt><tt class="descname">optextract_oversample</tt><a class="headerlink" href="#xsh_scired_slit_stare.param.optextract_oversample" title="Permalink to this definition">¶</a></dt>
<dd><p>Oversample factor for the science image (long; default: 5) [default=5].</p>
</dd></dl>
<dl class="attribute">
<dt id="xsh_scired_slit_stare.param.optextract_box_half_size">
<tt class="descclassname">xsh_scired_slit_stare.param.</tt><tt class="descname">optextract_box_half_size</tt><a class="headerlink" href="#xsh_scired_slit_stare.param.optextract_box_half_size" title="Permalink to this definition">¶</a></dt>
<dd><p>Extraction box [pixel] (long; default: 10) [default=10].</p>
</dd></dl>
<dl class="attribute">
<dt id="xsh_scired_slit_stare.param.optextract_chunk_size">
<tt class="descclassname">xsh_scired_slit_stare.param.</tt><tt class="descname">optextract_chunk_size</tt><a class="headerlink" href="#xsh_scired_slit_stare.param.optextract_chunk_size" title="Permalink to this definition">¶</a></dt>
<dd><p>Chunk size [bin] (long; default: 50) [default=50].</p>
</dd></dl>
<dl class="attribute">
<dt id="xsh_scired_slit_stare.param.optextract_step_lambda">
<tt class="descclassname">xsh_scired_slit_stare.param.</tt><tt class="descname">optextract_step_lambda</tt><a class="headerlink" href="#xsh_scired_slit_stare.param.optextract_step_lambda" title="Permalink to this definition">¶</a></dt>
<dd><p>Lambda step [nm] (float; default: 0.02) [default=0.02].</p>
</dd></dl>
<dl class="attribute">
<dt id="xsh_scired_slit_stare.param.optextract_clip_kappa">
<tt class="descclassname">xsh_scired_slit_stare.param.</tt><tt class="descname">optextract_clip_kappa</tt><a class="headerlink" href="#xsh_scired_slit_stare.param.optextract_clip_kappa" title="Permalink to this definition">¶</a></dt>
<dd><p>Kappa for cosmics ray hits rejection (float; default: 3.0) [default=3.0].</p>
</dd></dl>
<dl class="attribute">
<dt id="xsh_scired_slit_stare.param.optextract_clip_frac">
<tt class="descclassname">xsh_scired_slit_stare.param.</tt><tt class="descname">optextract_clip_frac</tt><a class="headerlink" href="#xsh_scired_slit_stare.param.optextract_clip_frac" title="Permalink to this definition">¶</a></dt>
<dd><p>Maximum bad pixels fraction for cosmics ray hits rejection (float; default: 0.4) [default=0.4].</p>
</dd></dl>
<dl class="attribute">
<dt id="xsh_scired_slit_stare.param.optextract_clip_niter">
<tt class="descclassname">xsh_scired_slit_stare.param.</tt><tt class="descname">optextract_clip_niter</tt><a class="headerlink" href="#xsh_scired_slit_stare.param.optextract_clip_niter" title="Permalink to this definition">¶</a></dt>
<dd><p>Maximum number of iterations for cosmics ray hits rejection (long; default: 2) [default=2].</p>
</dd></dl>
<dl class="attribute">
<dt id="xsh_scired_slit_stare.param.optextract_niter">
<tt class="descclassname">xsh_scired_slit_stare.param.</tt><tt class="descname">optextract_niter</tt><a class="headerlink" href="#xsh_scired_slit_stare.param.optextract_niter" title="Permalink to this definition">¶</a></dt>
<dd><p>Number of iterations (long; default: 1) [default=1].</p>
</dd></dl>
<dl class="attribute">
<dt id="xsh_scired_slit_stare.param.optextract_method">
<tt class="descclassname">xsh_scired_slit_stare.param.</tt><tt class="descname">optextract_method</tt><a class="headerlink" href="#xsh_scired_slit_stare.param.optextract_method" title="Permalink to this definition">¶</a></dt>
<dd><p>Extraction method GAUSSIAN | GENERAL (str; default: ‘GAUSSIAN’) [default=”GAUSSIAN”].</p>
</dd></dl>
<p>The following code snippet shows the default settings for the available
parameters.</p>
<div class="highlight-python"><div class="highlight"><pre><span class="kn">import</span> <span class="nn">cpl</span>
<span class="n">xsh_scired_slit_stare</span> <span class="o">=</span> <span class="n">cpl</span><span class="o">.</span><span class="n">Recipe</span><span class="p">(</span><span class="s">"xsh_scired_slit_stare"</span><span class="p">)</span>
<span class="n">xsh_scired_slit_stare</span><span class="o">.</span><span class="n">param</span><span class="o">.</span><span class="n">keep_temp</span> <span class="o">=</span> <span class="s">"no"</span>
<span class="n">xsh_scired_slit_stare</span><span class="o">.</span><span class="n">param</span><span class="o">.</span><span class="n">debug_level</span> <span class="o">=</span> <span class="s">"none"</span>
<span class="n">xsh_scired_slit_stare</span><span class="o">.</span><span class="n">param</span><span class="o">.</span><span class="n">time_stamp</span> <span class="o">=</span> <span class="bp">False</span>
<span class="n">xsh_scired_slit_stare</span><span class="o">.</span><span class="n">param</span><span class="o">.</span><span class="n">decode_bp</span> <span class="o">=</span> <span class="mi">2144337919</span>
<span class="n">xsh_scired_slit_stare</span><span class="o">.</span><span class="n">param</span><span class="o">.</span><span class="n">pre_overscan_corr</span> <span class="o">=</span> <span class="mi">1</span>
<span class="n">xsh_scired_slit_stare</span><span class="o">.</span><span class="n">param</span><span class="o">.</span><span class="n">stack_method</span> <span class="o">=</span> <span class="s">"median"</span>
<span class="n">xsh_scired_slit_stare</span><span class="o">.</span><span class="n">param</span><span class="o">.</span><span class="n">klow</span> <span class="o">=</span> <span class="mf">5.0</span>
<span class="n">xsh_scired_slit_stare</span><span class="o">.</span><span class="n">param</span><span class="o">.</span><span class="n">khigh</span> <span class="o">=</span> <span class="mf">5.0</span>
<span class="n">xsh_scired_slit_stare</span><span class="o">.</span><span class="n">param</span><span class="o">.</span><span class="n">background_edges_margin</span> <span class="o">=</span> <span class="mi">1</span>
<span class="n">xsh_scired_slit_stare</span><span class="o">.</span><span class="n">param</span><span class="o">.</span><span class="n">background_poly_deg_y</span> <span class="o">=</span> <span class="mi">9</span>
<span class="n">xsh_scired_slit_stare</span><span class="o">.</span><span class="n">param</span><span class="o">.</span><span class="n">background_poly_deg_x</span> <span class="o">=</span> <span class="mi">9</span>
<span class="n">xsh_scired_slit_stare</span><span class="o">.</span><span class="n">param</span><span class="o">.</span><span class="n">background_poly_kappa</span> <span class="o">=</span> <span class="mf">10.0</span>
<span class="n">xsh_scired_slit_stare</span><span class="o">.</span><span class="n">param</span><span class="o">.</span><span class="n">removecrhsingle_sigmalim</span> <span class="o">=</span> <span class="mf">20.0</span>
<span class="n">xsh_scired_slit_stare</span><span class="o">.</span><span class="n">param</span><span class="o">.</span><span class="n">removecrhsingle_flim</span> <span class="o">=</span> <span class="mf">2.0</span>
<span class="n">xsh_scired_slit_stare</span><span class="o">.</span><span class="n">param</span><span class="o">.</span><span class="n">removecrhsingle_niter</span> <span class="o">=</span> <span class="mi">4</span>
<span class="n">xsh_scired_slit_stare</span><span class="o">.</span><span class="n">param</span><span class="o">.</span><span class="n">rectify_kernel</span> <span class="o">=</span> <span class="s">"tanh"</span>
<span class="n">xsh_scired_slit_stare</span><span class="o">.</span><span class="n">param</span><span class="o">.</span><span class="n">rectify_radius</span> <span class="o">=</span> <span class="mf">2.0</span>
<span class="n">xsh_scired_slit_stare</span><span class="o">.</span><span class="n">param</span><span class="o">.</span><span class="n">rectify_bin_lambda</span> <span class="o">=</span> <span class="o">-</span><span class="mf">1.0</span>
<span class="n">xsh_scired_slit_stare</span><span class="o">.</span><span class="n">param</span><span class="o">.</span><span class="n">rectify_bin_slit</span> <span class="o">=</span> <span class="o">-</span><span class="mf">1.0</span>
<span class="n">xsh_scired_slit_stare</span><span class="o">.</span><span class="n">param</span><span class="o">.</span><span class="n">localize_method</span> <span class="o">=</span> <span class="s">"MANUAL"</span>
<span class="n">xsh_scired_slit_stare</span><span class="o">.</span><span class="n">param</span><span class="o">.</span><span class="n">localize_chunk_nb</span> <span class="o">=</span> <span class="mi">10</span>
<span class="n">xsh_scired_slit_stare</span><span class="o">.</span><span class="n">param</span><span class="o">.</span><span class="n">localize_thresh</span> <span class="o">=</span> <span class="mf">0.1</span>
<span class="n">xsh_scired_slit_stare</span><span class="o">.</span><span class="n">param</span><span class="o">.</span><span class="n">localize_deg_lambda</span> <span class="o">=</span> <span class="mi">0</span>
<span class="n">xsh_scired_slit_stare</span><span class="o">.</span><span class="n">param</span><span class="o">.</span><span class="n">localize_slit_position</span> <span class="o">=</span> <span class="mf">0.0</span>
<span class="n">xsh_scired_slit_stare</span><span class="o">.</span><span class="n">param</span><span class="o">.</span><span class="n">localize_slit_hheight</span> <span class="o">=</span> <span class="mf">2.0</span>
<span class="n">xsh_scired_slit_stare</span><span class="o">.</span><span class="n">param</span><span class="o">.</span><span class="n">localize_kappa</span> <span class="o">=</span> <span class="mf">3.0</span>
<span class="n">xsh_scired_slit_stare</span><span class="o">.</span><span class="n">param</span><span class="o">.</span><span class="n">localize_niter</span> <span class="o">=</span> <span class="mi">3</span>
<span class="n">xsh_scired_slit_stare</span><span class="o">.</span><span class="n">param</span><span class="o">.</span><span class="n">localize_use_skymask</span> <span class="o">=</span> <span class="bp">False</span>
<span class="n">xsh_scired_slit_stare</span><span class="o">.</span><span class="n">param</span><span class="o">.</span><span class="n">sky_subtract</span> <span class="o">=</span> <span class="bp">True</span>
<span class="n">xsh_scired_slit_stare</span><span class="o">.</span><span class="n">param</span><span class="o">.</span><span class="n">sky_bspline_nbkpts_first</span> <span class="o">=</span> <span class="mi">3000</span>
<span class="n">xsh_scired_slit_stare</span><span class="o">.</span><span class="n">param</span><span class="o">.</span><span class="n">sky_bspline_nbkpts_second</span> <span class="o">=</span> <span class="mi">3000</span>
<span class="n">xsh_scired_slit_stare</span><span class="o">.</span><span class="n">param</span><span class="o">.</span><span class="n">sky_bspline_order</span> <span class="o">=</span> <span class="mi">7</span>
<span class="n">xsh_scired_slit_stare</span><span class="o">.</span><span class="n">param</span><span class="o">.</span><span class="n">sky_bspline_niter</span> <span class="o">=</span> <span class="mi">20</span>
<span class="n">xsh_scired_slit_stare</span><span class="o">.</span><span class="n">param</span><span class="o">.</span><span class="n">sky_bspline_kappa</span> <span class="o">=</span> <span class="mf">5.0</span>
<span class="n">xsh_scired_slit_stare</span><span class="o">.</span><span class="n">param</span><span class="o">.</span><span class="n">sky_method</span> <span class="o">=</span> <span class="s">"MEDIAN"</span>
<span class="n">xsh_scired_slit_stare</span><span class="o">.</span><span class="n">param</span><span class="o">.</span><span class="n">bspline_sampling</span> <span class="o">=</span> <span class="s">"FINE"</span>
<span class="n">xsh_scired_slit_stare</span><span class="o">.</span><span class="n">param</span><span class="o">.</span><span class="n">sky_median_hsize</span> <span class="o">=</span> <span class="mi">20</span>
<span class="n">xsh_scired_slit_stare</span><span class="o">.</span><span class="n">param</span><span class="o">.</span><span class="n">sky_slit_edges_mask</span> <span class="o">=</span> <span class="mf">0.5</span>
<span class="n">xsh_scired_slit_stare</span><span class="o">.</span><span class="n">param</span><span class="o">.</span><span class="n">sky_position1</span> <span class="o">=</span> <span class="mf">0.0</span>
<span class="n">xsh_scired_slit_stare</span><span class="o">.</span><span class="n">param</span><span class="o">.</span><span class="n">sky_hheight1</span> <span class="o">=</span> <span class="mf">0.0</span>
<span class="n">xsh_scired_slit_stare</span><span class="o">.</span><span class="n">param</span><span class="o">.</span><span class="n">sky_position2</span> <span class="o">=</span> <span class="mf">0.0</span>
<span class="n">xsh_scired_slit_stare</span><span class="o">.</span><span class="n">param</span><span class="o">.</span><span class="n">sky_hheight2</span> <span class="o">=</span> <span class="mf">0.0</span>
<span class="n">xsh_scired_slit_stare</span><span class="o">.</span><span class="n">param</span><span class="o">.</span><span class="n">stdextract_interp_hsize</span> <span class="o">=</span> <span class="mi">30</span>
<span class="n">xsh_scired_slit_stare</span><span class="o">.</span><span class="n">param</span><span class="o">.</span><span class="n">do_optextract</span> <span class="o">=</span> <span class="bp">False</span>
<span class="n">xsh_scired_slit_stare</span><span class="o">.</span><span class="n">param</span><span class="o">.</span><span class="n">optextract_oversample</span> <span class="o">=</span> <span class="mi">5</span>
<span class="n">xsh_scired_slit_stare</span><span class="o">.</span><span class="n">param</span><span class="o">.</span><span class="n">optextract_box_half_size</span> <span class="o">=</span> <span class="mi">10</span>
<span class="n">xsh_scired_slit_stare</span><span class="o">.</span><span class="n">param</span><span class="o">.</span><span class="n">optextract_chunk_size</span> <span class="o">=</span> <span class="mi">50</span>
<span class="n">xsh_scired_slit_stare</span><span class="o">.</span><span class="n">param</span><span class="o">.</span><span class="n">optextract_step_lambda</span> <span class="o">=</span> <span class="mf">0.02</span>
<span class="n">xsh_scired_slit_stare</span><span class="o">.</span><span class="n">param</span><span class="o">.</span><span class="n">optextract_clip_kappa</span> <span class="o">=</span> <span class="mf">3.0</span>
<span class="n">xsh_scired_slit_stare</span><span class="o">.</span><span class="n">param</span><span class="o">.</span><span class="n">optextract_clip_frac</span> <span class="o">=</span> <span class="mf">0.4</span>
<span class="n">xsh_scired_slit_stare</span><span class="o">.</span><span class="n">param</span><span class="o">.</span><span class="n">optextract_clip_niter</span> <span class="o">=</span> <span class="mi">2</span>
<span class="n">xsh_scired_slit_stare</span><span class="o">.</span><span class="n">param</span><span class="o">.</span><span class="n">optextract_niter</span> <span class="o">=</span> <span class="mi">1</span>
<span class="n">xsh_scired_slit_stare</span><span class="o">.</span><span class="n">param</span><span class="o">.</span><span class="n">optextract_method</span> <span class="o">=</span> <span class="s">"GAUSSIAN"</span>
</pre></div>
</div>
<p>You may also set or overwrite some or all parameters by the recipe
parameter <cite>param</cite>, as shown in the following example:</p>
<div class="highlight-python"><div class="highlight"><pre><span class="kn">import</span> <span class="nn">cpl</span>
<span class="n">xsh_scired_slit_stare</span> <span class="o">=</span> <span class="n">cpl</span><span class="o">.</span><span class="n">Recipe</span><span class="p">(</span><span class="s">"xsh_scired_slit_stare"</span><span class="p">)</span>
<span class="p">[</span><span class="o">...</span><span class="p">]</span>
<span class="n">res</span> <span class="o">=</span> <span class="n">xsh_scired_slit_stare</span><span class="p">(</span> <span class="o">...</span><span class="p">,</span> <span class="n">param</span> <span class="o">=</span> <span class="p">{</span><span class="s">"keep_temp"</span><span class="p">:</span><span class="s">"no"</span><span class="p">,</span> <span class="s">"debug_level"</span><span class="p">:</span><span class="s">"none"</span><span class="p">})</span>
</pre></div>
</div>
<div class="admonition seealso">
<p class="first admonition-title">See also</p>
<p class="last"><a class="reference external" href="http://packages.python.org/python-cpl/recipe.html">cpl.Recipe</a>
for more information about the recipe object.</p>
</div>
</div>
<div class="section" id="bug-reports">
<h2>Bug reports<a class="headerlink" href="#bug-reports" title="Permalink to this headline">¶</a></h2>
<p>Please report any problems to <a class="reference external" href="mailto:amodigli%40eso.org">P<span>.</span>Goldoni, L<span>.</span>Guglielmi, R<span>.</span> Haigron, F<span>.</span> Royer, D<span>.</span> Bramich, A<span>.</span> Modigliani</a>. Alternatively, you may
send a report to the <a class="reference external" href="mailto:usd-help%40eso.org">ESO User Support Department</a>.</p>
</div>
<div class="section" id="copyright">
<h2>Copyright<a class="headerlink" href="#copyright" title="Permalink to this headline">¶</a></h2>
<p>This file is part of the X-shooter Instrument Pipeline
Copyright (C) 2006 European Southern Observatory</p>
<p>This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.</p>
<p>This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.</p>
<p>You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston,
MA 02111-1307 USA</p>
<p><em>Code author: P.Goldoni, L.Guglielmi, R. Haigron, F. Royer, D. Bramich, A. Modigliani <<a class="reference external" href="mailto:amodigli%40eso.org">amodigli<span>@</span>eso<span>.</span>org</a>></em></p>
</div>
</div>
</div>
</div>
</div>
<div class="clearer"></div>
</div>
<div class="related">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="genindex.html" title="General Index"
>index</a></li>
<li class="right" >
<a href="xsh_scired_ifu_stare.html" title="The xsh_scired_ifu_stare recipe"
>next</a> |</li>
<li class="right" >
<a href="xsh_scired_slit_offset.html" title="The xsh_scired_slit_offset recipe"
>previous</a> |</li>
<li><a href="index.html">XSH pipeline 2.3.0 documentation</a> »</li>
</ul>
</div>
<div class="footer">
© Copyright .
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.2.
</div>
</body>
</html>
|