Commit 19fd5ed7 authored by Yan Zhaojun's avatar Yan Zhaojun
Browse files

update

parent ad47740b
Pipeline #7154 passed with stage
in 0 seconds
......@@ -2748,12 +2748,12 @@ class IFSsimulator():
overscan = 320
# zone 4 , OSH #### 1024, 2048
self.image_b[0:1024+overscan, 0:2048+prescan+overscan] += np.random.normal(
loc=0.0, scale=self.information['rn2_b'], size=(1344, 2418))
loc=0.0, scale=self.information['rn1_b'], size=(1344, 2418))
# ######### zone 3, OSG #################
np.random.seed()
self.image_b[0:1024+overscan, 2418:2418+2048+prescan+overscan] += np.random.normal(
loc=0.0, scale=self.information['rn1_b'], size=(1344, 2418))
loc=0.0, scale=self.information['rn2_b'], size=(1344, 2418))
# ######### zone 1, OSE ###################
np.random.seed()
......@@ -2770,12 +2770,12 @@ class IFSsimulator():
# red zone 4 , OSH### 1536* 3072
np.random.seed()
self.image_r[0:1536+overscan, 0:3072+prescan+overscan] += np.random.normal(
loc=0.0, scale=self.information['rn2_r'], size=(1856, 3442))
loc=0.0, scale=self.information['rn1_r'], size=(1856, 3442))
# ######### zone 3 ,OSG #################
np.random.seed()
self.image_r[0:1536+overscan, 3442:3442+3072+prescan+overscan] += np.random.normal(
loc=0.0, scale=self.information['rn1_r'], size=(1856, 3442))
loc=0.0, scale=self.information['rn2_r'], size=(1856, 3442))
# ######### zone 1 ,OSE ###################
np.random.seed()
......@@ -3024,10 +3024,10 @@ class IFSsimulator():
########################################################################
# blue zone 4
self.image_b[0:1344, 0:2418] += self.information['bias2_b']
self.image_b[0:1344, 0:2418] += self.information['bias1_b']
# ######### zone 3 #################
self.image_b[0:1344, 2418:2418*2] += self.information['bias1_b']
self.image_b[0:1344, 2418:2418*2] += self.information['bias2_b']
# ######### zone 1 ###################
self.image_b[0:1344, 2418*2:2418*3] += self.information['bias3_b']
......@@ -3042,10 +3042,10 @@ class IFSsimulator():
#######################################################################
# red zone 4
self.image_r[0:1856, 0:3442] += self.information['bias2_r']
self.image_r[0:1856, 0:3442] += self.information['bias1_r']
# ######### zone 3 #################
self.image_r[0:1856, 3442:3442*2] += self.information['bias1_r']
self.image_r[0:1856, 3442:3442*2] += self.information['bias2_r']
# ######### zone 1 ###################
self.image_r[0:1856, 3442*2:3442*3] += self.information['bias3_r']
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment