Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parameter scan #12

Open
7 of 9 tasks
fiedl opened this issue Jan 26, 2018 · 42 comments
Open
7 of 9 tasks

Parameter scan #12

fiedl opened this issue Jan 26, 2018 · 42 comments
Labels
angular acceptance Angular-acceptance study

Comments

@fiedl
Copy link
Owner

fiedl commented Jan 26, 2018

We do not know the actual ice properties of the hole ice, yet.

How do the angular acceptance plots look like for different hole ice parameters?

Results

[2018-07-21 16:38:53] fiedl@fiedl-mbp ~/hole-ice-study/scripts/lib master ⚡
▶ ./plot_reference_curve_scan_contours.py ~/hole-ice-study/results/parameter_scan
best values:
  LLH: -633.315809421
  esca = 1.3m
  r = 1.0 r_dom

bildschirmfoto 2018-07-21 um 16 40 09

[2018-07-21 16:44:04] fiedl@fiedl-mbp ~/hole-ice-study/scripts/lib master ⚡
▶ ./plot_angular_acceptance.py ../../results/parameter_scan/esca1.0_r1.0rdom_abs100

bildschirmfoto 2018-07-21 um 16 45 25

@fiedl
Copy link
Owner Author

fiedl commented Jan 27, 2018

The angular acceptance plots do not look too well. In fact, they do not show any of the expected hole ice effects.

This is a plot with extreme hole ice parameters, i.e. almost instant scattering and absorption within the hole ice:

plot

A detailed scan of the right hand side region where the photons come from below the detector, i.e. where the hole ice effect should be max. Also increased distance to 10m to increase the effect. But this does not look too convincing as well:

plot

@fiedl
Copy link
Owner Author

fiedl commented Feb 1, 2018

There have been issues when running the simulation on the gpu cluster that needed to be resolved first: #14, #16

Now, the plot looks a lot more like expected. This is for abs=0.1, sca=0.1, dst=1.0m:

plot

@fiedl
Copy link
Owner Author

fiedl commented Feb 1, 2018

@fiedl
Copy link
Owner Author

fiedl commented Feb 6, 2018

fiedl added a commit that referenced this issue Feb 6, 2018
with interaction factors between 0 and 1. All at distance 1.0m.

#12
fiedl added a commit that referenced this issue Feb 6, 2018
with interaction factors between 0 and 1. All at distance 1.0m.

#12
@fiedl
Copy link
Owner Author

fiedl commented Mar 12, 2018

Parameter scan over scattering length and column radius

@fiedl
Copy link
Owner Author

fiedl commented Mar 12, 2018

Run on the cluster

[2018-03-12 15:29:08] fiedl@wgs16 /afs/ifh.de/group/amanda/scratch/fiedl/hole-ice-study master ⚡
▶ git pull

[2018-03-12 15:29:21] fiedl@wgs16 /afs/ifh.de/group/amanda/scratch/fiedl/clsim sf/hole-ice-2018
▶ git pull

[2018-03-12 15:29:50] fiedl@wgs16 /afs/ifh.de/group/amanda/scratch/fiedl/software/icecube-simulation-V05-00-07/debug_build
▶ ./env-shell.sh

[2018-03-12 15:30:46] fiedl@wgs16 /afs/ifh.de/group/amanda/scratch/fiedl/software/icecube-simulation-V05-00-07/debug_build/clsim
▶ make

[2018-03-12 15:36:21] fiedl@wgs16 /afs/ifh.de/group/amanda/scratch/fiedl/hole-ice-study/scripts/ParameterScan master ⚡
▶ ./run.rb --submit-to-cluster

fiedl added a commit that referenced this issue Mar 12, 2018
fiedl added a commit that referenced this issue Mar 12, 2018
fiedl added a commit that referenced this issue Mar 14, 2018
@fiedl
Copy link
Owner Author

fiedl commented Mar 14, 2018

best fit to reference plot:

plot_with_reference

{:cluster=>true,
 :hole_ice_scattering_length=>0.09000000000000008,
 :hole_ice_absorption_length=>100.0,
 :hole_ice_radius=>0.1651,
 :distance=>1.0,
 :plane_wave=>true,
 :number_of_photons=>100000.0,
 :number_of_runs=>2.0,
 :number_of_parallel_runs=>2.0,
 :angles=>[0, 10, 20, 30, 40, 50, 60, 70, 90, 120, 140, 150, 160, 170, 180],
 :run_id=>"Run-2018-hiHoh7uf",
 :started_at=>"2018-03-13 23:34:34 +0100",
 :gcd_file=>
  "$I3_TESTDATA/sim/GeoCalibDetectorStatus_IC86.55380_corrected.i3.gz",
 :ice_model_file=>"$I3_SRC/clsim/resources/ice/spice_mie",
 :seed=>123456,
 :hole_ice_cylinder_positions=>[[-256.02301025390625, -521.281982421875, 0]],
 :hole_ice_cylinder_radii=>[0.1651],
 :cylinder_scattering_lengths=>[0.09000000000000008],
 :cylinder_absorption_lengths=>[100.0],
 :hole_ice_radius_in_dom_radii=>1.0,
 :hole_ice_effective_scattering_length=>1.5,
 :dom_index=>[1, 1],
 :dom_position=>[-256.02301025390625, -521.281982421875, 500],
 :hole_ice=>:simulation,
 # ...
}

