File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111os .environ ['SAS_ODF' ] = os .path .abspath (glob .glob ('../../rpcdata/*SUM.SAS' )[0 ])
1212os .environ ['SAS_CCF' ] = os .path .abspath (glob .glob ('../../rpcdata/ccf.cif' )[0 ])
1313
14- shutil .copyfile ('../mos1_clean.ds' , 'mos1_clean_barycen.ds' )
15- subprocess .call (['barycen' , 'table=mos1_clean_barycen.ds:EVENTS' ])
16- table = 'mos1_clean_barycen.ds'
14+ # To use the clean event file
15+ # shutil.copyfile('../mos1_clean.ds', 'mos1_clean_barycen.ds')
16+ # subprocess.call(['barycen', 'table=mos1_clean_barycen.ds:EVENTS'])
17+ # table = 'mos1_clean_barycen.ds'
18+
19+ # Use original baricentric corrected event file
20+ table = '../../rpcdata/mos1events_barycen.ds'
1721
1822pattern = 12
1923
Original file line number Diff line number Diff line change 1111os .environ ['SAS_ODF' ] = os .path .abspath (glob .glob ('../../rpcdata/*SUM.SAS' )[0 ])
1212os .environ ['SAS_CCF' ] = os .path .abspath (glob .glob ('../../rpcdata/ccf.cif' )[0 ])
1313
14- shutil .copyfile ('../mos1_clean.ds' , 'mos1_clean_barycen.ds' )
15- subprocess .call (['barycen' , 'table=mos1_clean_barycen.ds:EVENTS' ])
16- table = 'mos1_clean_barycen.ds'
14+ # To use the clean event file
15+ # shutil.copyfile('../mos1_clean.ds', 'mos1_clean_barycen.ds')
16+ # subprocess.call(['barycen', 'table=mos1_clean_barycen.ds:EVENTS'])
17+ # table = 'mos1_clean_barycen.ds'
18+
19+ # Use original baricentric corrected event file
20+ table = '../../rpcdata/mos1events_barycen.ds'
1721
1822srcregionfile = 'src.reg'
1923bkgregionfile = 'bkg.reg'
Original file line number Diff line number Diff line change 1818prefix = ""
1919sufix = ""
2020
21- table = 'mos1_clean.ds'
21+ table = '../ mos1_clean.ds'
2222srcspc = '{0}mos1_srcspc{1}.ds' .format (prefix , sufix )
2323srcimg = '{0}mos1_srcimg{1}.ds' .format (prefix , sufix )
2424bkgspc = '{0}mos1_bkgspc{1}.ds' .format (prefix , sufix )
Original file line number Diff line number Diff line change 1111os .environ ['SAS_ODF' ] = os .path .abspath (glob .glob ('../../rpcdata/*SUM.SAS' )[0 ])
1212os .environ ['SAS_CCF' ] = os .path .abspath (glob .glob ('../../rpcdata/ccf.cif' )[0 ])
1313
14- shutil .copyfile ('../mos2_clean.ds' , 'mos2_clean_barycen.ds' )
15- subprocess .call (['barycen' , 'table=mos2_clean_barycen.ds:EVENTS' ])
16- table = 'mos2_clean_barycen.ds'
14+ # To use the clean event file
15+ # shutil.copyfile('../mos2_clean.ds', 'mos2_clean_barycen.ds')
16+ # subprocess.call(['barycen', 'table=mos2_clean_barycen.ds:EVENTS'])
17+ # table = 'mos2_clean_barycen.ds'
18+
19+ # Use original baricentric corrected event file
20+ table = '../../rpcdata/mos2events_barycen.ds'
1721
1822pattern = 12
1923
Original file line number Diff line number Diff line change 1111os .environ ['SAS_ODF' ] = os .path .abspath (glob .glob ('../../rpcdata/*SUM.SAS' )[0 ])
1212os .environ ['SAS_CCF' ] = os .path .abspath (glob .glob ('../../rpcdata/ccf.cif' )[0 ])
1313
14- shutil .copyfile ('../mos2_clean.ds' , 'mos2_clean_barycen.ds' )
15- subprocess .call (['barycen' , 'table=mos2_clean_barycen.ds:EVENTS' ])
16- table = 'mos2_clean_barycen.ds'
14+ # To use the clean event file
15+ # shutil.copyfile('../mos2_clean.ds', 'mos2_clean_barycen.ds')
16+ # subprocess.call(['barycen', 'table=mos2_clean_barycen.ds:EVENTS'])
17+ # table = 'mos2_clean_barycen.ds'
18+
19+ # Use original baricentric corrected event file
20+ table = '../../rpcdata/mos2events_barycen.ds'
1721
1822srcregionfile = 'src.reg'
1923bkgregionfile = 'bkg.reg'
Original file line number Diff line number Diff line change 1818prefix = ""
1919sufix = ""
2020
21- table = 'mos2_clean.ds'
21+ table = '../ mos2_clean.ds'
2222srcspc = '{0}mos2_srcspc{1}.ds' .format (prefix , sufix )
2323srcimg = '{0}mos2_srcimg{1}.ds' .format (prefix , sufix )
2424bkgspc = '{0}mos2_bkgspc{1}.ds' .format (prefix , sufix )
Original file line number Diff line number Diff line change 1818prefix = ""
1919sufix = ""
2020
21- table = 'pn_clean.ds'
21+ table = '../ pn_clean.ds'
2222srcspc = '{0}pn_srcspc{1}.ds' .format (prefix , sufix )
2323srcimg = '{0}pn_srcimg{1}.ds' .format (prefix , sufix )
2424bkgspc = '{0}pn_bkgspc{1}.ds' .format (prefix , sufix )
You can’t perform that action at this time.
0 commit comments