<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?action=history&amp;feed=atom&amp;title=Fitting_Equivalent_Widths</id>
	<title>Fitting Equivalent Widths - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?action=history&amp;feed=atom&amp;title=Fitting_Equivalent_Widths"/>
	<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Fitting_Equivalent_Widths&amp;action=history"/>
	<updated>2026-04-19T08:27:24Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.7</generator>
	<entry>
		<id>https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Fitting_Equivalent_Widths&amp;diff=696&amp;oldid=prev</id>
		<title>Stierhof: copy from old wiki</title>
		<link rel="alternate" type="text/html" href="https://www.sternwarte.uni-erlangen.de/wiki/index.php?title=Fitting_Equivalent_Widths&amp;diff=696&amp;oldid=prev"/>
		<updated>2018-04-11T12:09:35Z</updated>

		<summary type="html">&lt;p&gt;copy from old wiki&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Define the equivalent width (eqw) fit-function with the number of components you need to calculate the eqw of:&lt;br /&gt;
  eqwFit_init(1);&lt;br /&gt;
Set the model with the underlying continuum given as first parameter to the eqwFit fit-function and the components as further parameters, e.g.:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fit_fun(&amp;quot;eqwFit(1, powerlaw, egauss)*tbnew_simple&amp;quot;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will renormalize the egauss to match the corresponding eqw-parameter (see below) based on an ''unabsorbed'' power-law continuum, which is absorbed afterwards. Then, you should set appropriate parameter ranges for the eqw-parameter, e.g. allow only negative values in case of an absorption feature:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
set_par(&amp;quot;eqwFit(1).width1&amp;quot;; min = -1000, max = 0);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you want to calculate the eqw of two components, you first need to initialize the eqw fit-function in a new (!) Isis-shell:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  eqwFit_init(2);&lt;br /&gt;
  fit_fun(&amp;quot;eqwFit(1, powerla, egauss(1), egauss(2))*tbnew_simple&amp;quot;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Isis / Slang]]&lt;/div&gt;</summary>
		<author><name>Stierhof</name></author>
	</entry>
</feed>