<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 15:51:38 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-355] Model the 2D PSF using PSFEx</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/PIPE2D-355</link>
                <project id="10002" key="PIPE2D">DRP 2-D Pipeline</project>
                    <description>&lt;p&gt;Using the external tool PSFEx, model the 2D PSF. &lt;/p&gt;

&lt;p&gt;This can subsequently be used by &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/PIPE2D-333&quot; title=&quot;Construct a 1D LSF from a 2D PSF&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PIPE2D-333&quot;&gt;&lt;del&gt;PIPE2D-333&lt;/del&gt;&lt;/a&gt; to construct a 1D LSF.&lt;/p&gt;

&lt;p&gt;Success criteria will be provided in due course.&lt;/p&gt;</description>
                <environment></environment>
        <key id="13340">PIPE2D-355</key>
            <summary>Model the 2D PSF using PSFEx</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="10100" iconUrl="https://pfspipe.ipmu.jp/jira/images/icons/statuses/generic.png" description="No further work should be done on this.">Won&apos;t Fix</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="2">Won&apos;t Fix</resolution>
                                        <assignee username="kiyoto.yabe">Kiyoto Yabe</assignee>
                                    <reporter username="hassan">hassan</reporter>
                        <labels>
                    </labels>
                <created>Wed, 13 Feb 2019 14:57:46 +0000</created>
                <updated>Mon, 4 Jan 2021 20:23:07 +0000</updated>
                            <resolved>Fri, 27 Mar 2020 14:46:42 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                <comments>
                            <comment id="15163" author="hassan" created="Fri, 22 Mar 2019 13:21:42 +0000"  >&lt;p&gt;Example PSFs from LAM data should be accessible in order to address this ticket.&lt;/p&gt;</comment>
                            <comment id="15164" author="ncaplar" created="Fri, 22 Mar 2019 13:29:53 +0000"  >&lt;p&gt;The example PSFs have been created in &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/PIPE2D-379&quot; title=&quot;Create set of cutouts to be used to model PSF&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PIPE2D-379&quot;&gt;&lt;del&gt;PIPE2D-379&lt;/del&gt;&lt;/a&gt; and they should be ready to use (I am using then now for my modeling).&lt;/p&gt;</comment>
                            <comment id="15165" author="hassan" created="Fri, 22 Mar 2019 13:36:22 +0000"  >&lt;p&gt;Clarification of my earlier comment: &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=naka.keigo&quot; class=&quot;user-hover&quot; rel=&quot;naka.keigo&quot;&gt;Keigo Nakamura&lt;/a&gt; needs access to the example PSFs that have been created from LAM data as part of &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/PIPE2D-379&quot; title=&quot;Create set of cutouts to be used to model PSF&quot; class=&quot;issue-link&quot; data-issue-key=&quot;PIPE2D-379&quot;&gt;&lt;del&gt;PIPE2D-379&lt;/del&gt;&lt;/a&gt;, which are situated on the Princeton cluster.&lt;/p&gt;</comment>
                            <comment id="15166" author="rhl" created="Fri, 22 Mar 2019 13:39:23 +0000"  >&lt;p&gt;I don&apos;t understand this.&#160; The LSST stack that the PFS pipeline is based on has support for `PSFex` built in;&#160; you can start with an arc image and run the PSF modelling code.&lt;/p&gt;

&lt;p&gt;When we come to see if piff works better we will have to think about interfaces &#8211; LSST is planning to integrate piff at some point, and we can either wait for this work or contribute it;&#160; it may be reasonable to test piff on arc data before doing the integration work.&lt;/p&gt;</comment>
                            <comment id="15168" author="hassan" created="Fri, 22 Mar 2019 19:06:55 +0000"  >&lt;p&gt;Key LSST task to be used that makes use of PSFex is &lt;tt&gt;CharacterizeImageTask&lt;/tt&gt;: &lt;a href=&quot;https://pipelines.lsst.io/modules/lsst.pipe.tasks/tasks/lsst.pipe.tasks.characterizeImage.CharacterizeImageTask.html#lsst-task-lsst-pipe-tasks-characterizeimage-characterizeimagetask&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://pipelines.lsst.io/modules/lsst.pipe.tasks/tasks/lsst.pipe.tasks.characterizeImage.CharacterizeImageTask.html#lsst-task-lsst-pipe-tasks-characterizeimage-characterizeimagetask&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Documentation providing examples are missing. An LSST ticket has been raised to address this:&lt;br/&gt;
