Logo white

Iftach Sadeh / ctools

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Snippets
  • Commits 3,615
  • Compare
  • Branches 30
  • Tags 37
  • ctools
  • cscripts
  • csphagen.py
15 Apr, 2021
1 commit
  • Correct argument of error massage
    985680b2
    Jürgen Knödlseder authored
    2021-04-15 14:12:30 +0200  
    Browse File »

05 Feb, 2021
2 commits
  • Integrate code (#3436)
    1898bd89
    Jürgen Knödlseder authored
    2021-02-05 16:30:15 +0100  
    Browse File »
  • missing if statement
    9d76a7e9
    Luigi Tibaldo authored
    2021-02-05 15:38:20 +0100  
    Browse File »

04 Feb, 2021
4 commits
  • fixed doc string and minor estetic change
    b6a50751
    Luigi Tibaldo authored
    2021-02-04 18:06:16 +0100  
    Browse File »
  • parameter query order more logical
    1909ff38
    Luigi Tibaldo authored
    2021-02-04 16:24:33 +0100  
    Browse File »
  • add Off observations models to container
    ce798fb5
    Luigi Tibaldo authored
    2021-02-04 11:44:12 +0100  
    Browse File »
  • Implement Off runs (unit test not working)
    a63b9b92
    Luigi Tibaldo authored
    2021-02-04 10:39:40 +0100  
    Browse File »

04 Dec, 2020
1 commit
  • Adapt to new GSkyRegionRectangle interface (#3248)
    949c4e71
    Jürgen Knödlseder authored
    2020-12-04 17:22:08 +0100  
    Browse File »

03 Dec, 2020
5 commits
  • Integrate code (#3248)
    fba90429
    Jürgen Knödlseder authored
    2020-12-03 14:11:31 +0100  
    Browse File »
  • Created a sub method to compute the necessary reflected regions separation angle… ...
    20133af4
    …. As the necessary separation angle depends on the rotation angle but also on the rectangle extension (overlaps may easily occur) the computation is not so easy: I implemented a rough (slightly overestimating) algorithm which chooses the maximum opening angle between the corners of the rectangle with respect to the pointing position. Extended implementation of _reflected_regions() method to allow the placement of rectangular off regions, which is essentially finally placing a rectangle instead of a circle.
    Andreas Specovius authored
    2020-12-03 14:08:00 +0100  
    Browse File »
  • Replaced check for too small pointing-source offset by check for the on region c… ...
    a9168621
    …ontaining the pointing (should be equal, but has greater flexibility for different (filled) region types)
    Andreas Specovius authored
    2020-12-03 14:08:00 +0100  
    Browse File »
  • Implemented querying of rectangular region parameters.
    c43724e2
    Andreas Specovius authored
    2020-12-03 14:08:00 +0100  
    Browse File »
  • Added members _reg_width, _reg_height, _reg_posang to csphagen class. Adjusted g… ...
    17366f6b
    …et_state and set_state methods.
    Andreas Specovius authored
    2020-12-03 14:08:00 +0100  
    Browse File »

06 Apr, 2020
1 commit
  • Merge branch '2961-scs' into integration ...
    e0519a38
    # Conflicts:
    #	doc/source/users/tutorials/notebooks.rst
    Jürgen Knödlseder authored
    2020-04-06 11:46:08 +0200  
    Browse File »

07 Feb, 2020
1 commit
  • Merge in code
    c093864a
    Jürgen Knödlseder authored
    2020-02-07 17:01:57 +0100  
    Browse File »

05 Feb, 2020
1 commit
  • default to `EXCLUSION` extension for exclusion map
    e231d0c0
    Luigi Tibaldo authored
    2020-02-05 18:12:46 +0100  
    Browse File »

16 Jan, 2020
1 commit
  • Improved algorithm to find reflected regions in presence of exclusion regions
    854ebb52
    Luigi Tibaldo authored
    2020-01-16 21:14:49 +0100  
    Browse File »

02 Jul, 2019
1 commit
  • Allow setting exclusion map via 'csphagen.exclusion_map()' ...
    d403041f
    This allows setting the exclusion map without having to save the map first
    Josh Cardenzana authored
    2019-07-02 20:47:54 +0200  
    Browse File »

30 Mar, 2019
1 commit
  • Correctly use exclusion map csphagen::exclusion_map() method
    35d68693
    Jürgen Knödlseder authored
    2019-03-30 21:23:24 +0100  
    Browse File »

29 Mar, 2019
2 commits
  • Reformatting
    1516d46a
    Jürgen Knödlseder authored
    2019-03-29 15:08:27 +0100  
    Browse File »
  • Remove duplicate exclusion_map() methods in Python scripts ...
    53907f7d
    Methods should not be duplicated in Python scripts but rather use optional parameters
    Jürgen Knödlseder authored
    2019-03-29 10:19:41 +0100  
    Browse File »

16 Feb, 2019
1 commit
  • Make sure that csphagen appends non-background models to output
    6acf0287
    Jürgen Knödlseder authored
    2019-02-16 22:59:49 +0100  
    Browse File »

15 Feb, 2019
3 commits
  • csphagen only adds observations with Off regions to background model
    c319da92
    Jürgen Knödlseder authored
    2019-02-15 21:42:10 +0100  
    Browse File »
  • Add bkgregskip parameter to csphagen
    06d9921b
    Jürgen Knödlseder authored
    2019-02-15 17:48:05 +0100  
    Browse File »
  • Allow setting of regions from FITS files in csphagen
    c6d08e4c
    Jürgen Knödlseder authored
    2019-02-15 12:38:34 +0100  
    Browse File »

05 Feb, 2019
1 commit
  • Merge branch '2712_HESSDR1_tutorials_new' into integration ...
    21dbc1a5
    # Conflicts:
    #	ChangeLog
    #	NEWS
    Jürgen Knödlseder authored
    2019-02-05 12:19:38 +0100  
    Browse File »

15 Jan, 2019
5 commits
  • Add exclusion_map() methods to ctskymap, csphagen, cslightcrv and csphasecrv (#2725)
    9968f648
    Jürgen Knödlseder authored
    2019-01-15 17:27:06 +0100  
    Browse File »
  • For clarification I renamed the mapobj parameter to regmapobj as it handles GSky… ...
    26abd160
    …RegionMap instead of GSkyMap. Updated function documentation.
    Andreas Specovius authored
    2019-01-15 17:27:06 +0100  
    Browse File »
  • Changed type-test to None-test. Reinitialize exclusion map to GSkyRegionMap object.
    4940664e
    Andreas Specovius authored
    2019-01-15 17:27:06 +0100  
    Browse File »
  • Piping for csphagen implemented.
    e801272f
    Andreas Specovius authored
    2019-01-15 17:27:06 +0100  
    Browse File »
  • Improve logging of csphagen
    a58b0f13
    Jürgen Knödlseder authored
    2019-01-15 17:27:05 +0100  
    Browse File »

11 Dec, 2018
4 commits
  • Add exclusion_map() methods to ctskymap, csphagen, cslightcrv and csphasecrv (#2725)
    44348b19
    Jürgen Knödlseder authored
    2018-12-11 15:12:28 +0100  
    Browse File »
  • For clarification I renamed the mapobj parameter to regmapobj as it handles GSky… ...
    5b8d2af9
    …RegionMap instead of GSkyMap. Updated function documentation.
    Andreas Specovius authored
    2018-12-11 14:33:07 +0100  
    Browse File »
  • Changed type-test to None-test. Reinitialize exclusion map to GSkyRegionMap object.
    e2684ff0
    Andreas Specovius authored
    2018-12-11 14:33:07 +0100  
    Browse File »
  • Piping for csphagen implemented.
    3c42b883
    Andreas Specovius authored
    2018-12-11 14:33:07 +0100  
    Browse File »

27 Nov, 2018
2 commits
  • Improve logging of csphagen
    f418ba9a
    Jürgen Knödlseder authored
    2018-11-27 10:51:07 +0100  
    Browse File »
  • initialise dummy source spectral parameters to reasonable values
    040da467
    Luigi Tibaldo authored
    2018-11-27 10:39:24 +0100  
    Browse File »

23 Nov, 2018
1 commit
  • csphagen now creates appropriate model for likelihood fitting (#2711)
    0f0fab79
    Jürgen Knödlseder authored
    2018-11-23 14:58:36 +0100  
    Browse File »

16 Nov, 2018
1 commit
  • On/Off analysis now supports any kind of background model (#2710)
    2f8a94a4
    Jürgen Knödlseder authored
    2018-11-16 16:13:42 +0100  
    Browse File »

08 Nov, 2018
1 commit
  • csphagen now first tries using model container in observation container before q… ...
    620377cb
    …uerying user parameters (#2721)
    Jürgen Knödlseder authored
    2018-11-08 15:59:32 +0100  
    Browse File »