Commit 3ed4b012 authored by Yan Zhaojun's avatar Yan Zhaojun
Browse files

update

parent a046815c
Pipeline #7886 failed with stage
in 0 seconds
...@@ -1822,11 +1822,11 @@ class MCIsimulator(): ...@@ -1822,11 +1822,11 @@ class MCIsimulator():
# ###### use SED_code to generate star SED ####### # ###### use SED_code to generate star SED #######
if get_file_extension(starcat) == '.fits': if get_file_extension(starcat) == '.fits':
umag = self.star['gmag'][j]; umag = self.star['gmag'][j]
gmag = self.star['gmag'][j]; gmag = self.star['gmag'][j]
rmag = self.star['rmag'][j]; rmag = self.star['rmag'][j]
imag = self.star['imag'][j]; imag = self.star['imag'][j]
zmag = self.star['zmag'][j]; zmag = self.star['zmag'][j]
# SED of j-th star # SED of j-th star
else: else:
...@@ -3370,7 +3370,7 @@ class MCIsimulator(): ...@@ -3370,7 +3370,7 @@ class MCIsimulator():
else: else:
if direction == 'horizon': if direction == 'horizon':
self.information['bleding_direction']='Not_horizon' self.information['bleding_direction'] = 'Not_horizon'
# loop over each column, as bleeding is modelled column-wise # loop over each column, as bleeding is modelled column-wise
# for i, column in enumerate(data): # select one solumnn # for i, column in enumerate(data): # select one solumnn
# if column.max() <= self.information['fullwellcapacity']: # if column.max() <= self.information['fullwellcapacity']:
......
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