Commit 62c408f8 authored by Yan Zhaojun's avatar Yan Zhaojun
Browse files

update

parent 1aa0db48
Pipeline #7735 failed with stage
in 0 seconds
......@@ -356,7 +356,7 @@ class cosmicrays():
exposure time.
"""
def __init__(self, log, image, exposuretime,crInfo=None, information=None):
def __init__(self, log, image, exposuretime, crInfo=None, information=None):
"""
Cosmic ray generation class. Can either draw events from distributions or
set the energy of the events to a constant.
......@@ -376,7 +376,7 @@ class cosmicrays():
# set up the information dictionary, first with defaults and then overwrite with inputs if given
self.information = (dict(cosmicraylengths='/home/yan/csst-master/data/cdf_cr_length.dat',
cosmicraydistance='/home/yan/csst-master/data/cdf_cr_total.dat',exptime=exposuretime))
cosmicraydistance='/home/yan/csst-master/data/cdf_cr_total.dat', exptime=exposuretime))
if information is not None:
self.information.update(information)
......
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