&lt;a href=&quot;https://jira.lsstcorp.org/browse/DM-18600&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.lsstcorp.org/browse/DM-18600&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;However a useful starting point for using the &lt;tt&gt;CharacterizeImageTask&lt;/tt&gt; is available here: &lt;a href=&quot;https://github.com/RobertLuptonTheGood/notebooks/blob/master/Demos/Image%20Processing.ipynb&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://github.com/RobertLuptonTheGood/notebooks/blob/master/Demos/Image%20Processing.ipynb&lt;/a&gt;&lt;/p&gt;
</comment>
                            <comment id="15728" author="naka.keigo" created="Mon, 8 Jul 2019 03:00:55 +0000"  >&lt;p&gt;I attached the output image of PSFEX. I tried simulated image of ARC in integration test (visit =31).&lt;br/&gt;
At the top region, PSF has some fluctuation.&lt;/p&gt;</comment>
                            <comment id="16450" author="kiyoto.yabe" created="Thu, 28 Nov 2019 03:13:21 +0000"  >&lt;p&gt;The very initial results:&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;a id=&quot;12312_thumb&quot; href=&quot;https://pfspipe.ipmu.jp/jira/secure/attachment/12312/12312_arc_ne_17244_psfex_xstack.png&quot; title=&quot;arc_ne_17244_psfex_xstack.png&quot; file-preview-type=&quot;image&quot; file-preview-id=&quot;12312&quot; file-preview-title=&quot;arc_ne_17244_psfex_xstack.png&quot;&gt;&lt;img src=&quot;https://pfspipe.ipmu.jp/jira/secure/thumbnail/12310/_thumb_12310.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;Modeled PSF with PSFEx at each position of the detector and spots used for the calculation (small circle; redder color means brighter). Ne arc PostISRCCD image (visit=17244) is used. `config.repair.doCosmicRay = False`&#160; I&apos;m not sure why very bright lines in the lower area of the image are not used by PSFEx, but this may be able to be controlled by tuning parameters. Current set of parameter is like this:&lt;/p&gt;

