<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Selective Sapience - Medium]]></title>
        <description><![CDATA[My corner of the internet where I share ideas, code, and experiences - Medium]]></description>
        <link>https://medium.com/selective-sapience?source=rss----a4873e49d20c---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Selective Sapience - Medium</title>
            <link>https://medium.com/selective-sapience?source=rss----a4873e49d20c---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 20:22:46 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/selective-sapience" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Bio]]></title>
            <link>https://medium.com/selective-sapience/taylor-hanayik-bio-6c15cad63f8a?source=rss----a4873e49d20c---4</link>
            <guid isPermaLink="false">https://medium.com/p/6c15cad63f8a</guid>
            <category><![CDATA[brain]]></category>
            <category><![CDATA[personal]]></category>
            <category><![CDATA[careers]]></category>
            <category><![CDATA[taylor-hanayik]]></category>
            <category><![CDATA[biography]]></category>
            <dc:creator><![CDATA[Taylor Hanayik]]></dc:creator>
            <pubDate>Sun, 11 Feb 2018 16:25:59 GMT</pubDate>
            <atom:updated>2018-05-28T18:56:49.555Z</atom:updated>
            <content:encoded><![CDATA[<p>I am a natural born problem solver, with an intense drive to search for the best solutions to tough questions. I often consider obstacles in both my personal life and work life puzzles to be solved with unrelenting ferocity.</p><p>I am a neuropsychologist, which is someone who specializes in studying and understanding the relationship between brain anatomy and behavior. My work is motivated by observing behavior impairments in clinical populations such as stroke survivors and those who have had a traumatic brain injury. I use many different MRI brain imaging techniques to explore how the brain is both functionally and structurally organized. Most of my research interests center around the core concept of perception, and more specifically, understanding the different brain networks that support different perceptual abilities. What we perceive is a large part of how we choose to behave and interact with the world, and difficulties arise when brain damage diminishes our perceptual abilities as evidenced by syndromes such as visual neglect, or receptive aphasia. By trying to understand the influence of brain damage (or disruption) on behavior, we can also start building a better understanding of how the brain is organized, and how it operates in generally healthy people as well.</p><p>Over the course of my scientific career I have gained a great respect for the complexity of studying this intricate relationship between brain and behavior. Through the years I have developed a diverse skill set to compliment my many interests. I routinely create new software for my work in neuroimaging and cognitive behavioral testing, and various hobby projects. A large portion of these skills are applicable to many fields, and I consider my diversified, technical, problem-solving abilities a strength in many settings.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fupscri.be%2Fc006f4%3Fas_embed%3Dtrue&amp;dntp=1&amp;url=https%3A%2F%2Fupscri.be%2Fc006f4%2F&amp;image=https%3A%2F%2Fe.enpose.co%2F%3Fkey%3DdRXnS9Gplk%26w%3D700%26h%3D425%26url%3Dhttps%253A%252F%252Fupscri.be%252Fc006f4%252F%253Fenpose&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=upscri" width="800" height="400" frameborder="0" scrolling="no"><a href="https://medium.com/media/b3198cbc4946484848a0fafc00cd8ce7/href">https://medium.com/media/b3198cbc4946484848a0fafc00cd8ce7/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*VKmY51wpPrELOV4nMmVokQ.png" /><figcaption>A picture of me ;)</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6c15cad63f8a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/selective-sapience/taylor-hanayik-bio-6c15cad63f8a">Bio</a> was originally published in <a href="https://medium.com/selective-sapience">Selective Sapience</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to use FSL brain extraction]]></title>
            <link>https://medium.com/selective-sapience/how-to-use-fsl-brain-extraction-9a83aa100796?source=rss----a4873e49d20c---4</link>
            <guid isPermaLink="false">https://medium.com/p/9a83aa100796</guid>
            <category><![CDATA[brain]]></category>
            <category><![CDATA[fsl]]></category>
            <category><![CDATA[science]]></category>
            <category><![CDATA[how-to]]></category>
            <category><![CDATA[mri]]></category>
            <dc:creator><![CDATA[Taylor Hanayik]]></dc:creator>
            <pubDate>Sun, 11 Feb 2018 01:47:40 GMT</pubDate>
            <atom:updated>2018-02-11T01:50:18.473Z</atom:updated>
            <content:encoded><![CDATA[<p>One of the most common tools in brain research is the MRI machine. An MRI enables researchers to collect images (usually in 3D) of our participant’s or patient’s brain. Once we have those images we then have to heavily process them to get usable data to answer our scientific questions.</p><p>One of the first processing steps in many brain imaging analysis workflows is to extract the brain tissue from inside the skull. This is necessary when we collect high resolution anatomical scans commonly referred to as “T1-weighted” images. These images do contain the brain, but also other tissues (bone, skin, fat, air) and anatomy (neck, upper spinal cord, eyes, mouth) that we don’t really need when studying the brain’s structure and function. Therefore it’s best to extract only the brain related tissue so that we can use it in all future analysis steps.</p><p>Below, you will see my original anatomical image (T1-weighted), along with my brain extracted image and the steps used to extract the brain.</p><h3>Original image</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Pz1iMT2vmNlcDZ9JjtiIBg.png" /><figcaption>Original high resolution T1w image (no processing done yet)</figcaption></figure><h3>Brain extraction command explained</h3><p>To perform brain extraction using <a href="https://fsl.fmrib.ox.ac.uk/fsl/fslwiki">FSL</a> you can use either the graphical interface, or you can use the command line (Terminal app on MacOS or Ubuntu Linux). This how-to guide assumes you have FSL installed. If you don’t, then it’s best to stop reading here and go do that first. I’ll be using the command line to perform brain extraction in this guide.</p><pre>Usage: bet &lt;input_file_name&gt; &lt;output_file_name&gt; [options]</pre><pre>bet T1.nii T1_brain.nii -R -f 0.3 -o</pre><p>The above command bet takes an image containing brain+other tissue (skull, neck, etc.), and outputs the brain extracted image. The -R option instructs the program to use its robust method, which iterates the entire process multiple times. The -f 0.3 option sets what the developers call fractional intensity threshold. Basically, the number can range from 0 to 1, and smaller numbers result in larger brain outlines. So setting this number to something small, like 0.1 will result in a very conservatively extracted brain image, which might still include some unwanted non-brain tissue. Setting the fractional intensity to a larger value (e.g. 0.9) will result in an extremely strict brain extraction, which risks chopping of edges of cortex that are actually brain tissue. Usually midrange values work best. Lastly, the -o option tells the program to output an overlay image, which is great for QA (quality assurance). This overlay image allows you to see how well your extraction worked, and check if the process has accidentally stripped off brain tissue that you might actually have wanted.</p><p>Below, you can see the brain extracted image and the QA overlay image.</p><h3>Brain extracted image</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*b8eUDHiJs9lOLqQ6IQ8tYQ.png" /><figcaption>Brain extracted image using settings -R -f 0.3 -o</figcaption></figure><h3>QA overlay image</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_t7gAAZBlDpNDAxfjv2Y4w.png" /><figcaption>Original image with the brain outline overlayed in bright white</figcaption></figure><p>That’s it for for brain extraction with FSL! Generally, it’s a pretty straightforward process, and sets you up for success in later processing steps. Just keep in mind that it’s important to check the results, or the overlay file using the -o option since every brain is different. The same settings may not apply to every image you use the bet tool on.</p><p>Make sure to follow my writings and this publication for future how-to articles!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9a83aa100796" width="1" height="1" alt=""><hr><p><a href="https://medium.com/selective-sapience/how-to-use-fsl-brain-extraction-9a83aa100796">How to use FSL brain extraction</a> was originally published in <a href="https://medium.com/selective-sapience">Selective Sapience</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[PsychAdapt: A Method for Maintaining Performance During Perception Tasks]]></title>
            <link>https://medium.com/selective-sapience/psychadapt-a-method-for-maintaining-performance-during-perception-tasks-bab5e83168b8?source=rss----a4873e49d20c---4</link>
            <guid isPermaLink="false">https://medium.com/p/bab5e83168b8</guid>
            <category><![CDATA[psychadapt]]></category>
            <category><![CDATA[perception]]></category>
            <category><![CDATA[psychology]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[methods]]></category>
            <dc:creator><![CDATA[Taylor Hanayik]]></dc:creator>
            <pubDate>Fri, 01 Dec 2017 19:03:14 GMT</pubDate>
            <atom:updated>2018-02-11T14:34:18.633Z</atom:updated>
            <content:encoded><![CDATA[<p>Often times in perception research we may wish to have participants respond to stimuli with a certain level of accuracy. Typically, most experimenters will use one of various methods (Weibull function, logistic function, etc.) to estimate a participant’s threshold at a given detection level, and stop the estimation after a certain criteria has been met (i.e number of reversals).</p><p>For example, one may choose to estimate a participant’s threshold of detection or discrimination performance at 75%, and then continuously present stimuli at that level in order to fit the needs of the experiment. However, the predicted stimulus threshold at 75% may not remain constant. This can be due to a variety of reasons such as participants becoming more familiar with a task, or fatigue effects that may arise over the course of a lengthy perception experiment.</p><p>Therefore, simply estimating a threshold for a given level of performance and testing at that level is not good enough. The task must be able to adapt to changes in participant performance for the duration of the experiment. Perceptual adaptation methods do exist, and are routinely used in sensation and perception research. However, many of these methods were developed to estimate a participant’s <em>threshold</em> for a given stimulus, but not necessarily <em>maintain</em> <em>a</em> <em>continuous level of difficulty</em>. These methods, such as PEST, staircase procedures, and QUEST are all reasonable, and proven methods at estimating stimulus thresholds for various tasks. They just weren’t designed to maintain task performance for the entirety of an experiment (as measured by % accurate answers).</p><p><a href="https://github.com/hanayik/PsychAdapt">PsychAdapt</a> was designed specifically to estimate stimulus thresholds at any level of accuracy using a logistic psychometric function, and crucially, to maintain that level of accuracy by continuously sampling at points around the predicted threshold level. Another key aspect of PsychAdapt is that it updates the logistic model after every trial therefore continuously adapting to changes in a participant’s performance while still maintaining a given level of accuracy, and therefore, average task difficulty.</p><p>If you’re interested in using PsychAdapt, or want to try it out, just download it from my Github page (linked below) and see what you can do with it. Keep in mind that PsychAdapt is currently under active development and the code may change rapidly or in unexpected ways. I’ll try to keep things from breaking as much as possible though.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*v2cJg_IzYoIVGUyQyUtO5w.png" /><figcaption>Real data from a psychAdapt training session during a temporal perception experiment. The horizontal dotted line represents the 75% accurate point, and the vertical dotted line represents the participant’s estimated threshold at that level.</figcaption></figure><p><a href="https://github.com/hanayik/PsychAdapt">hanayik/PsychAdapt</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bab5e83168b8" width="1" height="1" alt=""><hr><p><a href="https://medium.com/selective-sapience/psychadapt-a-method-for-maintaining-performance-during-perception-tasks-bab5e83168b8">PsychAdapt: A Method for Maintaining Performance During Perception Tasks</a> was originally published in <a href="https://medium.com/selective-sapience">Selective Sapience</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>