You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@colehurwitz
The way one can control amplitude distribution i(or anything else) is the following:
# load templates
tempgen = mr.load_templates("path-to-h5")
# define a custom way to select the templates you want, e.g. by imposing amplitude distributions, locations, etc
templates = tempgen.templates
my_template_ids = my_function_to_select_template_idxs(templates)
# generate the recording with the pre-selected templates
recgen = mr.generate_recording(tempgen=tempgen, params=your_params, template_ids=my_template_ids)
This will skip the internal template selection and directly use the provided template indices.
Request by Liam Paninski
The text was updated successfully, but these errors were encountered: