Hi all,
A bit of an open ended question, but what are my options if I wanted to try and automate how I run allpix?
A bit of context: my current simulations are focused on calculating the charge collection efficiency (as well as other variables) from the movement of charges placed in a sensor using [DepositionPointCharge]. In particular, I’m interested in how the CCE changes depending on how deep in the sensor I place the charges. Right now, I place the charges using the “standard” method:
[DepositionPointCharge]
source_type = "point"
model = "fixed"
position = 0um 151um 0um
number_of_charges = 1000
output_plots = 1
where the position is done using the positon
key in the [DepositionPointCharge] module. I don’t think this works very well if I wanted to simulate depositing the charges at 100 different depths. I’ve seen other posts in the forums have commands that look something like:
allpix -c config.conf -o ModuleName.module_variable=value
but I don’t think that would work very well for position
since it requires 3 inputs? If there was an easy way to change the z-position on its own, it would make my job much easier, since I could automate the process with a bash script or a python program. Without it, I might have to resort to automatically making a set of 100 config files, which then will be used one-by-one.
Cheers,
Damir