<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 16:30:56 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-1008] Design and create operational database tables for A&amp;G camera exposures</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/INSTRM-1008</link>
                <project id="10300" key="INSTRM">Instrument control development</project>
                    <description>&lt;p&gt;We need tables in the operational database to store information about A&amp;amp;G camera exposures and parameters of detected candidate guide stellar objects by the AGCC actor. We may be able to model the tables after those for MCS and start our discussion with something like the following two tables:&lt;/p&gt;

&lt;p&gt;1. agc_exposure table&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;frame_id (int4 or int8)&lt;/li&gt;
	&lt;li&gt;pfs_visit_id (int4)&lt;/li&gt;
	&lt;li&gt;exptime (float4)&lt;/li&gt;
	&lt;li&gt;taken_at (timestamp)&lt;/li&gt;
	&lt;li&gt;azimuth (float4)&lt;/li&gt;
	&lt;li&gt;altitude (float4)&lt;/li&gt;
	&lt;li&gt;inr (float4)&lt;/li&gt;
	&lt;li&gt;adc (float4)&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;2. agc_data table&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;frame_id (int4 or int8)&lt;/li&gt;
	&lt;li&gt;camera_id (int2)&lt;/li&gt;
	&lt;li&gt;spot_id (int2)&lt;/li&gt;
	&lt;li&gt;image_moment_00 (float4)&lt;/li&gt;
	&lt;li&gt;centroid_x or image_moment_10 (float4)&lt;/li&gt;
	&lt;li&gt;centroid_y or image_moment_01 (float4)&lt;/li&gt;
	&lt;li&gt;central_image_moment_11 (float4)&lt;/li&gt;
	&lt;li&gt;central_image_moment_20 (float4)&lt;/li&gt;
	&lt;li&gt;central_image_moment_02 (float4)&lt;/li&gt;
	&lt;li&gt;(TBD for higher order central image moments)&lt;/li&gt;
	&lt;li&gt;peak_pixel_x (int2)&lt;/li&gt;
	&lt;li&gt;peak_pixel_y (int2)&lt;/li&gt;
	&lt;li&gt;peak_intensity (int2?)&lt;/li&gt;
	&lt;li&gt;background (float4)&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment></environment>
        <key id="14500">INSTRM-1008</key>
            <summary>Design and create operational database tables for A&amp;G camera exposures</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="chihyi">chihyi</assignee>
                                    <reporter username="hiro">Yoshida, Hiroshige</reporter>
                        <labels>
                            <label>PFI</label>
                    </labels>
                <created>Tue, 9 Jun 2020 15:25:54 +0000</created>
                <updated>Fri, 15 Oct 2021 16:07:30 +0000</updated>
                            <resolved>Mon, 4 Oct 2021 02:38:00 +0000</resolved>
                                                                    <component>ics_agccActor</component>
                    <component>spt_operational_database</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                <comments>
                            <comment id="17468" author="chihyi" created="Mon, 27 Jul 2020 02:51:21 +0000"  >&lt;p&gt;Those two tables look fine. Two questions:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Do we need higher order moments?&lt;/li&gt;
	&lt;li&gt;What&apos; the definition for spot_id? I suppose that AGCC actor will received the info for guiding stars, and also spot_ids?&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="17473" author="hiro" created="Mon, 27 Jul 2020 22:28:58 +0000"  >&lt;ul&gt;
	&lt;li&gt;We won&apos;t need higher order moments.&lt;/li&gt;
	&lt;li&gt;The spot_id is meant to be a per-camera object identifier.&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="17474" author="chihyi" created="Tue, 28 Jul 2020 02:50:28 +0000"  >&lt;p&gt;Is spot_id determined by AGCC? That is, find all spots and add a number from 1 to #spots to those spots.&lt;/p&gt;</comment>
                            <comment id="17475" author="hiro" created="Tue, 28 Jul 2020 05:17:01 +0000"  >&lt;p&gt;Yes. That is what I had in my mind (per camera though).&lt;/p&gt;</comment>
                            <comment id="17582" author="naoyuki.tamura" created="Mon, 24 Aug 2020 07:20:53 +0000"  >&lt;p&gt;During the ICS/PFI+MCS telecon on Aug 21 2021 (&lt;a href=&quot;https://sumire.pbworks.com/w/page/141057852/ICS-PFI-MCS%20telecon%20on%20Aug%2021%202020&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://sumire.pbworks.com/w/page/141057852/ICS-PFI-MCS%20telecon%20on%20Aug%2021%202020&lt;/a&gt;), we discussed this ticket and agreed no major issues are seen in the proposal and discussions are converged, so we can go ahead to make them a part of updated schema.&lt;br/&gt;
But there was a comment that a field should be a description of what it is, not how it is calculated so that the algorithm can always be changed later if required. &lt;br/&gt;
Presumably in general changing the naming later would be more difficult, so perhaps we should try to make right choices and decisions to make sure all fields describe what they are, not indicating implemented algorithms?&lt;/p&gt;</comment>
                            <comment id="18033" author="hiro" created="Mon, 9 Nov 2020 16:12:30 +0000"  >&lt;p&gt;I would like to update the proposal for the &quot;agc_exposure&quot; table by following more closely to the data model of the &quot;mcs_exposure&quot; table and adding the following columns - dome_temperature, dome_humidity, dome_pressure, outside_temperature, outside_humidity, and outside_pressure.&#160;&lt;/p&gt;

&lt;p&gt;1. agc_exposure table&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;frame_id (int4 or int8)&lt;/li&gt;
	&lt;li&gt;pfs_visit_id (int4)&lt;/li&gt;
	&lt;li&gt;exptime (float4)&lt;/li&gt;
	&lt;li&gt;taken_at (timestamp)&lt;/li&gt;
	&lt;li&gt;azimuth (float4)&lt;/li&gt;
	&lt;li&gt;altitude (float4)&lt;/li&gt;
	&lt;li&gt;inr (float4)&lt;/li&gt;
	&lt;li&gt;adc (float4)&lt;/li&gt;
	&lt;li&gt;&lt;font color=&quot;#de350b&quot;&gt;dome_temperature (float4)&lt;/font&gt;&lt;/li&gt;
	&lt;li&gt;&lt;font color=&quot;#de350b&quot;&gt;dome_humidity (float4)&lt;/font&gt;&lt;/li&gt;
	&lt;li&gt;&lt;font color=&quot;#de350b&quot;&gt;dome_pressure (float4)&lt;/font&gt;&lt;/li&gt;
	&lt;li&gt;&lt;font color=&quot;#de350b&quot;&gt;outside_temperature (float4)&lt;/font&gt;&lt;/li&gt;
	&lt;li&gt;&lt;font color=&quot;#de350b&quot;&gt;outside_humidity (float4)&lt;/font&gt;&lt;/li&gt;
	&lt;li&gt;&lt;font color=&quot;#de350b&quot;&gt;outside_pressure (float4)&lt;/font&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="18049" author="cloomis" created="Fri, 13 Nov 2020 14:39:57 +0000"  >&lt;p&gt;I was &lt;em&gt;hoping&lt;/em&gt; we could pull the environmental columns out from the SPS/AGC/MCS systems and put them in a common table. I still think we can: have the Gen2 actor add a row for each SPS visit and AGC/MCS exposure.&lt;/p&gt;</comment>
                            <comment id="18050" author="hiro" created="Fri, 13 Nov 2020 14:59:46 +0000"  >&lt;p&gt;Yes for &lt;b&gt;normalization&lt;/b&gt;. Not sure about who should populate that table - Gen2 actor if it always knows when AGC/MCS/SPS exposures start and end and when to fetch and insert those environmental data.&lt;/p&gt;</comment>
                            <comment id="19172" author="hiro" created="Sun, 18 Apr 2021 22:14:50 +0000"  >&lt;p&gt;The following is an updated proposal for AG data table schemas. M2-POS3 was added and atmospheric conditions inside the dome were removed from the proposed agc_exposure table, and a spot location flag was added to the proposed agc_data table. If we decide to normalize, azimuth, altitude, inr, adc, m2_pos3, outside_temperature, outside_humidity, and outside_pressure would go into a separate table.&lt;/p&gt;

&lt;p&gt;agc_exposure table&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;frame_id (int4 or int8)&lt;/li&gt;
	&lt;li&gt;pfs_visit_id (int4)&lt;/li&gt;
	&lt;li&gt;exptime (float4)&lt;/li&gt;
	&lt;li&gt;taken_at (timestamp)&lt;/li&gt;
	&lt;li&gt;azimuth (float4)&lt;/li&gt;
	&lt;li&gt;altitude (float4)&lt;/li&gt;
	&lt;li&gt;inr (float4)&lt;/li&gt;
	&lt;li&gt;adc (float4)&lt;/li&gt;
	&lt;li&gt;&lt;font color=&quot;#de350b&quot;&gt;m2_pos3 (float4)&lt;/font&gt;&lt;/li&gt;
	&lt;li&gt;&lt;del&gt;&lt;font color=&quot;#de350b&quot;&gt;dome_temperature (float4)&lt;/font&gt;&lt;/del&gt;&lt;/li&gt;
	&lt;li&gt;&lt;del&gt;&lt;font color=&quot;#de350b&quot;&gt;dome_humidity (float4)&lt;/font&gt;&lt;/del&gt;&lt;/li&gt;
	&lt;li&gt;&lt;del&gt;&lt;font color=&quot;#de350b&quot;&gt;dome_pressure (float4)&lt;/font&gt;&lt;/del&gt;&lt;/li&gt;
	&lt;li&gt;&lt;font color=&quot;#de350b&quot;&gt;outside_temperature (float4)&lt;/font&gt;&lt;/li&gt;
	&lt;li&gt;&lt;font color=&quot;#de350b&quot;&gt;outside_humidity (float4)&lt;/font&gt;&lt;/li&gt;
	&lt;li&gt;&lt;font color=&quot;#de350b&quot;&gt;outside_pressure (float4)&lt;/font&gt;&lt;/li&gt;
&lt;/ul&gt;



&lt;p&gt;agc_data table&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;frame_id (int4 or int8)&lt;/li&gt;
	&lt;li&gt;camera_id (int2)&lt;/li&gt;
	&lt;li&gt;spot_id (int2)&lt;/li&gt;
	&lt;li&gt;image_moment_00 (float4)&lt;/li&gt;
	&lt;li&gt;centroid_x or image_moment_10 (float4)&lt;/li&gt;
	&lt;li&gt;centroid_y or image_moment_01 (float4)&lt;/li&gt;
	&lt;li&gt;central_image_moment_11 (float4)&lt;/li&gt;
	&lt;li&gt;central_image_moment_20 (float4)&lt;/li&gt;
	&lt;li&gt;central_image_moment_02 (float4)&lt;/li&gt;
	&lt;li&gt;&lt;del&gt;&lt;font color=&quot;#de350b&quot;&gt;(TBD for higher order central image moments)&lt;/font&gt;&lt;/del&gt;&lt;/li&gt;
	&lt;li&gt;peak_pixel_x (int2)&lt;/li&gt;
	&lt;li&gt;peak_pixel_y (int2)&lt;/li&gt;
	&lt;li&gt;peak_intensity (int2? &lt;font color=&quot;#de350b&quot;&gt;or int4&lt;/font&gt;)&lt;/li&gt;
	&lt;li&gt;background (float4)&lt;/li&gt;
	&lt;li&gt;&lt;font color=&quot;#de350b&quot;&gt;spot_loc (int2?)&#160; # flag to indicate where on the detector the spot was detected (e.g., stepped window side, non-stepped window side, straddling step, close to edge)&lt;/font&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="21823" author="hassan" created="Fri, 13 Aug 2021 10:59:44 +0000"  >&lt;p&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;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;: can this ticket be closed now?&lt;/p&gt;</comment>
                            <comment id="22248" author="kiyoto.yabe" created="Mon, 4 Oct 2021 02:37:53 +0000"  >&lt;p&gt;The ticket has been merged, so I close this and file a new tickets if any further fix is needed.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="15030">INSTRM-1110</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="16068">INSTRM-1287</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|zzs1vk:</customfieldvalue>

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