<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 16:35:07 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>[INSTRM-1405] Provide the measurement algorithm used for AG spots</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/INSTRM-1405</link>
                <project id="10300" key="INSTRM">Instrument control development</project>
                    <description>&lt;p&gt;As discussed during the ICS/PFI telecon 2021-10-15: the second moment is dependent on the measurement algorithm used to measure AG spots. &lt;/p&gt;

&lt;p&gt;Please track this in the opDB, eg by an additional column in the &lt;tt&gt;agc_data&lt;/tt&gt; table, and if necessary a separate table describing details of a given measurement algorithm. &lt;/p&gt;</description>
                <environment></environment>
        <key id="18250">INSTRM-1405</key>
            <summary>Provide the measurement algorithm used for AG spots</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="kiyoto.yabe">Kiyoto Yabe</assignee>
                                    <reporter username="hassan">hassan</reporter>
                        <labels>
                            <label>EngRun</label>
                    </labels>
                <created>Fri, 15 Oct 2021 17:00:30 +0000</created>
                <updated>Wed, 17 Nov 2021 22:49:18 +0000</updated>
                            <resolved>Wed, 17 Nov 2021 22:49:18 +0000</resolved>
                                                                    <component>spt_operational_database</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>7</watches>
                                                                <comments>
                            <comment id="24847" author="kiyoto.yabe" created="Thu, 28 Oct 2021 05:26:33 +0000"  >&lt;p&gt;The same as &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/INSTRM-1406&quot; title=&quot;Provide the measurement algorithm used for MCS spots in the opDB&quot; class=&quot;issue-link&quot; data-issue-key=&quot;INSTRM-1406&quot;&gt;&lt;del&gt;INSTRM-1406&lt;/del&gt;&lt;/a&gt;, I add a new column `measurement_algorithm` in `agc_exposure` table, assuming the algorithms are the same as those for MCS.&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-python&quot;&gt;
    measurement_algorithm = Column(String, comment=&lt;span class=&quot;code-quote&quot;&gt;&apos;Spot measurement algorithm (fast/slow)&apos;&lt;/span&gt;)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Any comments are welcome. &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=karr&quot; class=&quot;user-hover&quot; rel=&quot;karr&quot;&gt;karr&lt;/a&gt; &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=hiro&quot; class=&quot;user-hover&quot; rel=&quot;hiro&quot;&gt;Yoshida, Hiroshige&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="24848" author="karr" created="Thu, 28 Oct 2021 05:38:47 +0000"  >&lt;p&gt;We should probably do something more descriptive. Maybe &quot;windowed&quot; for my code and &quot;sep&quot; for the sextractor? I can change the keywords in the actor to match.&#160;&lt;/p&gt;</comment>
                            <comment id="24851" author="karr" created="Thu, 28 Oct 2021 05:49:09 +0000"  >&lt;p&gt;In addition, I&apos;ve uploaded a description of what methods are used to&#160;&lt;a href=&quot;https://sumire.pbworks.com/w/browse/#:~:text=centroidMethod_karr.pdf&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://sumire.pbworks.com/w/browse/#:~:text=centroidMethod_karr.pdf&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="24853" author="kiyoto.yabe" created="Thu, 28 Oct 2021 05:53:57 +0000"  >&lt;p&gt;Thank you for the document. I like descriptive keywords, but it&apos;s up to you. The column is `varchar`, so in terms of DB any keyword would be fine.&lt;/p&gt;</comment>
                            <comment id="24865" author="rhl" created="Thu, 28 Oct 2021 15:42:54 +0000"  >&lt;p&gt;We&apos;ll need to be able to use these keywords to get back to an algorithm in GitHub. The SHA1 needn&apos;t be provided, of course, as we&apos;ll be tracking the AG code version (which package is this code in?).&lt;/p&gt;

&lt;p&gt;We need to know about the flux measurement, the centroider, and the second moments.  In general those are all different.  If there are important configurations (e.g. the definitions of the windows used) how are those tracked?  Using this mechanism or something else?&lt;/p&gt;</comment>
                            <comment id="24874" author="rhl" created="Thu, 28 Oct 2021 19:49:07 +0000"  >&lt;p&gt;Oh, and we also need the background levels in electrons over the bias.  This is used for estimating the S/N (in conjunction with the second moments).&lt;/p&gt;</comment>
                            <comment id="24975" author="kiyoto.yabe" created="Mon, 8 Nov 2021 08:23:54 +0000"  >&lt;p&gt;Currently, versions of each actor used are not recorded in opDB. Is it a bad idea that we make `actor_version` (maybe GitHub tag can be used) and also `instdata_version` (again &lt;em&gt;pfs_instadata&lt;/em&gt; tag can be used to track configuration yaml file) column in `agc_exposure` (and `mcs_exposure`) table? We may want to have the same mechanism in `sps_exposure`.&lt;/p&gt;

