Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
OrcaSong
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Machine Learning
OrcaSong
Commits
70e5b469
Commit
70e5b469
authored
6 years ago
by
ViaFerrata
Browse files
Options
Downloads
Patches
Plain Diff
Minor changes.
parent
1638a483
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
h5_data_to_h5_input.py
+2
-2
2 additions, 2 deletions
h5_data_to_h5_input.py
submit_h5_data_to_h5_input.sh
+5
-5
5 additions, 5 deletions
submit_h5_data_to_h5_input.sh
with
7 additions
and
7 deletions
h5_data_to_h5_input.py
+
2
−
2
View file @
70e5b469
...
...
@@ -117,8 +117,8 @@ def calculate_bin_edges(n_bins, geo_fix, fname_geo_limits, do4d):
return
x_bin_edges
,
y_bin_edges
,
z_bin_edges
def
main
(
n_bins
,
geo_fix
=
True
,
do2d
=
False
,
do2d_pdf
=
(
False
,
10
),
do3d
=
False
,
do4d
=
(
True
,
'
time
'
),
prod_ident
=
None
,
timecut
=
(
'
trigger_cluster
'
,
'
tight_1
'
),
do_mc_hits
=
False
,
use_calibrated_file
=
False
,
data_cuts
=
None
):
def
main
(
n_bins
,
geo_fix
=
True
,
do2d
=
False
,
do2d_pdf
=
(
False
,
10
),
do3d
=
False
,
do4d
=
(
True
,
'
time
'
),
prod_ident
=
None
,
timecut
=
(
'
trigger_cluster
'
,
'
tight_1
'
),
do_mc_hits
=
False
,
use_calibrated_file
=
False
,
data_cuts
=
None
):
"""
Main code. Reads raw .hdf5 files and creates 2D/3D histogram projections that can be used for a CNN
:param tuple(int) n_bins: Declares the number of bins that should be used for each dimension (x,y,z,t).
...
...
This diff is collapsed.
Click to expand it.
submit_h5_data_to_h5_input.sh
+
5
−
5
View file @
70e5b469
#!/bin/bash
#
#PBS -l nodes=1:ppn=4:sl32g,walltime=
4
:00:00
#PBS -l nodes=1:ppn=4:sl32g,walltime=
3
:00:00
#PBS -o /home/woody/capn/mppi033h/logs/submit_h5_to_histo_${PBS_JOBID}_${PBS_ARRAYID}.out -e /home/woody/capn/mppi033h/logs/submit_h5_to_histo_${PBS_JOBID}_${PBS_ARRAYID}.err
# first non-empty non-comment line ends PBS options
...
...
@@ -17,9 +17,9 @@ n=${PBS_ARRAYID}
CodeFolder
=
/home/woody/capn/mppi033h/Code/OrcaSong
cd
${
CodeFolder
}
ParticleType
=
muon-CC
#
ParticleType=muon-CC
#ParticleType=elec-CC
#
ParticleType=elec-NC
ParticleType
=
elec-NC
#ParticleType=tau-CC
# ----- 3-100GeV------
#FileName=JTE.KM3Sim.gseagen.muon-CC.3-100GeV-9.1E7-1bin-3.0gspec.ORCA115_9m_2016 #muon-CC
...
...
@@ -29,9 +29,9 @@ ParticleType=muon-CC
#HDFFOLDER=/home/woody/capn/mppi033h/Data/ORCA_JTE_NEMOWATER/raw_data/calibrated/with_jte_times/3-100GeV/${ParticleType}
# ----- 3-100GeV------
# ----- 1-5GeV------
FileName
=
JTE.KM3Sim.gseagen.muon-CC.1-5GeV-9.2E5-1bin-1.0gspec.ORCA115_9m_2016
#muon-CC
#FileName=JTE.KM3Sim.gseagen.elec-NC.1-5GeV-2.2E6-1bin-1.0gspec.ORCA115_9m_2016 #elec-NC
#FileName=JTE.KM3Sim.gseagen.muon-CC.1-5GeV-9.2E5-1bin-1.0gspec.ORCA115_9m_2016 #muon-CC
#FileName=JTE.KM3Sim.gseagen.elec-CC.1-5GeV-2.7E5-1bin-1.0gspec.ORCA115_9m_2016 #elec-CC
FileName
=
JTE.KM3Sim.gseagen.elec-NC.1-5GeV-2.2E6-1bin-1.0gspec.ORCA115_9m_2016
#elec-NC
HDFFOLDER
=
/home/woody/capn/mppi033h/Data/ORCA_JTE_NEMOWATER/raw_data/calibrated/with_jte_times/1-5GeV/
${
ParticleType
}
# ----- 1-5GeV------
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment