Research | Code | Communicating Science

Sharing research, code repositories and blog posts

About me

Hi! I’m Ceyda Sayalı. I’m a faculty member at Johns Hopkins University, Center for Psychedelic and Consciousness Research. My primary interest is in understanding the neurocognitive mechanisms underlying the therapeutic effects of psychedelic drugs. I use functional Magnetic Resonance Imaging (fMRI), Transcranial Magnetic Stimulation (TMS), electroencephalogram (EEG) and physiological measures (such as pupillometry) on healthy and patient populations (such as Parkinson’s Disease patients and patients with major depressive disorder) with and without pharmacological manipulations. In addition to my academic work, I aim to learn and participate in conversations about fostering diversity in academia, particularly in the field of biomedical sciences. On this webpage, you can find my publications, code repositories and posts about my research and professional experiences.

About our lab

The Psychedelic Neuroimaging and Neurostimulation Lab

Our lab integrates psychedelic drug administration with advanced neuroimaging, neurostimulation, and cognitive assessment tools to develop a precision-medicine framework for psychedelic-assisted interventions. Rather than treating psychedelic effects as broad or nonspecific, our approach is designed to identify measurable brain-based biomarkers, characterize disorder-relevant circuits, and evaluate how neuromodulation may help refine and personalize psychedelic-assisted interventions.

TMS-EEG allows us to directly perturb targeted brain circuits and measure the brain’s response with millisecond-level precision. This provides a unique window into biomarkers of cortical excitability, inhibition, connectivity, and neural complexity before, during, and after psychedelic administration. These measures can help identify which brain states predict therapeutic response and which neural mechanisms are engaged by psychedelic compounds.

Repetitive TMS provides a tool for actively modulating brain circuits implicated in psychiatric disorders. By pairing rTMS with psychedelic administration, we aim to evaluate whether brain stimulation can enhance the precision and durability of psychedelic-assisted interventions by engaging brain systems relevant to psychiatric symptoms and recovery. This combination-treatment approach has the potential to improve efficacy, extend durability, and increase the precision of psychedelic-assisted care.

Functional MRI allows us to map large-scale brain network dynamics and identify circuit-level biomarkers associated with symptoms, treatment response, and individual differences. fMRI also supports personalized targeting of stimulation sites, enabling us to move toward individualized interventions based on each person’s brain organization rather than one-size-fits-all treatment models.

Cognitive testing allows us to connect brain changes to clinically and functionally meaningful outcomes, including cognitive control, flexibility, creativity, belief updating, motivation, and adaptive behavior. These measures help determine whether changes in brain circuits translate into improved psychological flexibility, goal-directed behavior, and real-world functioning.

Together, these methods allow us to develop and test a new generation of psychedelic interventions that are biomarker-driven, circuit-targeted, and personalized. The goal is to move beyond administering psychedelics alone and toward rational combination treatments informed by biomarkers, brain-circuit measures, and clinically meaningful outcomes.

My research experience:

Undergraduate & lab manager at Koc University (2006-2013)

As an undergraduate in Istanbul, Turkey, I studied Psychology and Philosophy. My interests in cognitive neuroscience started through my extracurricular collaboration with work with Prof. Resit Canbeyli, from Bogazici University. Through this collaboration, I conducted experiments on Wistar rats that examined the relation between behavioral despair and learning, in an effort to define the behavioral effects of depression. My experience with this research filled my curiosity about the neurocognitive mechanisms underlying depression in humans. Therefore, I aimed to develop my skills in cognitive psychology and apply for a PhD program in cognitive neuroscience in the USA. Upon the receipt of my baccalaureate degree, I accepted a job offer from Koc University, as Dr. Fuat Balcı and Dr. Ilke Oztekin’s first lab manager for a nascent computational psychology lab. There, I gained training in Matlab programming and started comfortably coding new experiments and analyzing data, while simultaneously overseeing the challenges of opening a new lab. I collaborated with undergraduate and graduate students in the lab, over the course of two years. I was responsible for conducting and overseeing numerous research projects for both Dr. Oztekin on working memory and Dr. Balcı on time perception. During this time, I independently tested the dopamine based internal clock hypothesis in interval timing, and the role of feedback on working memory.

Ph.D. student employee at Brown University (2013-2018)

