Commit 87dd92f1 authored by JGlombitza's avatar JGlombitza
Browse files

v1.2

parent 173cff8b
......@@ -4,6 +4,9 @@ import tensorflow as tf
import norm
Folder = './RawData' # Path to simulated shower packages
if not os.path.exists('Data_preprocessed'):
os.makedirs('Data_preprocessed')
log_dir = './Data_preprocessed' # Path to preprocessed shower packages
filenames =glob.glob(Folder + "/showers-*")
a = 10000 # packagesize
......
import numpy as np
from airshower import shower, utils, plotting
import argparse
import os
parser = argparse.ArgumentParser()
parser.add_argument("--mass", default=1, type=int, help='mass number')
......@@ -9,6 +9,9 @@ parser.add_argument("--nfiles", default=10, type=int, help='number of files')
parser.add_argument("--nevents", default=10000, type=int, help='number of events per file')
args = parser.parse_args()
if not os.path.exists('RawData'):
os.makedirs('RawData')
print 'Simulating'
print 'A', args.mass
print 'nfiles', args.nfiles
......
Markdown is supported
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