I have updated Arrayed_Analysis_Tools.ipy to allow the MassRangeReductionStrategy to be executed remotely on the OpenMSI webserver directly as part of the data request. From the basic tests I have run this seems to speed up the data load usually by 6-10x. The changes are fairly simple and could be easily ported to Arrayed_Analysis_Tools_python_2_or_3.ipy as well. The main changes are:
Extended MassRangeReductionStrategy to add a function to define the JSON string that describes the reduction operation to be performed remotely
Updated the PeakArea, PeakHeight, and AreaNearPeak strategies to define the equivalent remote operations
Extended the getArrayedImage(...) function to optionally allow reductions to be performed remotely. A user may choose to disable the feature by setting "remoteReduce=False", but by default the reduction is done remotely if possible
The notebooks are not effected by these changes, i.e., you can run the notebooks as usual.
I have updated Arrayed_Analysis_Tools.ipy to allow the MassRangeReductionStrategy to be executed remotely on the OpenMSI webserver directly as part of the data request. From the basic tests I have run this seems to speed up the data load usually by 6-10x. The changes are fairly simple and could be easily ported to Arrayed_Analysis_Tools_python_2_or_3.ipy as well. The main changes are:
The notebooks are not effected by these changes, i.e., you can run the notebooks as usual.