<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 15:30:04 JST 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>PFS-JIRA</title>
    <link>https://pfspipe.ipmu.jp/jira</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.3.4</version>
        <build-number>803005</build-number>
        <build-date>13-09-2019</build-date>
    </build-info>


<item>
            <title>[REDMINE1D-176] [RM-6637] [linemeas] correct Line Flux variance estimation to include variance due to line width</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/REDMINE1D-176</link>
                <project id="11002" key="REDMINE1D">1D Redmine </project>
                    <description>&lt;p&gt;&lt;em&gt;&lt;font color=&quot;#505f79&quot;&gt; Created on 2021-08-03 08:39:29 by Didier Vibert. % Done: 0&lt;/font&gt;&lt;/em&gt;&lt;/p&gt;


&lt;p&gt;In the context of line measurement, in the case of Line Flux estimation using Gaussian fitting (as opposed to direct integration) we are using the following.&lt;/p&gt;

&lt;p&gt;given the 2 fitted parameters,  amplitude A, and  line width w, the Flux F is computed as:&lt;br/&gt;
@F = sqrt(2 pi) * A * w@&lt;/p&gt;

&lt;p&gt;then the variance of this flux estimator is currently computed as: &lt;br/&gt;
@var(F) =  2pi w^2 var(A)@,&lt;br/&gt;
var(A) coming from the analytical expression of the linear-least square estimator of the amplitude.&lt;/p&gt;

&lt;p&gt;This formula is wrong since it does not include the fact that w is estimated and as such has it&apos;s own variance and covariance with A.&lt;/p&gt;

&lt;p&gt;To correct for this we need to add the estimation of these two terms var(w) and covar(w,A) or an analytical approximation of them...&lt;br/&gt;
Since the fitting of w is done by least-square minimization by looping on a grid of velocity dispersion, we can estimate the width of the peak in pdf(w) to infer var(w)&lt;br/&gt;
For the covariance between w and A, we should analyze the 2D pdf(A,w) and fit the peak by a 2D Gaussian.&lt;/p&gt;

&lt;p&gt;Or we could use the analytical expression derived in &lt;a href=&quot;https://www.osapublishing.org/abstract.cfm?URI=ao-46-22-5374&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://www.osapublishing.org/abstract.cfm?URI=ao-46-22-5374&lt;/a&gt; (eq 19)&lt;br/&gt;
var(F) = 3 sqrt(pi) * sigma^2 * w /dx, &lt;br/&gt;
where&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;sigma is the noise standard deviation at the line position (assuming it is uncorrelated pixel 2 pixel, and with constant variance)&lt;/li&gt;
	&lt;li&gt;dx is the pixel size (same units than w, typically wavelength in Angstroms)&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Note: when/if we will use a non-linear-least square minimizer (eg Levenberg-Marquardt), we could use the estimated returned covariance matrix to compute the Flux variance.&lt;/p&gt;</description>
                <environment></environment>
        <key id="23561">REDMINE1D-176</key>
            <summary>[RM-6637] [linemeas] correct Line Flux variance estimation to include variance due to line width</summary>
                <type id="3" iconUrl="https://pfspipe.ipmu.jp/jira/secure/viewavatar?size=xsmall&amp;avatarId=10518&amp;avatarType=issuetype">Task</type>
                                            <priority id="10000" iconUrl="https://pfspipe.ipmu.jp/jira/images/icons/priorities/medium.svg">Normal</priority>
                        <status id="10002" iconUrl="https://pfspipe.ipmu.jp/jira/images/icons/statuses/generic.png" description="The issue is resolved, reviewed, and merged">Done</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10000">Done</resolution>
                                        <assignee username="r2j.migrate">Redmine-Jira Migtation</assignee>
                                    <reporter username="r2j.migrate">Redmine-Jira Migtation</reporter>
                        <labels>
                    </labels>
                <created>Tue, 13 Jun 2023 06:04:46 +0000</created>
                <updated>Fri, 12 Jan 2024 18:30:55 +0000</updated>
                            <resolved>Fri, 12 Jan 2024 18:30:55 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                <comments>
                            <comment id="36617" author="r2j.migrate" created="Fri, 12 Jan 2024 18:30:40 +0000"  >&lt;p&gt;Comment by Didier Vibert on 2024-01-12 16:29:38:&lt;br/&gt;
not relevant anymore, since with the new linemeas (lbfgsb fitter) the flux uncertainty will be implemented  using an analytical formula (see #8117) that already account for the width uncertainty, since the whole covariance of the Gaussian parameters is estimated.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10500" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10010" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|zzsxwf:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    </customfields>
    </item>
</channel>
</rss>