&lt;p&gt;lsst.meas.extensions.psfex.psfexPsfDeterminer.PsfexPsfDeterminerConfig(kernelSize=41.0, kernelSizeMin=31, kernelSizeMax=51, &lt;em&gt;PsfexPsfDeterminerConfig&lt;/em&gt;&lt;em&gt;nEigenComponents=4, spatialOrder=2, sizeCellX=256, sizeCellY=256, _PsfexPsfDeterminerConfig&lt;/em&gt;&lt;em&gt;nStarPerCell=3, samplingSize=1.0, badMaskBits=&lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;#39;INTRP&amp;#39;, &amp;#39;SAT&amp;#39;&amp;#93;&lt;/span&gt;, psfexBasis=&apos;PIXEL_AUTO&apos;, _PsfexPsfDeterminerConfig&lt;/em&gt;&lt;em&gt;borderWidth=0, _PsfexPsfDeterminerConfig&lt;/em&gt;&lt;em&gt;nStarPerCellSpatialFit=5, _PsfexPsfDeterminerConfig&lt;/em&gt;&lt;em&gt;constantWeight=True, _PsfexPsfDeterminerConfig&lt;/em&gt;_nIterForPsf=3, tolerance=0.01, lam=0.05, reducedChi2ForPsfCandidates=2.0, spatialReject=3.0, recentroid=False)&lt;/p&gt;

&lt;p&gt;lsst.meas.algorithms.objectSizeStarSelector.ObjectSizeStarSelectorConfig(doFluxLimit=False, fluxMin=12500.0, fluxMax=0.0, doSignalToNoiseLimit=True, signalToNoiseMin=20.0, signalToNoiseMax=0.0, widthMin=0.0, widthMax=20.0, sourceFluxField=&apos;base_GaussianFlux_instFlux&apos;, widthStdAllowed=0.5, nSigmaClip=3.0, badFlags=&lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;#39;base_PixelFlags_flag_edge&amp;#39;, &amp;#39;base_PixelFlags_flag_interpolatedCenter&amp;#39;, &amp;#39;base_PixelFlags_flag_saturatedCenter&amp;#39;, &amp;#39;base_PixelFlags_flag_crCenter&amp;#39;, &amp;#39;base_PixelFlags_flag_bad&amp;#39;, &amp;#39;base_PixelFlags_flag_interpolated&amp;#39;&amp;#93;&lt;/span&gt;)&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;a id=&quot;12313_thumb&quot; href=&quot;https://pfspipe.ipmu.jp/jira/secure/attachment/12313/12313_arc_ne_17244_psfex_2d_residual_ex1.png&quot; title=&quot;arc_ne_17244_psfex_2d_residual_ex1.png&quot; file-preview-type=&quot;image&quot; file-preview-id=&quot;12313&quot; file-preview-title=&quot;arc_ne_17244_psfex_2d_residual_ex1.png&quot;&gt;&lt;img src=&quot;https://pfspipe.ipmu.jp/jira/secure/thumbnail/12311/_thumb_12311.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;This is a 1D profile of each image along X direction in each location (+/-15 pix stack in Y direction).&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;a id=&quot;12400_thumb&quot; href=&quot;https://pfspipe.ipmu.jp/jira/secure/attachment/12400/12400_arc_ne_17244_psfex_2d_residual_1d_ex1.png&quot; title=&quot;arc_ne_17244_psfex_2d_residual_1d_ex1.png&quot; file-preview-type=&quot;image&quot; file-preview-id=&quot;12400&quot; file-preview-title=&quot;arc_ne_17244_psfex_2d_residual_1d_ex1.png&quot;&gt;&lt;img src=&quot;https://pfspipe.ipmu.jp/jira/secure/thumbnail/12312/_thumb_12312.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;This is a 1D profile of each image along Y direction in each location (+/-15 pix stack in X&#160;direction).&lt;/p&gt;

&lt;p&gt;In each plot, the X location is shown at the top of each sub-panel, and color shows the Y location (bluer means lower Y).&lt;/p&gt;

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

&lt;p&gt;I&apos;m perhaps doing stupid things, and I&apos;m very happy to know a proper set of parameters.&lt;/p&gt;

&lt;p&gt;Anyway, I don&apos;t see a large change of the line profile in Y direction, but see slight change (1-2 percent level) in the wing of the profile.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="16454" author="kiyoto.yabe" created="Fri, 29 Nov 2019 01:39:25 +0000"  >&lt;p&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;a id=&quot;12401_thumb&quot; href=&quot;https://pfspipe.ipmu.jp/jira/secure/attachment/12401/12401_arc_ne_17244_psfex_1d_residual_map.png&quot; title=&quot;arc_ne_17244_psfex_1d_residual_map.png&quot; file-preview-type=&quot;image&quot; file-preview-id=&quot;12401&quot; file-preview-title=&quot;arc_ne_17244_psfex_1d_residual_map.png&quot;&gt;&lt;img src=&quot;https://pfspipe.ipmu.jp/jira/secure/thumbnail/12313/_thumb_12313.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;a id=&quot;12426_thumb&quot; href=&quot;https://pfspipe.ipmu.jp/jira/secure/attachment/12426/12426_oversampling_issue_psf_cutout.png&quot; title=&quot;oversampling_issue_psf_cutout.png&quot; file-preview-type=&quot;image&quot; file-preview-id=&quot;12426&quot; file-preview-title=&quot;oversampling_issue_psf_cutout.png&quot;&gt;&lt;img src=&quot;https://pfspipe.ipmu.jp/jira/secure/thumbnail/12400/_thumb_12400.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;This is an example of 2D (top) and 1D (bottom) residual of a fairly bright spot at the center of the image. You see 1-2 percent level of residual (compared to the peak). Note that this is actually a good case, and there is worse case indeed.&#160;&lt;/p&gt;

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

&lt;p&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;a id=&quot;12401_thumb&quot; href=&quot;https://pfspipe.ipmu.jp/jira/secure/attachment/12401/12401_arc_ne_17244_psfex_1d_residual_map.png&quot; title=&quot;arc_ne_17244_psfex_1d_residual_map.png&quot; file-preview-type=&quot;image&quot; file-preview-id=&quot;12401&quot; file-preview-title=&quot;arc_ne_17244_psfex_1d_residual_map.png&quot;&gt;&lt;img src=&quot;https://pfspipe.ipmu.jp/jira/secure/thumbnail/12401/_thumb_12401.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;This is a map of RMS of 1D residual divided by the peak of the original line. Most of the spots show 2-3% level of residual, but some spots show &amp;gt;5% level residual. Bad spots in lower part of the image are fairly bright but the positional information of the detection result looks bad for some reason and this causes the large residual.&lt;/p&gt;</comment>
                            <comment id="16519" author="rhl" created="Thu, 5 Dec 2019 22:23:48 +0000"  >&lt;p&gt;In plots like arc_ne_17244_psfex_xstack.png what are the units?  The y-axis is labelled &quot;counts&quot; &amp;#8211; are they in fractions of the peak, or the total flux, or something else?&lt;/p&gt;

&lt;p&gt;Also, the PSF images are showing ringing.  Did you turn on oversampling, and (if so) are you using the version of psfEx in the LSST that I fixed/hacked?&lt;/p&gt;</comment>
                            <comment id="16520" author="kiyoto.yabe" created="Fri, 6 Dec 2019 01:34:51 +0000"  >&lt;p&gt;Yes, it is a normalized value so that the total count is unity.&#160;&lt;/p&gt;

&lt;p&gt;samplingSize=1.0, so I think oversampling is OFF.&lt;/p&gt;

&lt;p&gt;I&apos;m using ver. 18.1.0 for meas_extensions_psfex but I&apos;m not sure if this is a version you fixed. I actually asked &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=naoki.yasuda&quot; class=&quot;user-hover&quot; rel=&quot;naoki.yasuda&quot;&gt;naoki.yasuda&lt;/a&gt; to install the package on a server at IPMU, but some steps described in README (such as checking out your subversion repo) may have been skipped.&lt;/p&gt;</comment>
                            <comment id="16521" author="naoki.yasuda" created="Fri, 6 Dec 2019 09:15:42 +0000"  >&lt;p&gt;It has been installed with `eups distrib install&#160;meas_extensions_psfex v18_1_0` on top of installed LSST stack for pfs_pipe.&lt;/p&gt;</comment>
                            <comment id="16522" author="rhl" created="Fri, 6 Dec 2019 17:14:25 +0000"  >&lt;p&gt;The data is undersampled (as is normal for fibre spectrographs), so I think you need to turn on oversampling.&lt;/p&gt;</comment>
                            <comment id="16638" author="kiyoto.yabe" created="Wed, 22 Jan 2020 05:36:34 +0000"  >&lt;p&gt;As reported in previous telecon, turning on oversampling causes a strange result as shown below:&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;a id=&quot;12536_thumb&quot; href=&quot;https://pfspipe.ipmu.jp/jira/secure/attachment/12536/12536_image+%284%29.png&quot; title=&quot;image (4).png&quot; file-preview-type=&quot;image&quot; file-preview-id=&quot;12536&quot; file-preview-title=&quot;image (4).png&quot;&gt;&lt;img src=&quot;https://pfspipe.ipmu.jp/jira/secure/thumbnail/12426/_thumb_12426.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;This is an image of the local PSF modeling near the FoV center for 5x oversampling. In the processing, 192 out of 237 PSF candidate objects (arc spots) are used for the modeling.&lt;/p&gt;

&lt;p&gt;A set of configuration is shown below:&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-java&quot;&gt;
&lt;span class=&quot;code-comment&quot;&gt;// code placeholder
&lt;/span&gt;
config = CharacterizeImageTask.ConfigClass()
config.psfIterations = 1
config.useSimplePsf = False
config.repair.doCosmicRay = False
config.doApCorr = False

config.measurePsf.psfDeterminer.name = &lt;span class=&quot;code-quote&quot;&gt;&apos;psfex&apos;&lt;/span&gt;
config.measurePsf.psfDeterminer[&lt;span class=&quot;code-quote&quot;&gt;&apos;psfex&apos;&lt;/span&gt;].badMaskBits=[&lt;span class=&quot;code-quote&quot;&gt;&apos;INTRP&apos;&lt;/span&gt;, &lt;span class=&quot;code-quote&quot;&gt;&apos;SAT&apos;&lt;/span&gt;]
config.measurePsf.psfDeterminer[&lt;span class=&quot;code-quote&quot;&gt;&apos;psfex&apos;&lt;/span&gt;].kernelSize=205
config.measurePsf.psfDeterminer[&lt;span class=&quot;code-quote&quot;&gt;&apos;psfex&apos;&lt;/span&gt;].kernelSizeMin=31
config.measurePsf.psfDeterminer[&lt;span class=&quot;code-quote&quot;&gt;&apos;psfex&apos;&lt;/span&gt;].kernelSizeMax=51
config.measurePsf.psfDeterminer[&lt;span class=&quot;code-quote&quot;&gt;&apos;psfex&apos;&lt;/span&gt;].sizeCellX=64
config.measurePsf.psfDeterminer[&lt;span class=&quot;code-quote&quot;&gt;&apos;psfex&apos;&lt;/span&gt;].sizeCellY=64
config.measurePsf.psfDeterminer[&lt;span class=&quot;code-quote&quot;&gt;&apos;psfex&apos;&lt;/span&gt;].samplingSize=0.2
config.measurePsf.psfDeterminer[&lt;span class=&quot;code-quote&quot;&gt;&apos;psfex&apos;&lt;/span&gt;].psfexBasis=&lt;span class=&quot;code-quote&quot;&gt;&apos;PIXEL&apos;&lt;/span&gt;
config.measurePsf.psfDeterminer[&lt;span class=&quot;code-quote&quot;&gt;&apos;psfex&apos;&lt;/span&gt;].recentroid=True
config.measurePsf.psfDeterminer[&lt;span class=&quot;code-quote&quot;&gt;&apos;psfex&apos;&lt;/span&gt;].lam=0.05
config.measurePsf.psfDeterminer[&lt;span class=&quot;code-quote&quot;&gt;&apos;psfex&apos;&lt;/span&gt;].spatialOrder=2
config.measurePsf.psfDeterminer[&lt;span class=&quot;code-quote&quot;&gt;&apos;psfex&apos;&lt;/span&gt;].spatialReject=3.0
config.measurePsf.psfDeterminer[&lt;span class=&quot;code-quote&quot;&gt;&apos;psfex&apos;&lt;/span&gt;].tolerance=0.01
config.measurePsf.psfDeterminer[&lt;span class=&quot;code-quote&quot;&gt;&apos;psfex&apos;&lt;/span&gt;].reducedChi2ForPsfCandidates=2.0

config.measurePsf.starSelector.name = &lt;span class=&quot;code-quote&quot;&gt;&apos;objectSize&apos;&lt;/span&gt;
config.measurePsf.starSelector[&lt;span class=&quot;code-quote&quot;&gt;&apos;objectSize&apos;&lt;/span&gt;].doFluxLimit=False
config.measurePsf.starSelector[&lt;span class=&quot;code-quote&quot;&gt;&apos;objectSize&apos;&lt;/span&gt;].fluxMin=1000.
config.measurePsf.starSelector[&lt;span class=&quot;code-quote&quot;&gt;&apos;objectSize&apos;&lt;/span&gt;].fluxMax=5000000.
config.measurePsf.starSelector[&lt;span class=&quot;code-quote&quot;&gt;&apos;objectSize&apos;&lt;/span&gt;].doSignalToNoiseLimit=True
config.measurePsf.starSelector[&lt;span class=&quot;code-quote&quot;&gt;&apos;objectSize&apos;&lt;/span&gt;].signalToNoiseMin=50.
config.measurePsf.starSelector[&lt;span class=&quot;code-quote&quot;&gt;&apos;objectSize&apos;&lt;/span&gt;].signalToNoiseMax=1000.
config.measurePsf.starSelector[&lt;span class=&quot;code-quote&quot;&gt;&apos;objectSize&apos;&lt;/span&gt;].widthMin = 0.5
config.measurePsf.starSelector[&lt;span class=&quot;code-quote&quot;&gt;&apos;objectSize&apos;&lt;/span&gt;].widthMax = 5.0
config.measurePsf.starSelector[&lt;span class=&quot;code-quote&quot;&gt;&apos;objectSize&apos;&lt;/span&gt;].widthStdAllowed = 0.3
config.measurePsf.starSelector[&lt;span class=&quot;code-quote&quot;&gt;&apos;objectSize&apos;&lt;/span&gt;].nSigmaClip = 2.0
config.measurePsf.starSelector[&lt;span class=&quot;code-quote&quot;&gt;&apos;objectSize&apos;&lt;/span&gt;].sourceFluxField = &lt;span class=&quot;code-quote&quot;&gt;&apos;base_PsfFlux_instFlux&apos;&lt;/span&gt;

&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Please let me know, if you have any idea on the possible cause or what can be helpful...&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="16918" author="ncaplar" created="Sat, 21 Mar 2020 14:53:08 +0000"  >&lt;p&gt;I have talked with Bob Amstrong. He immediately recognized the strange feature discussed above. He says that the feature is caused by the fact that the code only does the real analysis in the inner part of the PSF, while outside it does some sort of simplified averaging. The parameter that controls how large the region is in which ``real analysis&apos;&apos; is conducted is given by the parameter &lt;tt&gt;BASIS_NUMBER&lt;/tt&gt; which is not accessible via python, but is accessible via the default configuration file. On GitHub, this file can be found at&lt;/p&gt;

{[https://github.com/LSST-nonproject/meas_extensions_psfex/blob/master/config/default-lsst.psfex].}

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

&lt;p&gt;On Monday I plan to play to see if the changing the &lt;tt&gt;BASIS_NUMBER&lt;/tt&gt; changes the results&#160;&lt;/p&gt;</comment>
                            <comment id="16940" author="ncaplar" created="Tue, 24 Mar 2020 19:13:36 +0000"  >&lt;p&gt;I did conduct the change that Bob suggested and increased the &lt;tt&gt;BASIS_NUMBER&lt;/tt&gt; from 20 to 40. The code ran 10 times longer&#160;(4517 seconds, compared to 467 when BASIS_NUMBER was 20), but I do get a similar result:&lt;/p&gt;

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

&lt;p&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;a id=&quot;12535_thumb&quot; href=&quot;https://pfspipe.ipmu.jp/jira/secure/attachment/12535/12535_Basis_number_40.png&quot; title=&quot;Basis_number_40.png&quot; file-preview-type=&quot;image&quot; file-preview-id=&quot;12535&quot; file-preview-title=&quot;Basis_number_40.png&quot;&gt;&lt;img src=&quot;https://pfspipe.ipmu.jp/jira/secure/thumbnail/12535/_thumb_12535.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;</comment>
                            <comment id="16943" author="kiyoto.yabe" created="Wed, 25 Mar 2020 01:29:29 +0000"  >&lt;p&gt;Thank you very much for this test &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=ncaplar&quot; class=&quot;user-hover&quot; rel=&quot;ncaplar&quot;&gt;ncaplar&lt;/a&gt;.&#160;I do appreciate if you get a further chance to talk to Bob or other folks.&#160;&lt;/p&gt;</comment>
                            <comment id="16947" author="ncaplar" created="Wed, 25 Mar 2020 20:47:19 +0000"  >&lt;p&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;&#160;Yes, I am trying to get in contact with Bob to discuss further.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="16954" author="ncaplar" created="Fri, 27 Mar 2020 14:41:24 +0000"  >&lt;p&gt;I have talked with Bob Amstrong about our problem when using PSFex. To repeat what I mentioned in the ticket, he says that the feature is caused by the fact that the code only does the real analysis in the inner part of the PSF, while outside it does some sort of simplified averaging. He first recommended increasing the BASIS_NUMBER parameter, but that did not change the result (only made code run longer). &lt;br/&gt;
He also shared with the Figure showing the HSC results when using third order lanczos and having different parameters of interpolation (`INTERPW` and `INTERPFAC`) then what we are using now. We see the same effect. Based on these we seem to have concluded that changing the interpolation properties via parameters `INTERPW` or `INTERPFAC` does not change the size of the interpolation box.&lt;/p&gt;

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

&lt;p&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;a id=&quot;12536_thumb&quot; href=&quot;https://pfspipe.ipmu.jp/jira/secure/attachment/12536/12536_image+%284%29.png&quot; title=&quot;image (4).png&quot; file-preview-type=&quot;image&quot; file-preview-id=&quot;12536&quot; file-preview-title=&quot;image (4).png&quot;&gt;&lt;img src=&quot;https://pfspipe.ipmu.jp/jira/secure/thumbnail/12536/_thumb_12536.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;</comment>
                            <comment id="16955" author="ncaplar" created="Fri, 27 Mar 2020 14:46:28 +0000"  >&lt;p&gt;We discussed this during DRP telecom on March 27, 2020. We have reached the conclusion that at this point it is not worth investigating this further. Changing the size of the box would probably include considerable amounts of time and possibly working on the underlying C-code.&#160;&lt;br/&gt;
If it turns out that this code is needed (in the case that my 2d PSF modeling is unsatisfactory), we plan to either try using Piff or return to the work in this ticket.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="13388">PIPE2D-379</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="12401" name="arc_ne_17244_psfex_1d_residual_map.png" size="161951" author="kiyoto.yabe" created="Tue, 3 Dec 2019 07:32:05 +0000"/>
                            <attachment id="12400" name="arc_ne_17244_psfex_2d_residual_1d_ex1.png" size="68743" author="kiyoto.yabe" created="Mon, 2 Dec 2019 06:35:59 +0000"/>
                            <attachment id="12313" name="arc_ne_17244_psfex_2d_residual_ex1.png" size="43627" author="kiyoto.yabe" created="Fri, 29 Nov 2019 01:33:30 +0000"/>
                            <attachment id="12310" name="arc_ne_17244_psfex.png" size="364480" author="kiyoto.yabe" created="Fri, 29 Nov 2019 01:32:32 +0000"/>
                            <attachment id="12312" name="arc_ne_17244_psfex_xstack.png" size="73224" author="kiyoto.yabe" created="Fri, 29 Nov 2019 01:33:24 +0000"/>
                            <attachment id="12311" name="arc_ne_17244_psfex_ystack.png" size="79594" author="kiyoto.yabe" created="Fri, 29 Nov 2019 01:33:18 +0000"/>
                            <attachment id="12535" name="Basis_number_40.png" size="39083" author="ncaplar" created="Tue, 24 Mar 2020 19:13:04 +0000"/>
                            <attachment id="12031" name="Figure 2-2.png" size="205676" author="naka.keigo" created="Mon, 8 Jul 2019 01:38:08 +0000"/>
                            <attachment id="12536" name="image (4).png" size="353502" author="ncaplar" created="Fri, 27 Mar 2020 14:40:52 +0000"/>
                            <attachment id="12426" name="oversampling_issue_psf_cutout.png" size="9534" author="kiyoto.yabe" created="Wed, 22 Jan 2020 05:22: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_10006" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PIPE2D-351</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10010" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|02qprv:cc</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10005" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="45">2DDRP-2019 C</customfieldvalue>
    <customfieldvalue id="46">2DDRP-2019 D</customfieldvalue>
    <customfieldvalue id="49">2DDRP-2019 E</customfieldvalue>
    <customfieldvalue id="52">2DDRP-2019 F</customfieldvalue>
    <customfieldvalue id="55">2DDRP-2019 G</customfieldvalue>
    <customfieldvalue id="59">2DDRP-2019 H</customfieldvalue>
    <customfieldvalue id="62">2DDRP-2019 I</customfieldvalue>
    <customfieldvalue id="68">2DDRP-2019 J</customfieldvalue>
    <customfieldvalue id="72">2DDRP-2019 K</customfieldvalue>
    <customfieldvalue id="73">2DDRP-2020 A</customfieldvalue>
    <customfieldvalue id="93">2DDRP-2021 A</customfieldvalue>

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