At Brown, I primarily worked with Dr. David Badre. I aimed to receive a deeper cognitive understanding of what might lead to apathy, a distinguishing symptom of depression. I realized that depressed patients place less subjective value on the same outcomes that healthy people find appealing. This leads to a lack of motivation to pursue these devalued outcomes (e.g. apathy). However, a common mechanism that affects both healthy and depressed individuals was demand avoidance: everyday decisions, like deciding to diligently review your analysis versus skimming it over before manuscript submission, are influenced by estimates of the cost of cognitive effort. Therefore, in order to understand the mechanisms underlying the costs/benefits associated with cognitive control, I developed a novel experimental demand avoidance paradigm and tested the neural mechanisms using fMRI underlying the learning of effort costs, the decision to avoid effort as well as a behavioral paradigm that delineated the source of cognitive effort costs

Postdoc at Donders Center for Cognitive Neuroimaging (2018-2021)

My findings during my PhD at Brown University informed me that ‘cost of cognitive control’ hypothesis of cognitive effort cannot fully account for all effort decisions and that individual differences underlie the evaluation of the same effort costs. To reconcile these findings, I designed a novel paradigm in my first postdoc, where I primarily worked with Prof. Roshan Cools (at Donders Institute, the Netherlands).  In my research with her, I adopted both objective and subjective measures to explain the cost/value associated with cognitive effort as a function of individual differences in trait-level affective states. I showed that what is underlying the link between task engagement and effortful tasks might be dynamic range that these tasks yield for minimization of performance accuracy prediction errors based on individual’s own capacity for a task, or in other words, the individual’s potential for performance improvement at that task. Moreover, pupil size, as a proxy for noradrenergic arousal tracked these performance improvements, boosting task-engagement.

Moreover, during my postdoc at Donders Institute, I aimed at receiving pharmacological intervention training. To do so, I collaborated with Dr. Rick Helmich who is both a researcher and a neurologist at the Parkinson Centre Nijmegen, works on motor and cognitive problems in Parkinson’s Disease (PD) patients, using neuroimaging and physiological measures. In my collaboration with him, I assessed cognitive deficits in PD patients as a function of dopaminergic drug manipulation using fMRI and a double-blind, randomized, within-subject design. 

Postdoc at Johns Hopkins University (2021-2024)

At the Center for Psychedelics and Consciousness Research, I primarily worked with Dr. Fred Barrett. In one project, using fMRI, we investigated the post-dose neurocognitive effects of psilocybin-assisted therapy on patients with concurrent major depressive disorder and alcohol use disorder in a randomized double-blind placebo-controlled within-subject design clinical trial. In another, using EEG, we tested the acute neurocognitive effects of psilocybin in healthy volunteers. We also asked methodological questions regarding the reproducibility of TMS evoked EEG signals.

Code on Github

On this page, you can find codes written mostly in Matlab and some in JavaScript, html and css. Some of my scripts are optimized for fMRI, some are optimized for EEG, some for TMS and some for pupillometry. Check out my repos and feel free to ask me questions!

Code repositories:

I publicly share my experimental scripts on Github. You can see a summary of my contributions here:

Parametric Effort Selection Task

This is a parametric effort selection task I developed during my Ph.D. at Brown University. This study is optimized for fMRI testing. You can run this game on Matlab with Psychtoolbox.

Optimal Effort task

This is a cognitive effort evaluation task I developed during my first postdoc at Donders Institute. This task is optimized for concurrent pupillometry use. You can run this task on Matlab with Psychtoolbox.

Optimal Effort task for online testing

The above Optimal Effort task is translated into Javascript, html and css, hosted by Gorilla.sc. You can also run this on your browser via Virtual Studio Code

Probabilistic Reward Learning

I also translate established experimental paradigms and post them on my Github. Probabilistic Reward Learning task is one of them! You can run this task using Matlab and Psychtoobox.

TMS noise click

Concurrent TMS-EEG recording can be tricky. One way to reduce auditory artifacts caused by TMS is to use noise masking. You can run this code using Matlab.

Alternative Uses Task

This is a creativity game adapted for EEG recording. You need Matlab, Psychtoolbox and a Biosemi device for this one.

Blog

Contact Me

Email: zsayali1[at]jhmi.edu