Full data, code, and details for each script can be found at https://doi.org/10.5061/dryad.3xsj3txcf. Attached are modified versions of the pre-processing scripts that will more easily allow someone to pre-process their data using the least mean squares regression method.
To pre-process a raw doric FP file, open the script Basic_FP_Processing.m and change the directory to match the folder where your raw doric files are. Running the script will call calculateDF_F0.m and subtractReferenceAndSave.m, resulting in a .csv with the prefix "PROCESSED_" for each file processed. Inside this output file, there will be 4 columns: Time, Reference (DF/F0), Signal (DF/F0), and Corrected. Corrected is the difference between column 2 and 3. We analyzed the reference and signal channels separately instead of using the reference subtracted column.
If not using a Doric system, the required format of the data is a .csv with 3 columns: timestamps, reference channel, and signal channel. The z-scoring mentioned in the methods was done in the next step of the pipeline, and the function nanzscore was used (uploaded here).
Related files
Crouse et al pre-processing.zip
Copyright: Content may be subjected to copyright.
How to cite:
Readers should cite both the Bio-protocol preprint and the original research article where this protocol was used:
Crouse, R B(2020). Pre-processing of fiber photometry signal. Bio-protocol Preprint. bio-protocol.org/prep699.
Crouse, R. B., Kim, K., Batchelor, H. M., Girardi, E. M., Kamaletdinova, R., Chan, J., Rajebhosale, P., Pittenger, S. T., Role, L. W., Talmage, D. A., Jing, M., Li, Y., Gao, X., Mineur, Y. S. and Picciotto, M. R.(2020). Acetylcholine is released in the basolateral amygdala in response to predictors of reward and enhances the learning of cue-reward contingency. eLife. DOI: 10.7554/eLife.57335
Post your question to gather feedback from the community. We will also invite the authors of this
article to respond.
0/150
Tips for asking effective questions
+ Description
Write a detailed description. Include all information that will help others answer your question including experimental processes, conditions, and relevant images.
Spinning
Post a Question
0 Q&A
Spinning
This protocol preprint was submitted via the "Request
a Protocol" track.