TCDSolar / stixpy

STIX data analysis in python
https://stixpy.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
17 stars 20 forks source link

Modify get_hpc_info to optionally accept a start and end time and calculate mean over position data over this range #99

Closed samaloney closed 4 months ago

samaloney commented 5 months ago

Also compare IDL SAS solution for this event

time_range_sci=['2022-08-28T16:00:00.000','2022-08-28T16:03:59.575']
time_range_bkg=['2022-08-24T14:00:37.271','2022-08-24T14:50:17.271']
energy_range=[20,76]
solo_hpc_flare_loc=[-1043.12,-623.874]
stx_flare_loc=[-742.350,1030.53]
path_sci_file=os.path.join(data_folder,'solo_L1_stix-sci-xray-cpd_20220828T154401-20220828T161600_V02_2208284257-61808.fits')
path_bkg_file=os.path.join(data_folder,'solo_L1_stix-sci-xray-cpd_20220824T140037-20220824T145017_V02_2208242079-61784.fits')
uid = '2208284257'
pointing = [25.9, 58.2] * u.arcsec
samaloney commented 4 months ago

Closed by #111