<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 15:53:42 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>[PIPE2D-462] Create a scattering kernel</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/PIPE2D-462</link>
                <project id="10002" key="PIPE2D">DRP 2-D Pipeline</project>
                    <description>&lt;p&gt;In order to improve the fidelity of simulations, we want to include the ``long-range&apos;&apos; scattering term that we see in the data. Understanding the impact of this scattering is crucial for understanding how well we can extract data from nearby fibers. &lt;/p&gt;

&lt;p&gt;This ticket is to create the simplest kernel, based on observed scatter in LAM, with which to convolve the data to simulate this effect. At this point I am aiming to create only a single kernel, without any spatial dependence.&lt;/p&gt;</description>
                <environment></environment>
        <key id="13810">PIPE2D-462</key>
            <summary>Create a scattering kernel</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="ncaplar">ncaplar</assignee>
                                    <reporter username="ncaplar">ncaplar</reporter>
                        <labels>
                    </labels>
                <created>Thu, 10 Oct 2019 15:30:54 +0000</created>
                <updated>Tue, 15 Oct 2019 19:34:26 +0000</updated>
                            <resolved>Mon, 14 Oct 2019 21:00:33 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                <comments>
                            <comment id="16228" author="ncaplar" created="Mon, 14 Oct 2019 20:57:57 +0000"  >&lt;p&gt;I have placed the representative scattering kernel at &lt;tt&gt;/tigress/HSC/PFS/sim_Neven/Scattering_Kernel&lt;/tt&gt;. This kernel is the median of around 100 examples across the detector. Size is 28x28, where each pixel is the physical pixel (15 microns).&lt;/p&gt;

&lt;p&gt;Example usage:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;def custom_fftconvolve(array1, array2):&lt;br/&gt;
 assert array1.shape==array2.shape&lt;br/&gt;
 return np.fft.fftshift(np.real(np.fft.irfft2(np.fft.rfft2(array1)*np.fft.rfft2(array2))))&lt;/p&gt;

&lt;p&gt;#convolve the psf with the scattered light kernel in the final resolution space&lt;br/&gt;
 scattered_light_in_final_image= custom_fftconvolve(final_image_without_scatter,scattering_kernel)&lt;/p&gt;

&lt;p&gt;#add back the scattering to the image&lt;br/&gt;
 final_image=final_image_without_scatter+scattered_light_in_final_image&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;I am showing the examples of the procedure below:&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;a id=&quot;12201_thumb&quot; href=&quot;https://pfspipe.ipmu.jp/jira/secure/attachment/12201/12201_Adding_scattering.png&quot; title=&quot;Adding_scattering.png&quot; file-preview-type=&quot;image&quot; file-preview-id=&quot;12201&quot; file-preview-title=&quot;Adding_scattering.png&quot;&gt;&lt;img src=&quot;https://pfspipe.ipmu.jp/jira/secure/thumbnail/12201/_thumb_12201.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="13812">PIPE2D-463</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="12201" name="Adding_scattering.png" size="38409" author="ncaplar" created="Mon, 14 Oct 2019 20:56:50 +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|02qpt6:508yl03z0r</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10005" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="59">2DDRP-2019 H</customfieldvalue>

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