ࡱ ; ? @ A B C D E F B a = = @ 8 " 1 Arial1 Arial1 Arial GENERAL dd.mm.yyyy hh:mm:ss dd.mm.yyyy 0.0 $ $ $ $ $ $ ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( 4 ( | ( 0 ( x ( 0 ( x ( 0 ( x ( 0 ( x ( 0 ( x ( 0 ( x ( 0 ( x ( 0 ( x ( 4 ( | ( 0 ( x ( 0 ( x ( 0 ( x ( 0 ( x ( 4 ( | ( 4 ( | ( 4 ( | ( 4 ( | ( 0 ( x ( 0 ( x 8 3f f f f ̙ ̙ 3f 3 f ff 3f 3f 3 33 3 3f 33 333 ? Issues # Project Tracker Parent task Status Priority Subject Author Assigned To Updated Category Target version Start date Due date Estimated time % Done Created Closed Description Tags 4239 ctools Bug Feedback Normal: Mac OS X binary build fails due to access denied exception Kndlseder Jrgen The Mac OS X binary build fails with the following message:
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:It turned out that the @ctools.egg-info@ directory in the @ctools-cr-osx@ is owned by @root@ while all other files are owned by @jenkins@:
$ 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[] 4209 GammaLib Feature In ProgressC Study implementation of an alternative BGDLIX algorithm for COMPTEL 2.1.0Z The BGDLIX algorithm takes advantage of the fact that the event distribution in the DRE follows to first order the shape of the DRG. This however only holds for a constant event rates. As CGRO orbits the Earth the radiation environment changes continuously, leading to an ever changing event rate (see Weidenspointner's PhD thesis). In addition there are long-term variations that related to orbital altitude. Plausibly, the event rate variations are energy dependent, e.g. through the build-up of long-lived isotopes (e.g. Fig. 4.47 in Weidenspointner's PhD thesis). At the same time, the DRG shape changes due to the Earth horizon cut, which presents a second time dependence. This may lead to significant differences between the DRE and DRG, which may explain why residuals of the BGDLIX method tend to be stronger when the Earth is in the field of view. An alternative BGDLIX algorithm could make use of a special energy dependent DRW dataset that is the DRG which includes the time and energy dependent event rate, for example on a superpacket basis, or a longer time interval if there are not enough events within a superpacket to derive a meaningful event rate. The DRW should finally be normalised per Phibar layer to the DRE, so that DRW can be added up in the @comobsadd@ step. In the alternative BGDLIX algorithm, the DRW would be used instead of the DRG. 3990 NewH Add function to convert sigma for a given number of freedoms to TS value The equation to use is at the bottom of https://people.math.gatech.edu/~ecroot/3225/chisquare.pdf In this equation _a_ is the TS value that corresponds to a given significance level. Since _a_ should be the outcome, the equation can only be solved iteratively. To obtained the Probability on the left hand side of the equation, a Gaussian needs to be integrated over the interval @[-sigma,+sigma]@, and the probability to be used is 1 - the integral. The other parameters to use are @alpha = 1/2@ and _k_ which is the number of degrees of freedom, see for example https://programmathically.com/chi-square-distribution-and-degrees-of-freedom/. 3882 Add polarization to interface Polarization should be added to the general @obs@ interfaces so that data for instruments that can measure polarisation can also be analysed. Polarisation should be implemented by a dedicated @GPolarisation@ class that specifies the true polarisation of a photon. 3766: conda install on Ubuntu 20.04 does not work for Python 3.8 Monica reports the following: I have updated to Ubuntu 20.04 now and have found out the following: 1) I was hitting a conda bug not specific to ctools which created many conflicts. I saw a similar bug reported here: https://github.com/nanoporetech/medaka/issues/117 This was fixed by modifying ~/.condarc and removing strict: channel_priority: strict Using flexible worked! 2) I was not able to install ctools with python 3.8 like in my MAC, but python 3.7 worked with the standard instructions in Ubuntu. 3713, Check file extension for output observations Tibaldo Luigi 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. I think we should add an exception or at least a specific warning in the log when this occurs. 3693 Action" Add statistics methods to GNdarray Statistics methods should be added to @GNdarray@ to compute for example the mean, median and standard deviation of the values in an array. See #3668 for a related discussion. 3633( Make sure that all FITS files have units 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. 3610 Add spatial butterflyV @ctbutterfly@ 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. Probably the best is to add this capabilities to @ctbutterfly@, but one could also envision an additional tool. 3608U Investigate whether HAL HAWC 3ML plugin can be incorporated as new instrument module 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 https://github.com/threeML/hawc_hal for information on the plugin. 3539 Support Urgent+ cutlimit to averaged velocity cross section marafatto lorenzo I modelled DM profiles using CLUMPY and get J-Factor and spectrum then I used ctobssim to get events and then ctulimit to get the limits I need the