-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated unit test and added test files
- Loading branch information
Showing
3 changed files
with
23 additions
and
6 deletions.
There are no files selected for viewing
Binary file not shown.
17 changes: 17 additions & 0 deletions
17
cosipy/test_data/inputs_crab_continuum_bg_estimation_testing.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#----------# | ||
# Data I/O: | ||
|
||
# data files available on the COSI Sharepoint: https://drive.google.com/drive/folders/1UdLfuLp9Fyk4dNussn1wt7WEOsTWrlQ6 | ||
# The tra file is the first 10 seconds of the crab sim from mini-DC2, | ||
# and the ori file is the corresponding ori from mini-DC2. | ||
data_file: "GalacticScan.inc1.id1.crab2hr.extracted.testsample.tra.gz" # full path | ||
ori_file: "/project/majello/astrohe/ckarwin/COSI/COSIpy_Development/Continuum_BG_Estimation/Run_1/Data_Files/20280301_3_month.ori" # full path | ||
unbinned_output: 'fits' # 'fits' or 'hdf5' | ||
time_bins: 2659985.0 # time bin size in seconds. Takes int, float, or list of bin edges. | ||
energy_bins: [100., 1000., 10000.] # Takes list. Needs to match response. | ||
phi_pix_size: 45 # binning of Compton scattering anlge [deg] | ||
nside: 1 # healpix binning of psi chi local | ||
scheme: 'ring' # healpix binning of psi chi local | ||
tmin: 1835487300.0 # Min time cut in seconds. | ||
tmax: 1843467255.0 # Max time cut in seconds. | ||
#----------# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters