File tree Expand file tree Collapse file tree 2 files changed +3
-9
lines changed Expand file tree Collapse file tree 2 files changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -116,9 +116,7 @@ def __init__(
116
116
self .y = xr .DataArray (
117
117
self .y [:, 0 ],
118
118
dims = ["obs_ind" ],
119
- coords = {
120
- "obs_ind" : self .data .index ,
121
- },
119
+ coords = {"obs_ind" : self .data .index },
122
120
)
123
121
124
122
# fit model
Original file line number Diff line number Diff line change @@ -122,9 +122,7 @@ def __init__(
122
122
self .pre_y = xr .DataArray (
123
123
self .pre_y [:, 0 ],
124
124
dims = ["obs_ind" ],
125
- coords = {
126
- "obs_ind" : self .datapre .index ,
127
- },
125
+ coords = {"obs_ind" : self .datapre .index },
128
126
)
129
127
self .post_X = xr .DataArray (
130
128
self .post_X ,
@@ -137,9 +135,7 @@ def __init__(
137
135
self .post_y = xr .DataArray (
138
136
self .post_y [:, 0 ],
139
137
dims = ["obs_ind" ],
140
- coords = {
141
- "obs_ind" : self .datapost .index ,
142
- },
138
+ coords = {"obs_ind" : self .datapost .index },
143
139
)
144
140
145
141
# fit the model to the observed (pre-intervention) data
You can’t perform that action at this time.
0 commit comments