<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 16:36:27 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-1521] Visualize Cobra convergence</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/INSTRM-1521</link>
                <project id="10300" key="INSTRM">Instrument control development</project>
                    <description>&lt;p&gt;This ticket is based on the discussion at the commissioning telecon in Dec 2021.&lt;/p&gt;

&lt;p&gt;Cobra convergence status and geometry of focal plane needs to be visualized. For example,&#160;&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Plot(s) to easily know Cobra ID (on the focal plane, and/or on an SpS detector image)&lt;/li&gt;
	&lt;li&gt;Plot(s) to know disabled cobras and broken fibers&lt;/li&gt;
	&lt;li&gt;Plot(s) to know on-going process&#160;&lt;/li&gt;
	&lt;li&gt;Plot to know convergence results (e.g., residual map, histogram)&#160;&lt;/li&gt;
	&lt;li&gt;Focal plane map plotting target, fiber positions, overlaying the positions of the black spots&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;ASIAA already have made these plots for analysis, but it is necessary to visualize/share in real time.&lt;/p&gt;</description>
                <environment></environment>
        <key id="22618">INSTRM-1521</key>
            <summary>Visualize Cobra convergence</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="karr">karr</assignee>
                                    <reporter username="yuki.moritani">yuki.moritani</reporter>
                        <labels>
                            <label>EngRun</label>
                            <label>visualization</label>
                    </labels>
                <created>Sat, 5 Feb 2022 03:38:05 +0000</created>
                <updated>Thu, 21 Apr 2022 07:41:13 +0000</updated>
                            <resolved>Thu, 21 Apr 2022 07:41:13 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                <comments>
                            <comment id="30519" author="hassan" created="Fri, 25 Feb 2022 03:31:25 +0000"  >&lt;p&gt;Chi-Hung and Jennifer will sit together to discuss work, reducing overlaps, and establish the necessary commands. Then corresponding detailed tickets will be filed.&lt;/p&gt;</comment>
                            <comment id="30623" author="karr" created="Fri, 25 Mar 2022 01:51:16 +0000"  >&lt;p&gt;Currently the code is in two main places - Jennifer&apos;s code in dev_ics (convergence plots, individual bad cobra plots, cumulative plots of % converged by iteration), and Chi-Hung&apos;s in ics_cobraCharmer (convergence plots, motor map and other convergence plots, histograms of convergence by iteration). The former has database integration, the latter uses numpy/FITS files, and includes some analysis code, but is properly integrated with the current geometry/calibration file setup.&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;I will combine the two sets of code into a single cobra convergence diagnostic module with with database integration and the up to date geometry, and a combination of both sets of diagnostic plots.&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="30665" author="karr" created="Fri, 1 Apr 2022 01:40:39 +0000"  >&lt;p&gt;Current structure is a class which is initialized with the geometry, after which a convergence set referenced by pfsVisitId can be loaded from the database. From there, various plots can be called&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;map of convergence distance&lt;/li&gt;
	&lt;li&gt;map of converged / nonconverged&lt;/li&gt;
	&lt;li&gt;add overlays of hard-stops / broken fibres / cobras / fiducials / dots&lt;/li&gt;
	&lt;li&gt;map of transformation function accuracy (ie, vector plot of error in positions of ff)&lt;/li&gt;
	&lt;li&gt;histograms of convergence distance&lt;/li&gt;
	&lt;li&gt;cumulative fraction of cobras converged by iteration&lt;/li&gt;
	&lt;li&gt;maps of motion/convergence of individual cobras&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;The call will pass back a matplotlib figure.&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="30694" author="hassan" created="Fri, 8 Apr 2022 04:09:12 +0000"  >&lt;p&gt;&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;&#160;will push a prototype module today to {&lt;/p&gt;
{dev_ics}
&lt;p&gt;}&lt;/p&gt;</comment>
                            <comment id="30705" author="karr" created="Mon, 11 Apr 2022 08:35:13 +0000"  >&lt;p&gt;A draft version has been pushed to branch 1521.&#160;&lt;/p&gt;

&lt;p&gt;The notebook shows a demo of how to run the code.&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="30754" author="karr" created="Thu, 21 Apr 2022 07:41:08 +0000"  >&lt;p&gt;Will close this ticket, and open other smaller ones as changes need to be madel&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="15636">INSTRM-1277</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </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|02qpq3:r3s000000040i</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10005" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="136">PreEngRun05 E</customfieldvalue>
    <customfieldvalue id="139">PreEngRun05 F</customfieldvalue>

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