<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 16:34:58 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-1392] Determine blackspot positions on PFI at different elevation angles</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/INSTRM-1392</link>
                <project id="10300" key="INSTRM">Instrument control development</project>
                    <description>&lt;p&gt;Determine the blackspot positions in the PFI coordinate system, in units of &lt;tt&gt;mm&lt;/tt&gt;, as a function of elevation angle.&lt;/p&gt;

&lt;p&gt;Comment by RHL:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;How is this to be carried out?  Using the 71M (and if so, I think we need to include the effects of parallax.  I don&apos;t know how Kiyoto determined his spot positions, but even if we validate and use his code we need the result &lt;em&gt;in mm&lt;/em&gt;)&lt;/p&gt;&lt;/blockquote&gt;</description>
                <environment></environment>
        <key id="18234">INSTRM-1392</key>
            <summary>Determine blackspot positions on PFI at different elevation angles</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="3" iconUrl="https://pfspipe.ipmu.jp/jira/images/icons/statuses/inprogress.png" description="This issue is being actively worked on at the moment by the assignee.">In Progress</status>
                    <statusCategory id="4" key="indeterminate" colorName="yellow"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="yuki.moritani">yuki.moritani</assignee>
                                    <reporter username="hassan">hassan</reporter>
                        <labels>
                            <label>EngRun</label>
                    </labels>
                <created>Mon, 11 Oct 2021 16:09:24 +0000</created>
                <updated>Wed, 2 Aug 2023 09:12:23 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                <comments>
                            <comment id="22584" author="yuki.moritani" created="Fri, 15 Oct 2021 15:41:30 +0000"  >&lt;p&gt;Just in case... The images were already taken using during Sep run (with focal plane illuminated by the dome room lights).&#160;&lt;/p&gt;</comment>
                            <comment id="24836" author="rhl" created="Wed, 27 Oct 2021 22:16:13 +0000"  >&lt;p&gt;What is the plan for making progress on this one? &#160;Can &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=kiyoto.yabe&quot; class=&quot;user-hover&quot; rel=&quot;kiyoto.yabe&quot;&gt;Kiyoto Yabe&lt;/a&gt;&#160;provide some details on how he processed the 71M data, and can we provide a file with the known design or as-built positions?&lt;/p&gt;

&lt;p&gt;When I was in Hilo in September I was confused by as-designed black spot files. &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=chyan&quot; class=&quot;user-hover&quot; rel=&quot;chyan&quot;&gt;chyan&lt;/a&gt;&#160;gave me &lt;tt&gt;data/pfi/dot/dot_design_asrd_20210422.txt&lt;/tt&gt; which I couldn&apos;t make line up, and then &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=yuki.moritani&quot; class=&quot;user-hover&quot; rel=&quot;yuki.moritani&quot;&gt;yuki.moritani&lt;/a&gt;&#160;gave me another file which made more sense. &#160;Do we have a file that we can commit to git and which we believe to be correct? &#160;Either as-built or design, but definitely in PFI mm. &#160;I should remake the plots that backup my claims in this paragraph!&lt;/p&gt;</comment>
                            <comment id="24856" author="kiyoto.yabe" created="Thu, 28 Oct 2021 07:08:38 +0000"  >&lt;p&gt;(I thought I had already done somewhere before but)&#160;I have shared my notebooks to measure the dot position at Subaru here:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/Subaru-PFS/pfs_utils/tree/u/kiyoyabe/dot_measurements_subaru_202107/notebooks/kiyoyabe&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://github.com/Subaru-PFS/pfs_utils/tree/u/kiyoyabe/dot_measurements_subaru_202107/notebooks/kiyoyabe&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I was just starting from designed dot position in mm (dot_pos_final.txt, which is exactly the same as&#160;dot_design_asrd_20210422.txt I believe), but this was just to make an initial guess of the position in pix on 71M. So, I think that the transformation in the beginning of the notebook is meaningless.&lt;/p&gt;

&lt;p&gt;Then I search the dot in disk shape around the initial guess, but the measurement is not good in some dots, so by using the measured data points, I calculate the transformation (including camera distortion) between designed dots (in mm) to dots on 71M (in pix).&lt;/p&gt;