&lt;p&gt;Regarding the background level, we currently have a column `background` in `*&lt;em&gt;data` table, which is in _count_s in my first thought but can be in _electrons&lt;/em&gt;.&#160;&lt;/p&gt;</comment>
                            <comment id="25024" author="rhl" created="Thu, 11 Nov 2021 04:48:38 +0000"  >&lt;ol&gt;
	&lt;li&gt;We should discuss how we manage versions on the summit; do you have a proposal (in SDSS we used eups)? &#160;I think that we do probably need to import this information into opdb; &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=cloomis&quot; class=&quot;user-hover&quot; rel=&quot;cloomis&quot;&gt;cloomis&lt;/a&gt;&#160;do you have opinions? The first thing that comes to mind is a table with versions and time ranges.&lt;/li&gt;
	&lt;li&gt;I don&apos;t know if the AG works in electrons or DN, but I&apos;d prefer the former. &#160;We must know the gain at least approximately, so even if we&apos;re not flat fielding we could convert to electrons (it must be done internally to estimate the errors in the measurements &#8211; presumably we do get the errors along with the values). &#160;Fluxes should probably be in electrons too, although if there are compelling reasons to use DN consistently that&apos;d be OK providing the gain is available. &#160;Does the AG code calculate the zero points? &#160;If so, we need them in the opdb too.&lt;/li&gt;
&lt;/ol&gt;
</comment>
                            <comment id="25030" author="cloomis" created="Thu, 11 Nov 2021 15:15:06 +0000"  >&lt;p&gt;The ICS archiver and the FITS headers have per-actor versions, and actually a bit more detail than that: for any given actor we archive the version of the major ups packages (pfs_utils, tron_actorcore, etc), and for the FITS-generating actors we put the sub-package versions used by that actor into the header. W_VRxxxx cards are reserved for that purpose. Eups version unless the product directory is live, in which case git SHA-like.&lt;/p&gt;

&lt;p&gt;What to do for the opDb? Algorithm selection can be a runtime choice, so package versions might not be enough, but should be findable for any code we write. Not sure what to do: putting package versions in every exposure table feels crazy. Point to the headers?&lt;/p&gt;</comment>
                            <comment id="25108" author="kiyoto.yabe" created="Wed, 17 Nov 2021 04:13:16 +0000"  >&lt;p&gt;For now, I will add two string columns (`version_actor` and `version_instdata`) after discussion with &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=cloomis&quot; class=&quot;user-hover&quot; rel=&quot;cloomis&quot;&gt;cloomis&lt;/a&gt;&#160;and &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=rhl&quot; class=&quot;user-hover&quot; rel=&quot;rhl&quot;&gt;rhl&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="25114" author="kiyoto.yabe" created="Wed, 17 Nov 2021 08:06:30 +0000"  >&lt;p&gt;I think current changes are sufficient for the coming engineering run. Could you review that if possible?&lt;/p&gt;</comment>
                            <comment id="25118" author="karr" created="Wed, 17 Nov 2021 08:16:22 +0000"  >&lt;p&gt;The column for centroid method looks good to me.&#160;&lt;/p&gt;</comment>
                            <comment id="25121" author="hassan" created="Wed, 17 Nov 2021 13:42:44 +0000"  >&lt;p&gt;Proposed changes look fine to me also.&lt;/p&gt;</comment>
                            <comment id="25131" author="kiyoto.yabe" created="Wed, 17 Nov 2021 22:48:37 +0000"  >&lt;p&gt;merged&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                            <outwardlinks description="blocks">
                                        <issuelink>
            <issuekey id="18272">INSTRM-1412</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="18314">INSTRM-1429</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="18251">INSTRM-1406</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <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|zzs2x1:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10100" key="com.atlassian.jira.plugin.system.customfieldtypes:userpicker">
                        <customfieldname>Reviewers</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>hassan</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10005" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="123">PreEngRun4</customfieldvalue>
    <customfieldvalue id="124">EngRun3Cleanup</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10002" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Story Points</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                        </customfields>
    </item>
</channel>
</rss>