Add difference plots w/ vs. w/o BBG and reset geometry

This commit is contained in:
2018-10-21 12:22:59 +02:00
parent 3ebabe98f8
commit fdcf093b93
12 changed files with 12 additions and 8 deletions

3
.gitignore vendored
View File

@@ -7,4 +7,5 @@ out*
slurm-*.out slurm-*.out
tmp tmp
runs runs
*.pyc
*.pyo

View File

@@ -125,7 +125,7 @@ c -------------------------------------------------------
c --------------- PHYSICS CARDS -------------------------- c --------------- PHYSICS CARDS --------------------------
c ------------------------------------------------------- c -------------------------------------------------------
c dbcn 375642321 j j j j j j j j j j j 15291711 c dbcn 375642321 j j j j j j j j j j j 15291711
nps 3e9 nps 2e9
c histp c histp
mode n p n h / d t s a mode n p n h / d t s a
c volume calculated for tally cells (spheres) c volume calculated for tally cells (spheres)

View File

@@ -137,9 +137,9 @@ c collimators
-1691 1690 -1691 1690
c c
c BBG beam top/beam bottom/outside c BBG beam top/beam bottom/outside
2001 4 -1.2E-3 2100 -2101 -2301 -2302 -2303 -2304 3 #701 2001 9 2.45e-05 2100 -2101 -2301 -2302 -2303 -2304 3 #701
2011 4 -1.2E-3 2100 -2101 -2301 -2302 -2305 -2306 3 2011 9 2.45e-05 2100 -2101 -2301 -2302 -2305 -2306 3
2021 4 -1.2E-3 2100 -2101 2201 2202 2203 2204 3 2021 14 -8.92 2100 -2101 2201 2202 2203 2204 3
(2301:2302:2303:2306:(2304 2305)) (2301:2302:2303:2306:(2304 2305))
c NFGA beam top c NFGA beam top
3001 0 3100 -3101 -3301 -3311 -3501 -3502 3001 0 3100 -3101 -3301 -3311 -3501 -3502

Binary file not shown.

After

Width:  |  Height:  |  Size: 121 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 123 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 122 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 123 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 122 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 123 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 123 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 122 KiB

View File

@@ -71,7 +71,8 @@ def plot_xy(outfile, res, zidx=5, Imin=1e-6, Imax=1e4, cticks=None):
ax.add_patch(Circle((0,0), radius=5.50, color='black', fill=False, lw=2)) ax.add_patch(Circle((0,0), radius=5.50, color='black', fill=False, lw=2))
ax.add_patch(Circle((0,0), radius=11.50, color='black', fill=False, lw=2)) ax.add_patch(Circle((0,0), radius=11.50, color='black', fill=False, lw=2))
ax.add_patch(Circle((0,0), radius=15.00, color='black', fill=False, lw=2)) ax.add_patch(Circle((0,0), radius=15.00, color='black', fill=False, lw=2))
fig.savefig(outfile, transparent=False, dpi=300) if outfile is not None:
fig.savefig(outfile, transparent=False, dpi=300)
def plot_xz(outfile, res, yidx=5, Imin=1e-6, Imax=1e4, cticks=None): def plot_xz(outfile, res, yidx=5, Imin=1e-6, Imax=1e4, cticks=None):
x,y,z,I,dI=res x,y,z,I,dI=res
@@ -91,7 +92,8 @@ def plot_xz(outfile, res, yidx=5, Imin=1e-6, Imax=1e4, cticks=None):
ax.plot([sqrt(5.5**2-ypos**2), sqrt(5.5**2-ypos**2)], [z.min()/100., z.max()/100.], color='black', lw=2) ax.plot([sqrt(5.5**2-ypos**2), sqrt(5.5**2-ypos**2)], [z.min()/100., z.max()/100.], color='black', lw=2)
ax.plot([sqrt(11.5**2-ypos**2), sqrt(11.5**2-ypos**2)], [z.min()/100., z.max()/100.], color='black', lw=2) ax.plot([sqrt(11.5**2-ypos**2), sqrt(11.5**2-ypos**2)], [z.min()/100., z.max()/100.], color='black', lw=2)
ax.plot([sqrt(15.0**2-ypos**2), sqrt(15.0**2-ypos**2)], [z.min()/100., z.max()/100.], color='black', lw=2) ax.plot([sqrt(15.0**2-ypos**2), sqrt(15.0**2-ypos**2)], [z.min()/100., z.max()/100.], color='black', lw=2)
fig.savefig(outfile, transparent=False, dpi=300) if outfile is not None:
fig.savefig(outfile, transparent=False, dpi=300)
def plot_yz(outfile, res, xidx=5, Imin=1e-6, Imax=1e4, cticks=None): def plot_yz(outfile, res, xidx=5, Imin=1e-6, Imax=1e4, cticks=None):
x,y,z,I,dI=res x,y,z,I,dI=res
@@ -107,7 +109,8 @@ def plot_yz(outfile, res, xidx=5, Imin=1e-6, Imax=1e4, cticks=None):
#fig.savefig(outfile) #fig.savefig(outfile)
#pc=p.get_facecolors() #pc=p.get_facecolors()
#pc[:,3]=where(I[xidx].T.flatten()>0, 0.9-0.25*dI[xidx].T.flatten(), 0.) #pc[:,3]=where(I[xidx].T.flatten()>0, 0.9-0.25*dI[xidx].T.flatten(), 0.)
fig.savefig(outfile, transparent=False, dpi=300) if outfile is not None:
fig.savefig(outfile, transparent=False, dpi=300)
if __name__=='__main__': if __name__=='__main__':
import sys, os import sys, os