&lt;p&gt;Then I did the second run and refine the transformation and get the final dot positions (in pix) and write down to the csv file (I did for multiple visits and averaged in deed):&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/Subaru-PFS/pfs_instdata/blob/master/data/pfi/dot/dot_measurements_subaru_20210710_el90_rot%2B00_ave.csv&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://github.com/Subaru-PFS/pfs_instdata/blob/master/data/pfi/dot/dot_measurements_subaru_20210710_el90_rot%2B00_ave.csv&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Just for your reference, the measured values are reasonable matched to the images all over the field like this:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/Subaru-PFS/pfs_utils/blob/u/kiyoyabe/dot_measurements_subaru_202107/notebooks/kiyoyabe/dot_meas_example1.png&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://github.com/Subaru-PFS/pfs_utils/blob/u/kiyoyabe/dot_measurements_subaru_202107/notebooks/kiyoyabe/dot_meas_example1.png&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="24858" author="rhl" created="Thu, 28 Oct 2021 13:45:59 +0000"  >&lt;p&gt;Thank you for the details. &#160;Are you able to produce the positions of the black spots &lt;em&gt;in PFI mm&lt;/em&gt;? &#160;Otherwise, we have to redo all this work to convert back from 71M to PFI coordinates, to allow us to work in MCS pixel coordinates.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="24878" author="kiyoto.yabe" created="Fri, 29 Oct 2021 09:08:25 +0000"  >&lt;p&gt;I added a notebook to convert to mm here:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/Subaru-PFS/pfs_utils/blob/u/kiyoyabe/dot_measurements_subaru_202107/notebooks/kiyoyabe/getDotPositionOnPfiCoordinate_yabe_subaru_20210710.ipynb&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://github.com/Subaru-PFS/pfs_utils/blob/u/kiyoyabe/dot_measurements_subaru_202107/notebooks/kiyoyabe/getDotPositionOnPfiCoordinate_yabe_subaru_20210710.ipynb&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The resulting locations are in:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/Subaru-PFS/pfs_utils/blob/u/kiyoyabe/dot_measurements_subaru_202107/notebooks/kiyoyabe/black_dots_mm_kiyoyabe.csv&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://github.com/Subaru-PFS/pfs_utils/blob/u/kiyoyabe/dot_measurements_subaru_202107/notebooks/kiyoyabe/black_dots_mm_kiyoyabe.csv&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;My result is a bit different from those in the file in `pfs_instdata`&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/Subaru-PFS/pfs_instdata/blob/master/data/pfi/dot/black_dots_mm.csv&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://github.com/Subaru-PFS/pfs_instdata/blob/master/data/pfi/dot/black_dots_mm.csv&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;by about 200 um, which may be consistent with the difference we saw last time, but I&apos;m not sure.&lt;/p&gt;

&lt;p&gt;So, could you please check by using my new location to see whether things make sense?&lt;/p&gt;

&lt;p&gt;If the new file works, I will push it to more proper place (maybe `pfs_instdata`?).&lt;/p&gt;

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

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="24988" author="kiyoto.yabe" created="Wed, 10 Nov 2021 07:49:57 +0000"  >&lt;p&gt;I finally gave up working with 71M for the dot position in mm because I cannot remove non-negligible residual after taking into consideration the non-telecentricity of 71M, instead I found a way to deal with the on-telescope dot data with MCS camera. Although it is not perfect, the result looks reasonable. The attached plot is the position and radius of dots on MCS image (randomly selected; red for the new and blue for the old one), which is converted from PFI mm to MCS pix using&#160;PfiTransform class and the new list of dots (in PFI mm) and looks better than before.&#160;&lt;/p&gt;

&lt;p&gt;This is the result for EL=90 deg. and I also have lists for other elevations but I don&apos;t think they are reliable because the original images are not good.&lt;/p&gt;

