sot / xija

Thermal modeling framework for Chandra X-ray Observatory
https://sot.github.io/xija
BSD 3-Clause "New" or "Revised" License
9 stars 5 forks source link

Add bad_times model attributes to mask out resids during bad times #27

Closed taldcroft closed 9 years ago

taldcroft commented 9 years ago

This allows adding the following to a JSON model file to define time intervals that are ignored in fitting:

 {
   "bad_times": [
        [
            "2014:001", 
            "2014:003"
        ], 
        [
            "2014:010", 
            "2014:013"
        ]
    ], 
   "comps": [
        {
            "class_name": "Mask",  
      ....

Technically, the fit residuals are not ignored but are zeroed out.

taldcroft commented 9 years ago

Closes #4.