@fiedl
Copy link
Owner Author

fiedl commented Mar 14, 2018

Contour plot

Contour plot (#37) of parameter scan agreements with reference plot (#10, #6)

fiedl@fiedl-mbp ~/hole-ice-study/scripts/AngularAcceptance/lib master ⚡
▶ ./plot.rb ~/hole-ice-study/results/parameter_scan
▶ python create_contour_plot.py parameter_scan.txt

bildschirmfoto 2018-03-14 um 15 02 48

bildschirmfoto 2018-03-15 um 12 57 41

bildschirmfoto 2018-03-15 um 13 06 54

fiedl added a commit that referenced this issue Mar 15, 2018
to match contour plot axes

#12
@fiedl
Copy link
Owner Author

fiedl commented Mar 15, 2018

Simulation performance

For each parameter set, 30e5 photons are propagated (1e5 photons per run, 2 runs per angle, 15 angles).

bildschirmfoto 2018-03-15 um 15 59 29

As this looks more like fluctuations, the leading factor appears to be the specific cluster worker the job has run on.

@fiedl
Copy link
Owner Author

fiedl commented Jul 20, 2018

[2018-07-20 22:38:09] fiedl@kepler00 /afs/ifh.de/group/amanda/scratch/fiedl/hole-ice-study/scripts/ParameterScan
▶ git pull
▶ ./run.rb --submit-to-cluster

[2018-07-21 16:28:46] fiedl@wgs00 /afs/ifh.de/group/amanda/scratch/fiedl/hole-ice-study/scripts/ParameterScan
▶ rm -r $SCRATCH/hole-ice-study/results/parameter_scan/esca*
▶ mv cluster-results/esca* $SCRATCH/hole-ice-study/results/parameter_scan/

@fiedl
Copy link
Owner Author

fiedl commented Jul 21, 2018

[2018-07-21 16:36:20] fiedl@fiedl-mbp ~/hole-ice-study/scripts/lib master ⚡
▶ ./convert_options_txt_to_json.rb ~/hole-ice-study/results/parameter_scan
▶ ./calculate_reference_plot_llhs.py ~/hole-ice-study/results/parameter_scan

@fiedl
Copy link
Owner Author

fiedl commented Jul 21, 2018

[2018-07-21 16:38:53] fiedl@fiedl-mbp ~/hole-ice-study/scripts/lib master ⚡
▶ ./plot_reference_curve_scan_contours.py ~/hole-ice-study/results/parameter_scan
best values:
  LLH: -633.315809421
  esca = 1.3m
  r = 1.0 r_dom

bildschirmfoto 2018-07-21 um 16 40 09

@fiedl
Copy link
Owner Author

fiedl commented Jul 21, 2018

Best agreement:

[2018-07-21 16:40:21] fiedl@fiedl-mbp ~/hole-ice-study/scripts/lib master ⚡
▶ ./plot_angular_acceptance.py ../../results/parameter_scan/esca1.3_r1.0rdom_abs100

bildschirmfoto 2018-07-21 um 16 43 52

[2018-07-21 16:44:04] fiedl@fiedl-mbp ~/hole-ice-study/scripts/lib master ⚡
▶ ./plot_angular_acceptance.py ../../results/parameter_scan/esca1.0_r1.0rdom_abs100

bildschirmfoto 2018-07-21 um 16 45 25

@fiedl
Copy link
Owner Author

fiedl commented Jul 21, 2018

bottom right corner: strong hole ice

[2018-07-21 16:45:31] fiedl@fiedl-mbp ~/hole-ice-study/scripts/lib master ⚡
▶ ./plot_angular_acceptance.py ../../results/parameter_scan/esca0.2_r1.8rdom_abs100

bildschirmfoto 2018-07-21 um 17 14 23

@fiedl
Copy link
Owner Author

fiedl commented Jul 21, 2018

top left corner: weak hole ice

[2018-07-21 17:16:31] fiedl@fiedl-mbp ~/hole-ice-study/scripts/lib master ⚡
▶ ./plot_angular_acceptance.py ../../results/parameter_scan/esca3.0_r0.1rdom_abs100/

bildschirmfoto 2018-07-21 um 17 17 20

@fiedl
Copy link
Owner Author

fiedl commented Jul 21, 2018

upper right: when increasing the radius while increasing the scattering length, one effect strengthens while the other weakens the hole-ice effect. Thus, this is still a good agreement:

[2018-07-21 17:17:30] fiedl@fiedl-mbp ~/hole-ice-study/scripts/lib master ⚡
▶ ./plot_angular_acceptance.py ../../results/parameter_scan/esca2.8_r1.5rdom_abs100

bildschirmfoto 2018-07-21 um 17 18 35

@fiedl
Copy link
Owner Author

fiedl commented Jul 21, 2018

Another scan with pencil beam

As performance is now good, I'm retrying the pencil-beam scan.

  • Prepare run.rb for pencil beams
  • Rescan
  • Plot contours
  • Plot best angular-acceptance plot
  • Make sure to reset run.rb later to --plane-wave mode

fiedl added a commit that referenced this issue Jul 21, 2018
@fiedl
Copy link
Owner Author

fiedl commented Jul 21, 2018

[2018-07-21 17:37:46] fiedl@kepler00 /afs/ifh.de/group/amanda/scratch/fiedl/hole-ice-study/scripts/ParameterScan
▶ git pull
▶ ./run.rb --submit-to-cluster

[2018-07-21 18:43:24] fiedl@kepler00 /afs/ifh.de/group/amanda/scratch/fiedl/hole-ice-study/scripts/ParameterScan
▶ rm -r ../../results/parameter_scan_pencil_beam/esca*
▶ mv cluster-results/esca* ../../results/parameter_scan_pencil_beam/

fiedl added a commit that referenced this issue Jul 21, 2018
@fiedl
Copy link
Owner Author

fiedl commented Jul 21, 2018

[2018-07-21 18:56:19] fiedl@fiedl-mbp ~/hole-ice-study/scripts/lib master ⚡
▶ ./convert_options_txt_to_json.rb ../../results/parameter_scan_pencil_beam
▶ ./calculate_reference_plot_llhs.py ../../results/parameter_scan_pencil_beam

@fiedl
Copy link
Owner Author

fiedl commented Jul 21, 2018

[2018-07-21 19:00:51] fiedl@fiedl-mbp ~/hole-ice-study/scripts/lib master ⚡
▶ ./plot_reference_curve_scan_contours.py ~/hole-ice-study/results/parameter_scan_pencil_beam
best values:
  LLH: -5575.61508961
  esca = 3.5m
  r = 2.5 r_dom

bildschirmfoto 2018-07-21 um 19 03 33

Best values:

[2018-07-21 19:06:55] fiedl@fiedl-mbp ~/hole-ice-study/scripts/lib master ⚡
▶ ./plot_angular_acceptance.py ../../results/parameter_scan_pencil_beam/esca3.5_r2.5rdom_abs100

bildschirmfoto 2018-07-21 um 19 07 15

[2018-07-21 19:07:43] fiedl@fiedl-mbp ~/hole-ice-study/scripts/lib master ⚡
▶ ./plot_angular_acceptance.py ../../results/parameter_scan_pencil_beam/esca2.5_r1.5rdom_abs100

bildschirmfoto 2018-07-21 um 19 08 33

fiedl added a commit that referenced this issue Jul 21, 2018
@fiedl
Copy link
Owner Author

fiedl commented Jul 24, 2018

Starting photons from farther away

[2018-07-24 15:41:35] fiedl@trex01 /afs/ifh.de/group/amanda/scratch/fiedl/hole-ice-study/scripts/AngularAcceptance
▶ ./run.rb --cluster --hole-ice-scattering-length=0.06 --hole-ice-radius=0.1651 --distance=2.0 --number-of-photons=1e6 --number-of-runs=1 --number-of-parallel-runs=1 --angles=0,10,20,30,40,50,60,70,90,120,140,150,160,170,180 --plane-wave

@fiedl
Copy link
Owner Author

fiedl commented Jul 24, 2018

[2018-07-24 16:06:33] fiedl@fiedl-mbp ~/hole-ice-study/scripts/lib master ⚡
▶ ./convert_options_txt_to_json.rb ../AngularAcceptance/results/current
▶ ./plot_angular_acceptance.py ../AngularAcceptance/results/current

bildschirmfoto 2018-07-24 um 16 08 26

One would need another gauging simulation. But this plot already shows that on the left-hand side there are still too many hits.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
angular acceptance Angular-acceptance study
Projects
None yet
Development

No branches or pull requests

1 participant