&lt;p&gt;I&apos;m still working on cleaning up notebooks and making the final products with reasonable filename. I hope to push them to the repository soon.&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;img src=&quot;https://pfspipe.ipmu.jp/jira/secure/attachment/14469/14469_dot_meas_example_20210926.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/span&gt;&lt;/p&gt;</comment>
                            <comment id="30802" author="hassan" created="Fri, 29 Apr 2022 04:11:08 +0000"  >&lt;p&gt;Princeton plan to obtain data during the May 2022 engineering run as a function of elevation angle for the dot-crossing exercise (&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/PIPE2D-1018&quot; title=&quot;Plan for data acquisition May 2022 run&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PIPE2D-1018&quot;&gt;&lt;del&gt;PIPE2D-1018&lt;/del&gt;&lt;/a&gt;). This ticket will be addressed by that activity. This ticket may be closed and replaced by a new ticket to capture that activity.&lt;/p&gt;</comment>
                            <comment id="30805" author="kiyoto.yabe" created="Fri, 29 Apr 2022 14:13:57 +0000"  >&lt;p&gt;It sounds reasonable to me.&lt;/p&gt;</comment>
                            <comment id="31836" author="yuki.moritani" created="Sat, 26 Nov 2022 20:36:02 +0000"  >&lt;p&gt;Updates: During 2022 November run, dot position was measured at EL=60 and EL=30.&lt;/p&gt;</comment>
                            <comment id="31864" author="yuki.moritani" created="Tue, 29 Nov 2022 22:34:05 +0000"  >&lt;p&gt;The data are stored on pfs_instddata:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/Subaru-PFS/pfs_instdata/tree/master/data/pfi/dot&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://github.com/Subaru-PFS/pfs_instdata/tree/master/data/pfi/dot&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="31865" author="hassan" created="Tue, 29 Nov 2022 22:35:55 +0000"  >&lt;p&gt;Arnaud has written dot position data taken above to &lt;tt&gt;pfs_instdata&lt;/tt&gt;.&lt;/p&gt;</comment>
                            <comment id="31893" author="yuki.moritani" created="Wed, 30 Nov 2022 19:55:03 +0000"  >&lt;p&gt;I quickly compared measured position&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;a id=&quot;15446_thumb&quot; href=&quot;https://pfspipe.ipmu.jp/jira/secure/attachment/15446/15446_quickComparison_dotPosition_20221130.png&quot; title=&quot;quickComparison_dotPosition_20221130.png&quot; file-preview-type=&quot;image&quot; file-preview-id=&quot;15446&quot; file-preview-title=&quot;quickComparison_dotPosition_20221130.png&quot;&gt;&lt;img src=&quot;https://pfspipe.ipmu.jp/jira/secure/thumbnail/15446/_thumb_15446.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;As Arnaud mentioned during the engineering run, difference in position between the three EL is less than 50um.&lt;/li&gt;
	&lt;li&gt;Compared to the measured position at EL=90 (September 2022), ~20 um systematic shift is seen in Y, which is orthogonal direction to gravity. It might be caused by measurement.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;We need to discuss if we need to define the dot positions depending on EL. If 50 um of difference is OK, using the position at EL=90 will be fine.&lt;/p&gt;</comment>
                            <comment id="32064" author="yuki.moritani" created="Fri, 6 Jan 2023 04:45:26 +0000"  >&lt;p&gt;We discussed this ticked at ICS/PFI+MCS meeting on 9 Dec 2022 and agreed to check repeatability first.&lt;/p&gt;</comment>
                            <comment id="32292" author="yuki.moritani" created="Thu, 23 Feb 2023 06:02:08 +0000"  >&lt;p&gt;Since the engineering runs in 2022 December and 2023 February were canceled, I move this to backlog now.&lt;/p&gt;</comment>
                            <comment id="34242" author="yuki.moritani" created="Wed, 2 Aug 2023 09:12:23 +0000"  >&lt;p&gt;Dot position was measured at EL=90, 60 and 30 during the July 2023 run. However, it was found that POpt2 was not set correctly at EL=60 and 30. (i.e. Hexapod and ADC was not synchronised with EL), Measured position was clearly affected by distortion of POpt2 (ADC). So repeatability of EL dependency should be checked to the next run.&lt;/p&gt;

&lt;p&gt;On the other hand, repeatability at EL=90 can be compared among the data from the runs in Nov 2022, Apr/May 2023 and July 2023.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                            <outwardlinks description="blocks">
                                        <issuelink>
            <issuekey id="18230">INSTRM-1388</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="22722">PIPE2D-1018</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="14469" name="dot_meas_example_20210926.png" size="96671" author="kiyoto.yabe" created="Thu, 11 Nov 2021 02:55:36 +0000"/>
                            <attachment id="14444" name="dot_meas_example_20210926.png" size="80806" author="kiyoto.yabe" created="Wed, 10 Nov 2021 07:35:25 +0000"/>
                            <attachment id="15446" name="quickComparison_dotPosition_20221130.png" size="202969" author="yuki.moritani" created="Wed, 30 Nov 2022 19:47:53 +0000"/>
                    </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|zzsx5s:</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>