Bug fix for recombination
This commit is contained in:
@@ -13,8 +13,8 @@ def plotCurrentRVsR(filename_current, filename_density, output_folder, z_pos):
|
||||
prop_cycle = plt.rcParams['axes.prop_cycle']
|
||||
colors = prop_cycle.by_key()['color']
|
||||
|
||||
e_dict = {"key" : "/e-", "linestyle": '+-', "label": "e"}
|
||||
T3_dict = {"key" : "/T3+", "linestyle": '.-', "label": "T3+"}
|
||||
e_dict = {"key" : "/e-", "linestyle": '-', "marker":"+", "label": "e"}
|
||||
T3_dict = {"key" : "/T3+", "linestyle": '-', "marker":".", "label": "T3+"}
|
||||
dicts = [e_dict, T3_dict]
|
||||
|
||||
fig, ax = plt.subplots(figsize=pst.set_size('thesis'))
|
||||
@@ -29,7 +29,7 @@ def plotCurrentRVsR(filename_current, filename_density, output_folder, z_pos):
|
||||
plot_data = np.sum(j_total_r,2)[:,z_bin]
|
||||
plot_x = r_bins[1:]
|
||||
|
||||
ax.plot(plot_x*100, plot_data*1E-4, linestyle=d["linestyle"], label=d["label"])
|
||||
ax.plot(plot_x*100, plot_data*1E-4, linestyle=d["linestyle"], marker=d["marker"], label=d["label"])
|
||||
|
||||
ax.set_xlabel(r"Radius $r$ [cm]")
|
||||
ax.set_ylabel(r"Particle Current $j_r$ [$cm^{-2}s^{-1}$]")
|
||||
|
||||
@@ -2,19 +2,19 @@
|
||||
|
||||
<Parameters>
|
||||
<Geometry>
|
||||
<Length>1300</Length>
|
||||
<Length>1600</Length>
|
||||
<Radius>4.5</Radius>
|
||||
</Geometry>
|
||||
|
||||
<DensityGrid>
|
||||
<Bins>
|
||||
<R>10</R>
|
||||
<Z>16</Z>
|
||||
<R>15</R>
|
||||
<Z>2800</Z>
|
||||
</Bins>
|
||||
</DensityGrid>
|
||||
<Input>
|
||||
<Density>
|
||||
<Filename>./config/density.h5</Filename>
|
||||
<Filename>./config/zero_density.h5</Filename>
|
||||
<H5Path>/Density/total</H5Path>
|
||||
</Density>
|
||||
</Input>
|
||||
@@ -24,7 +24,7 @@
|
||||
<Boundary>
|
||||
<Rear>
|
||||
<Type>1</Type>
|
||||
<Potential>0.0</Potential>
|
||||
<Potential>0.0001</Potential>
|
||||
</Rear>
|
||||
<Tube>
|
||||
<Type>1</Type>
|
||||
@@ -42,21 +42,21 @@
|
||||
<Output>
|
||||
<Potential>
|
||||
<H5File>
|
||||
<Filename>./output/output.h5</Filename>
|
||||
<Filename>./output/rearwall.h5</Filename>
|
||||
<H5Group>/Potential</H5Group>
|
||||
<H5DatasetName>potential</H5DatasetName>
|
||||
</H5File>
|
||||
</Potential>
|
||||
<Density>
|
||||
<H5File>
|
||||
<Filename>./output/output.h5</Filename>
|
||||
<Filename>./output/rearwall.h5</Filename>
|
||||
<H5Group>/Density</H5Group>
|
||||
<H5DatasetName>density</H5DatasetName>
|
||||
</H5File>
|
||||
</Density>
|
||||
<Efield>
|
||||
<H5File>
|
||||
<Filename>./output/output.h5</Filename>
|
||||
<Filename>./output/rearwall.h5</Filename>
|
||||
<H5Group>/Efield</H5Group>
|
||||
<H5DatasetName>efield</H5DatasetName>
|
||||
</H5File>
|
||||
|
||||
Reference in New Issue
Block a user