CTA IRAP Project Gateway: Issueshttps://cta-redmine.irap.omp.eu/https://cta-redmine.irap.omp.eu/favicon.ico?14312453732023-03-27T15:14:56ZCTA IRAP Project Gateway
Redmine ctools - Bug #4239 (Feedback): Mac OS X binary build fails due to access denied exceptionhttps://cta-redmine.irap.omp.eu/issues/42392023-03-27T15:14:56ZKnödlseder Jürgenjurgen.knodlseder@irap.omp.eu
<p>The Mac OS X binary build fails with the following message:<br /><pre>
java.io.IOException: remote file operation failed: /Users/jenkins/jenkins/workspace/ctools-cr-osx at hudson.remoting.Channel@54e7e181:Mac OS 10.11: java.nio.file.AccessDeniedException:
</pre><br />It turned out that the <code>ctools.egg-info</code> directory in the <code>ctools-cr-osx</code> is owned by <code>root</code> while all other files are owned by <code>jenkins</code>:<br /><pre>
$ ls -l pkg_build/src/ctools-2.1.0.dev/pyext/
total 232
-rw-r--r-- 1 jenkins staff 27643 27 mar 14:31 Makefile
-rwxr-xr-x 1 jenkins staff 9094 27 mar 09:46 Makefile.am
-rw-r--r-- 1 jenkins staff 29847 27 mar 09:46 Makefile.in
drwxr-xr-x 6 root staff 204 27 mar 14:33 ctools.egg-info
-rwxr-xr-x 1 jenkins staff 2642 27 mar 09:46 ctphase.i
-rwxr-xr-x 1 jenkins staff 2607 27 mar 09:46 ctprob.i
-rwxr-xr-x 1 jenkins staff 2682 27 mar 09:46 ctpsfcube.i
-rwxr-xr-x 1 jenkins staff 2624 27 mar 09:46 ctselect.i
-rwxr-xr-x 1 jenkins staff 2847 27 mar 09:46 ctskymap.i
-rwxr-xr-x 1 jenkins staff 2707 27 mar 09:46 cttsmap.i
-rwxr-xr-x 1 jenkins staff 2741 27 mar 09:46 ctulimit.i
-rw-r--r-- 1 jenkins staff 7739 27 mar 14:31 setup.py
-rwxr-xr-x 1 jenkins staff 8044 27 mar 09:46 setup.py.in
</pre></p> GammaLib - Feature #3990 (New): Add function to convert sigma for a given number of freedoms to T...https://cta-redmine.irap.omp.eu/issues/39902022-02-17T09:49:21ZKnödlseder Jürgenjurgen.knodlseder@irap.omp.eu
<p>The equation to use is at the bottom of</p>
<p><a class="external" href="https://people.math.gatech.edu/~ecroot/3225/chisquare.pdf">https://people.math.gatech.edu/~ecroot/3225/chisquare.pdf</a></p>
<p>In this equation <em>a</em> is the TS value that corresponds to a given significance level. Since <em>a</em> should be the outcome, the equation can only be solved iteratively.<br />To obtained the Probability on the left hand side of the equation, a Gaussian needs to be integrated over the interval <code>[-sigma,+sigma]</code>, and the probability to be used is 1 - the integral.</p>
<p>The other parameters to use are <code>alpha = 1/2</code> and <em>k</em> which is the number of degrees of freedom, see for example <a class="external" href="https://programmathically.com/chi-square-distribution-and-degrees-of-freedom/">https://programmathically.com/chi-square-distribution-and-degrees-of-freedom/</a>.</p> GammaLib - Feature #3882 (In Progress): Add polarization to interfacehttps://cta-redmine.irap.omp.eu/issues/38822021-10-19T14:10:52ZKnödlseder Jürgenjurgen.knodlseder@irap.omp.eu
<p>Polarization should be added to the general <code>obs</code> interfaces so that data for instruments that can measure polarisation can also be analysed. Polarisation should be implemented by a dedicated <code>GPolarisation</code> class that specifies the true polarisation of a photon.</p> ctools - Bug #3766 (New): conda install on Ubuntu 20.04 does not work for Python 3.8https://cta-redmine.irap.omp.eu/issues/37662021-09-06T10:55:46ZKnödlseder Jürgenjurgen.knodlseder@irap.omp.eu
<p>Monica reports the following:</p>
<p>I have updated to Ubuntu 20.04 now and have found out the following:</p>
<p>1) I was hitting a conda bug not specific to ctools which created many <br /> conflicts.</p>
<p>I saw a similar bug reported here:<br /><a class="external" href="https://github.com/nanoporetech/medaka/issues/117">https://github.com/nanoporetech/medaka/issues/117</a></p>
<p>This was fixed by modifying ~/.condarc and removing strict:<br />channel_priority: strict<br />Using flexible worked!</p>
<p>2) I was not able to install ctools with python 3.8 like in my MAC, but <br />python 3.7 worked with the standard instructions in Ubuntu.</p> ctools - Feature #3713 (New): Check file extension for output observationshttps://cta-redmine.irap.omp.eu/issues/37132021-05-28T07:57:40ZTibaldo Luigiluigi.tibaldo@irap.omp.eu
<p>Several tools, e.g., ctobssim or ctselect, can provide output observations in multiple formats (event lists in FITS, observations lists in XML). If the user specifies an output file name with the wrong extension (for instance, .fits for an observation list) the tools runs without any warning or exception, but the file then is unreadable by other tools.<br />I think we should add an exception or at least a specific warning in the log when this occurs.</p> GammaLib - Action #3693 (New): Add statistics methods to GNdarrayhttps://cta-redmine.irap.omp.eu/issues/36932021-05-20T08:52:33ZKnödlseder Jürgenjurgen.knodlseder@irap.omp.eu
<p>Statistics methods should be added to <code>GNdarray</code> to compute for example the mean, median and standard deviation of the values in an array. See <a href="https://cta-redmine.irap.omp.eu/issues/3668" class="issue tracker-2 status-5 priority-4 priority-default closed" title="add minimal event counts to cssens (Closed)">#3668</a> for a related discussion.</p> ctools - Action #3633 (New): Make sure that all FITS files have unitshttps://cta-redmine.irap.omp.eu/issues/36332021-05-01T21:22:48ZKnödlseder Jürgenjurgen.knodlseder@irap.omp.eu
<p>It was reported that exposure cubes have no units. We should verify that all files produced by ctools come with a correction description of the units of the content.</p> ctools - Action #3610 (New): Add spatial butterflyhttps://cta-redmine.irap.omp.eu/issues/36102021-04-22T15:30:06ZKnödlseder Jürgenjurgen.knodlseder@irap.omp.eu
<p><code>ctbutterfly</code> computes the spectral butterfly diagram for a fitted model. The same approach can be applied to the spatial parameters, providing the error ellipse. Similar butterflies may be generated for other spatial parameters.</p>
<p>Probably the best is to add this capabilities to <code>ctbutterfly</code>, but one could also envision an additional tool.</p> GammaLib - Feature #3608 (New): Investigate whether HAL HAWC 3ML plugin can be incorporated as ne...https://cta-redmine.irap.omp.eu/issues/36082021-04-14T13:21:39ZKnödlseder Jürgenjurgen.knodlseder@irap.omp.eu
<p>The HAL HAWC 3ML plugin supports analysis of HAWC data. It should be checked whether the code of this plugin can be incorporated into GammaLib so that GammaLib also supports the analysis of HAWC data. See <a class="external" href="https://github.com/threeML/hawc_hal">https://github.com/threeML/hawc_hal</a> for information on the plugin.</p> ctools - Support #3539 (In Progress): cutlimit to averaged velocity cross sectionhttps://cta-redmine.irap.omp.eu/issues/35392021-02-14T13:05:17Zmarafatto lorenzolmaraf@yahoo.com
<p>I modelled DM profiles using CLUMPY and get J-Factor and spectrum<br />then I used ctobssim to get events and then ctulimit to get the limits<br />I need the <sigma v> for my research. I used standard 3e-26 value for calculating values from CLUMPY.<br />how can I convert ctulimit final value into <sigma v> velocity averaged cross section?<br />I add the fits file and spectrum from CLUMPY and events and ctulimit.log from ctools <br />many thanks!</p> ctools - Action #3537 (New): Speed-up tutorials https://cta-redmine.irap.omp.eu/issues/35372021-02-04T22:58:45ZKnödlseder Jürgenjurgen.knodlseder@irap.omp.eu
<p>Some of the tutorials take quite some time, and hence are not really suited to learn using ctools. These are in particular the tutorials that are based on the 1DC data. A smaller but meaningful set of test data should be used for the tutorials so that they can quickly be reproduced.</p> ctools - Action #3536 (In Progress): Check performance of csresmap and csrespechttps://cta-redmine.irap.omp.eu/issues/35362021-02-04T13:54:10ZTibaldo Luigiluigi.tibaldo@irap.omp.eu
<p>These tools have become really slow: calculating residuals takes much longer than performing likelihood fits in some cases. We should check where the bottlenecks are, whether they can be sped up etc</p> ctools - Action #3534 (New): Try to speed-up csphagenhttps://cta-redmine.irap.omp.eu/issues/35342021-02-03T20:33:31ZKnödlseder Jürgenjurgen.knodlseder@irap.omp.eu
<p>The <code>csphagen</code> script takes quite some time for the examples on <a class="external" href="http://cta.irap.omp.eu/ctools/users/tutorials/1dc/first_onoff.html">http://cta.irap.omp.eu/ctools/users/tutorials/1dc/first_onoff.html</a>. In total 30 observations are stacked by the run. A valgrind analysis should be performed to understand where the bottlenecks are.</p> ctools - Feature #3533 (New): Nuisance parametershttps://cta-redmine.irap.omp.eu/issues/35332021-02-03T18:18:03ZHernández Cadena Sergioskerzot@ciencias.unam.mx
<p>Add a property for parameters in the likelihood to be treated as nuisance parameters, also be able to define a prior distribution for this kind of parameter (Gaussian or Uniform prior distributions). As an example, you can refer to the DM conventions document in section 6 (attached)</p> ctools - Feature #3523 (New): Add to csmodelselect the option to select models for a binned/stack...https://cta-redmine.irap.omp.eu/issues/35232021-01-30T10:53:03ZTibaldo Luigiluigi.tibaldo@irap.omp.eu
<p>Sometimes the ROI for a binned analysis is smaller than the ROI of the corresponding event lists. Right now csmodelselect only accepts event lists in input, it would be useful to have the option to use it also for binned/stacked observations.</p>