Sometimes its useful to load the exact parameters used in a function.
This function is provisional, as it relies on a hack: dependence between the specific ordering of cells in a created trial source and where to stop executing a trial's source if just loading its parameters. That's a bit of spooky action at a distance.
It also has all the uncertainty of unpickling an object in a different environment/version of python. A better implementation would be to actually pickle the parameters rather than search through the source for the code that creates them.
Sometimes its useful to load the exact parameters used in a function.
This function is provisional, as it relies on a hack: dependence between the specific ordering of cells in a created trial source and where to stop executing a trial's source if just loading its parameters. That's a bit of spooky action at a distance.
It also has all the uncertainty of unpickling an object in a different environment/version of python. A better implementation would be to actually pickle the parameters rather than search through the source for the code that creates them.
Thus, this is a WIP