<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="https://stage.nitrcce.org/themes/nitrc3.0/css/rss.xsl.php?feed=https://stage.nitrcce.org/export/rss20_forum.php?forum_id=3567" ?>
<?xml-stylesheet type="text/css" href="https://stage.nitrcce.org/themes/nitrc3.0/css/rss.css" ?>
<rss version="2.0"> <channel>
  <title>NITRC C-PAC Forum: c-pac</title>
  <link>http://stage.nitrcce.org/forum/forum.php?forum_id=3567</link>
  <description>For discussion about the Configurable Pipeline for the Analysis of Connectomes</description>
  <language>en-us</language>
  <copyright>Copyright 2000-2026 NITRC OSI</copyright>
  <webMaster></webMaster>
  <lastBuildDate>Sat, 11 Apr 2026 5:07:40 GMT</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>NITRC RSS generator</generator>
  <item>
   <title>Questions regarding C-PAC nuisance signal regression</title>
   <link>http://stage.nitrcce.org/forum/forum.php?thread_id=13264&amp;forum_id=3567</link>
   <description>Hi everyone,&lt;br /&gt;
&lt;br /&gt;
I hope someone can help me with two issues regarding NSR in C-PAC.&lt;br /&gt;
&lt;br /&gt;
(a) The first once concerns the order of the NSR steps implemented in the default C-PAC pipeline. I think all the desired steps (e.g. aCompCor, motion correction, GSR etc.) are performed simultaneously and not in a modular/step-wise fashion but can anyone confirm this is correct? An additional step that can be performed after or before regression is the band-pass filtering.&lt;br /&gt;
&lt;br /&gt;
(b) The second issue concerns global signal regression. As CSF and WM contain some variance related to GSR, it appears possible that CompCor may actually account for some correction similar to GSR. This would of course be related to how the CSF and WM look like, and it seems that the default pipeline includes erosion (thus minimizing a possible effect). But it's unclear to me what the level of erosion is (e.g., 30mm?). For instance, there is some evidence that eroding the WM twice and CSF four times removes the risk of unwilling correcting for global signal (Power et al., 2017: https://doi.org/10.1016/j.neuroimage.2016.09.038). I'm trying to avoid the possibility of regressing the global signal &amp;quot;twice&amp;quot;, once via CompCor and once via GSR, as I have both active in my pipeline. Is there a risk of this? The CSF and WM masks used in the NSR also appear to have a high threshold (0.95), so I am uncertain whether additional erosion procedures (i.e., in addition to the default) are necessary. I am also uncertain how the default erosion (30mm) corresponds to masks twice or four times eroded, like mentioned in the Power paper referenced above.&lt;br /&gt;
&lt;br /&gt;
I'd really appreciate your help!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Cheers,&lt;br /&gt;
Mihai</description>
   <author>mihai_avram</author>
   <pubDate>Mon, 07 Mar 2022 7:34:11 GMT</pubDate>
   <guid>http://stage.nitrcce.org/forum/forum.php?thread_id=13264&amp;forum_id=3567</guid>
  </item>
  <item>
   <title>CPAC failed on example data</title>
   <link>http://stage.nitrcce.org/forum/forum.php?thread_id=13241&amp;forum_id=3567</link>
   <description>Hi, &lt;br /&gt;
&lt;br /&gt;
I am trying to run cpac with only one subject for testing purpose.&lt;br /&gt;
&lt;br /&gt;
My data is organized in BIDS format as below:&lt;br /&gt;
&lt;br /&gt;
ram/USERS/xin/BrainImaging_UNC/cpac_test/sub-0003107/func/*.nii&lt;br /&gt;
ram/USERS/xin/BrainImaging_UNC/cpac_test/sub-0003107/func/*.json&lt;br /&gt;
and &lt;br /&gt;
ram/USERS/xin/BrainImaging_UNC/cpac_test/sub-0003107/anat/*.nii&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
OSError: Didn't find any files in /ram/USERS/xin/BrainImaging_UNC/cpac_test. Please verify that the path is typed correctly, that you have read access to the directory, and that it is not empty.&lt;br /&gt;
&lt;br /&gt;
I used hard link to copy the file to cpac_test. Is this the reason for not finding the files?&lt;br /&gt;
Thank you!&lt;br /&gt;
&lt;br /&gt;
Best,&lt;br /&gt;
Xin</description>
   <author>Xin Niu</author>
   <pubDate>Fri, 25 Feb 2022 22:08:08 GMT</pubDate>
   <guid>http://stage.nitrcce.org/forum/forum.php?thread_id=13241&amp;forum_id=3567</guid>
  </item>
  <item>
   <title>M-SDB</title>
   <link>http://stage.nitrcce.org/forum/forum.php?thread_id=12262&amp;forum_id=3567</link>
   <description>Hello.&lt;br /&gt;
I have a question as to what M-SDB stands for. My c-pac output directories get named in the following way: _selector_CSF-2mmE-M_aC-CSF+WM-2mm-DPC5_[b]M-SDB[/b]_P-2_BP-B0.01-T0.1&lt;br /&gt;
&lt;br /&gt;
I understand which regressors each of the letters stand for except for M-SDB (in bold). I am guessing it is related to motion and the Friston 24-Parameter Model. I was hoping for confirmation that it means that motion-related artifacts were regressed out during the preprocessing and that I would not need to regress them out during the subsequent statistical analysis step.&lt;br /&gt;
 &lt;br /&gt;
My regressors from the pipeline config file are listed below:&lt;br /&gt;
- Bandpass:&lt;br /&gt;
bottom_frequency: 0.01&lt;br /&gt;
top_frequency: 0.1&lt;br /&gt;
CerebrospinalFluid:&lt;br /&gt;
erode_mask: true&lt;br /&gt;
extraction_resolution: 2&lt;br /&gt;
summary: Mean&lt;br /&gt;
Motion:&lt;br /&gt;
include_delayed: true&lt;br /&gt;
include_delayed_squared: true&lt;br /&gt;
include_squared: true&lt;br /&gt;
PolyOrt:&lt;br /&gt;
degree: 2&lt;br /&gt;
aCompCor:&lt;br /&gt;
extraction_resolution: 2&lt;br /&gt;
summary:&lt;br /&gt;
components: 5&lt;br /&gt;
method: DetrendPC&lt;br /&gt;
tissues:&lt;br /&gt;
- WhiteMatter&lt;br /&gt;
- CerebrospinalFluid&lt;br /&gt;
&lt;br /&gt;
Thank you.</description>
   <author>mk7kc</author>
   <pubDate>Fri, 26 Mar 2021 16:55:26 GMT</pubDate>
   <guid>http://stage.nitrcce.org/forum/forum.php?thread_id=12262&amp;forum_id=3567</guid>
  </item>
  <item>
   <title>C-PAC slow runtime</title>
   <link>http://stage.nitrcce.org/forum/forum.php?thread_id=11096&amp;forum_id=3567</link>
   <description>Hi all,&lt;br /&gt;
&lt;br /&gt;
Before installing C-PAC,I've ran the old Fcon1000 preprocessing script on some FCon1000 data. Onmy machine (Win10+WSL), it took ~7 mins per scan. &lt;br /&gt;
Moving to C-PAC (installed via docker), running the default pipeline on the same data took ~1 HOUR per scan.&lt;br /&gt;
&lt;br /&gt;
Does it make sense, have you experienced something similar?&lt;br /&gt;
Is there any explanation for the full order of magnitude change slow down?&lt;br /&gt;
Is there something I may not be doing correctly?&lt;br /&gt;
&lt;br /&gt;
Thank you</description>
   <author>Uri Elias</author>
   <pubDate>Sat, 21 Mar 2020 9:38:53 GMT</pubDate>
   <guid>http://stage.nitrcce.org/forum/forum.php?thread_id=11096&amp;forum_id=3567</guid>
  </item>
  <item>
   <title>Postdoctoral position: fMRI in OCD at Nathan Kline Institute (New York)</title>
   <link>http://stage.nitrcce.org/forum/forum.php?thread_id=9359&amp;forum_id=3567</link>
   <description>Please see the below advertisement for a postdoctoral position studying the neural mechanisms of obsessive-compulsive disorder using fMRI at the Nathan Kline Institute!&lt;br /&gt;
&lt;br /&gt;
[b]Post-doctoral Fellowship in Neuroimaging in Obsessive-Compulsive and Related Disorders[/b]&lt;br /&gt;
[b]Psychiatric NeuroCognition Lab[/b]&lt;br /&gt;
[b]The Nathan S. Kline Institute for Psychiatric Research (Orangeburg, NY)[/b]&lt;br /&gt;
[b]&lt;br /&gt;
[/b]&lt;br /&gt;
The Psychiatric NeuroCognition laboratory, under the direction of Dr. Emily Stern at the Nathan S. Kline Institute for Psychiatric Research, is seeking a post-doctoral fellow to work on projects investigating brain function and structure in obsessive-compulsive disorder (OCD) using task-based fMRI, resting-state functional connectivity, and diffusion imaging approaches. Broadly speaking, the lab's work uses a cognitive neuroscience approach to investigating brain function in psychiatric disorders, with a focus on using fMRI to tap into core constructs relevant for OCD and related disorders including interoception, rumination, decision-making, and reward processing. The person in this position will primarily work on two ongoing NIMH funded projects using fMRI to investigate neural mechanisms of sensory and other key symptoms in OCD, including a clinical trial in OCD and Tourette's Disorder testing the effects of a novel treatment on symptoms and brain function. In addition to working on these funded studies, there will also be opportunity for the fellow to develop new studies and/or analyses relevant to the lab's work and to obtain pilot research funding offered through the institute.&lt;br /&gt;
&lt;br /&gt;
NKI is a research facility of the New York State Office of Mental Health, one of only two state-funded research institutes in the U.S. dedicated entirely to investigating biological mechanisms and treatments for psychiatric disorders. NKI was founded in 1952 by Dr. Nathan Kline, whose pioneering research into psychopharmacological management of schizophrenia and major depression revolutionized treatments for serious mental illness. The Psychiatric NeuroCognition lab is part of the Clinical Research Department at NKI, which contains several investigators, trainees, and staff working on studies examining treatments and biomarkers in a variety of disorders (depression, schizophrenia, autism spectrum disorder). Research facilities at NKI include a 3T Siemens MRI scanner for human neuroimaging, an MRI-compatible EEG system, and equipment for advanced neuromodulation techniques including transcranial magnetic stimulation and transcranial direct current stimulation. NKI also has an active animal research program with a 7T small animal scanner. For the past 30 years, NKI's academic affiliate has been the New York University School of Medicine (NYUSoM) located in midtown Manhattan, and investigators and trainees at NKI have access to many of NYUSoM's research tools and resources.&lt;br /&gt;
&lt;br /&gt;
Approximately 20 miles north of Manhattan, NKI is located in suburban Rockland County (in Orangeburg, NY), home to many beautiful hiking and cycling trails overlooking the Hudson River. Although several towns in Rockland County are accessible to Manhattan via public transportation on New Jersey Transit, a driver's license and access to a car is highly recommended for anyone considering this position.&lt;br /&gt;
&lt;br /&gt;
Interested candidates should meet the follow criteria:&lt;br /&gt;
&lt;br /&gt;
[b]Required:[/b]&lt;br /&gt;
&amp;quot;	Ph.D. in experimental psychology, clinical psychology, or cognitive neuroscience&lt;br /&gt;
&amp;quot;	Moderate or better proficiency with functional MRI data analysis and presentation&lt;br /&gt;
&lt;br /&gt;
[b]Other desirable qualifications:[/b]&lt;br /&gt;
&amp;quot;	Strong interest in psychiatric disorders and applying cognitive neuroscientific techniques to OCD and related disorders&lt;br /&gt;
&amp;quot;	Track record of publishing and presenting fMRI data&lt;br /&gt;
&amp;quot;	Experience with 2 or more standard fMRI packages for data processing (SPM, FSL, AFNI, Conn, Freesurfer, DPABI/DPARSF, C-PAC) and/or experience with both task-based and resting-state functional connectivity methods&lt;br /&gt;
&amp;quot;	Experience with task programing software such as EPrime, Presentation, or PsychoPy&lt;br /&gt;
&amp;quot;	Good knowledge of basic statistical concepts and approaches&lt;br /&gt;
&amp;quot;	Experience with (or desire to learn) basic programming in MATLAB, bash, and/or python&lt;br /&gt;
&amp;quot;	Knowledge or experience in psychiatric/psychological assessment and diagnosis would be a plus but is not required&lt;br /&gt;
&lt;br /&gt;
[b]Duties of the position include:[/b]&lt;br /&gt;
&amp;quot;	Managing and analyzing task-activation and functional connectivity data, programming fMRI and behavioral experiments, running subjects through experimental protocols&lt;br /&gt;
&amp;quot;	Reading the literature and publishing behavioral and neuroimaging findings in top tier journals&lt;br /&gt;
&amp;quot;	Presenting results at conferences and seminars&lt;br /&gt;
&amp;quot;	Developing new studies or analyses relevant for the ongoing work in the lab and applying for pilot and post-doctoral grants to support this work&lt;br /&gt;
&amp;quot;	Assisting with grant applications, NIH progress reports, and IRB applications&lt;br /&gt;
&amp;quot;	Assisting in the training of junior lab members including research coordinators and interns&lt;br /&gt;
&lt;br /&gt;
Salary is competitive and commensurate with experience. Fellows would be employed by the Research Foundation for Mental Health (RFMH), which offers a full benefits package with medical and dental benefits. The position starts immediately and is for 1 year initially, with the opportunity to extend based on performance. Applications should be emailed to [b]fmripostdocnki@gmail.com[/b] ('fmri' and 'postdoc' and 'nki') and include a cover letter, CV, and the names and contact information for two referees.</description>
   <author>Emily Stern</author>
   <pubDate>Wed, 06 Jun 2018 20:52:45 GMT</pubDate>
   <guid>http://stage.nitrcce.org/forum/forum.php?thread_id=9359&amp;forum_id=3567</guid>
  </item>
  <item>
   <title>RE: CPAC Benchmark Download?</title>
   <link>http://stage.nitrcce.org/forum/forum.php?thread_id=4853&amp;forum_id=3567</link>
   <description>Hi,&lt;br /&gt;
&lt;br /&gt;
I had the same problem when I tried to download the CPAC benchmark data. The error message says, &amp;quot;Access Denied. Please contact your web hosting service provider for assistance.&amp;quot; Could CPAC staff help me download the data?&lt;br /&gt;
&lt;br /&gt;
Thanks, and Happy New Year!&lt;br /&gt;
&lt;br /&gt;
Jane</description>
   <author>Jane Zhang</author>
   <pubDate>Sat, 31 Dec 2016 16:44:53 GMT</pubDate>
   <guid>http://stage.nitrcce.org/forum/forum.php?thread_id=4853&amp;forum_id=3567</guid>
  </item>
  <item>
   <title>Problems with portalocker.py</title>
   <link>http://stage.nitrcce.org/forum/forum.php?thread_id=6538&amp;forum_id=3567</link>
   <description>Hi CPAC guys/gals:&lt;br /&gt;
&lt;br /&gt;
A couple of months ago I asked about problems getting file locks when CPAC calls portalocker.py. You directed me to the Nipype folks who wrote the routine.  I didn't get very far with them (and also have had to focus on other tasks for a while) so I am just now turning back to you. The problem is that portalocker.py uses the flock method when calling for locks, and flock apparently doesn't work with NFS. So I attempted to modify portalocker.py on our system so that it uses fcntl.lockf() instead. No luck. Still getting an Exception #37 (&amp;quot;No locks available&amp;quot;). (I've attached the modified version of portalocker.py... my changes are indicated with a &amp;quot;CF&amp;quot; comment.)&lt;br /&gt;
&lt;br /&gt;
We also tried giving the various NFS servers the &amp;quot;nolock&amp;quot; attribute, which I gather should allow simultaneous locking of the log file, as along as the different users are on separate machines. (I'm not sure if this helps exactly, as the two accesses could very likely originate on the same machine.)&lt;br /&gt;
&lt;br /&gt;
Could you offer any suggestions?&lt;br /&gt;
&lt;br /&gt;
Thanks very much, &lt;br /&gt;
Christina Fales&lt;br /&gt;
Div. of Psychiatry Research&lt;br /&gt;
Feinstein Inst for Med Rsch&lt;br /&gt;
Zucker Hillside Hospital&lt;br /&gt;
265-31 76th Avenue&lt;br /&gt;
Glen Oaks, NY 11004</description>
   <author>Christina Fales</author>
   <pubDate>Fri, 19 Feb 2016 19:32:58 GMT</pubDate>
   <guid>http://stage.nitrcce.org/forum/forum.php?thread_id=6538&amp;forum_id=3567</guid>
  </item>
  <item>
   <title>RE: CPAC Benchmark Download?</title>
   <link>http://stage.nitrcce.org/forum/forum.php?thread_id=4853&amp;forum_id=3567</link>
   <description>Can I be granted access to the dataset to test my installation?</description>
   <author>Chris Webb</author>
   <pubDate>Fri, 01 May 2015 15:39:14 GMT</pubDate>
   <guid>http://stage.nitrcce.org/forum/forum.php?thread_id=4853&amp;forum_id=3567</guid>
  </item>
  <item>
   <title>RE: Running cpac: paths/dependencies?</title>
   <link>http://stage.nitrcce.org/forum/forum.php?thread_id=4937&amp;forum_id=3567</link>
   <description>I think I found the problem; &lt;br /&gt;
chmod -R 777 ~/.matplotlib&lt;br /&gt;
&lt;br /&gt;
But I found this by re-installing cpac using: ./cpac_install.sh&lt;br /&gt;
&lt;br /&gt;
it's now working with just cpac_gui.</description>
   <author>Naj Mahani</author>
   <pubDate>Fri, 07 Nov 2014 16:06:17 GMT</pubDate>
   <guid>http://stage.nitrcce.org/forum/forum.php?thread_id=4937&amp;forum_id=3567</guid>
  </item>
  <item>
   <title>Running cpac: paths/dependencies?</title>
   <link>http://stage.nitrcce.org/forum/forum.php?thread_id=4937&amp;forum_id=3567</link>
   <description>Hi&lt;br /&gt;
&lt;br /&gt;
I am hoping someone can tell me what it is I am doing wrong and how I can debug myself :)&lt;br /&gt;
&lt;br /&gt;
I have tried to follow the installation instructions on the githu (http://fcp-indi.github.io/docs/user/install.html); and I run into the following problem:&lt;br /&gt;
[color=#800000][b]1) When running cpac_gui, I get: (Yes I have installed afni)[/b][/color]&lt;br /&gt;
Traceback (most recent call last):&lt;br /&gt;
File &amp;quot;/usr/local/bin/cpac_gui&amp;quot;, line 3, in&lt;br /&gt;
import CPAC&lt;br /&gt;
File &amp;quot;/usr/local/lib/python2.7/dist-packages/CPAC/__init__.py&amp;quot;, line 18, in&lt;br /&gt;
import anat_preproc, \&lt;br /&gt;
File &amp;quot;/usr/local/lib/python2.7/dist-packages/CPAC/anat_preproc/__init__.py&amp;quot;, line 1, in&lt;br /&gt;
from anat_preproc import create_anat_preproc&lt;br /&gt;
File &amp;quot;/usr/local/lib/python2.7/dist-packages/CPAC/anat_preproc/anat_preproc.py&amp;quot;, line 2, in&lt;br /&gt;
from nipype.interfaces.afni import preprocess&lt;br /&gt;
ImportError: No module named nipype.interfaces.afni&lt;br /&gt;
I suspect this has to do with incompatible paths, but I am not sure how to fix that actually.&lt;br /&gt;
&lt;br /&gt;
[color=#800000]2) I wrote a py script (cpac.py) consisting of the following commands (pointing to the right path)[/color]&lt;br /&gt;
[color=#800000]import sys[/color]&lt;br /&gt;
[color=#800000]sys.path.insert(0,'/custom/path/to/isolated_nipype/site-packages')[/color]&lt;br /&gt;
[color=#800000]sys.path.insert(0,'/custom/path/to/isolated_CPAC/site-packages')[/color]&lt;br /&gt;
[color=#800000]import nipype[/color]&lt;br /&gt;
[color=#800000]import CPAC[/color]&lt;br /&gt;
[color=#800000]CPAC.GUI.run()[/color]&lt;br /&gt;
&lt;br /&gt;
[color=#800000]this gets cpac_gui run; but[b] only through sudo!![/b][/color]&lt;br /&gt;
&lt;br /&gt;
Without sudo I got the following:&lt;br /&gt;
&lt;br /&gt;
Traceback (most recent call last):&lt;br /&gt;
File &amp;quot;cpac.py&amp;quot;, line 6, in&lt;br /&gt;
import CPAC&lt;br /&gt;
File &amp;quot;/opt/cpac/lib/python2.7/site-packages/CPAC/__init__.py&amp;quot;, line 18, in&lt;br /&gt;
import anat_preproc, \&lt;br /&gt;
File &amp;quot;/opt/cpac/lib/python2.7/site-packages/CPAC/qc/__init__.py&amp;quot;, line 1, in&lt;br /&gt;
from .utils import *&lt;br /&gt;
File &amp;quot;/opt/cpac/lib/python2.7/site-packages/CPAC/qc/utils.py&amp;quot;, line 3, in&lt;br /&gt;
import matplotlib&lt;br /&gt;
File &amp;quot;/usr/lib/pymodules/python2.7/matplotlib/__init__.py&amp;quot;, line 774, in&lt;br /&gt;
rcParams = rc_params()&lt;br /&gt;
File &amp;quot;/usr/lib/pymodules/python2.7/matplotlib/__init__.py&amp;quot;, line 692, in rc_params&lt;br /&gt;
fname = matplotlib_fname()&lt;br /&gt;
File &amp;quot;/usr/lib/pymodules/python2.7/matplotlib/__init__.py&amp;quot;, line 604, in matplotlib_fname&lt;br /&gt;
fname = os.path.join(get_configdir(), 'matplotlibrc')&lt;br /&gt;
File &amp;quot;/usr/lib/pymodules/python2.7/matplotlib/__init__.py&amp;quot;, line 253, in wrapper&lt;br /&gt;
ret = func(*args, **kwargs)&lt;br /&gt;
File &amp;quot;/usr/lib/pymodules/python2.7/matplotlib/__init__.py&amp;quot;, line 475, in _get_configdir&lt;br /&gt;
raise RuntimeError(&amp;quot;'%s' is not a writable dir; you must set %s/.matplotlib to be a writable dir.  You can also set environment variable MPLCONFIGDIR to any writable directory where you want matplotlib data stored &amp;quot;% (h, h))&lt;br /&gt;
RuntimeError: '/home/nmahani' is not a writable dir; you must set /home/naj/.matplotlib to be a writable dir.  You can also set environment variable MPLCONFIGDIR to any writable directory where you want matplotlib data stored&lt;br /&gt;
&lt;br /&gt;
Much thanks</description>
   <author>Naj Mahani</author>
   <pubDate>Wed, 05 Nov 2014 20:51:51 GMT</pubDate>
   <guid>http://stage.nitrcce.org/forum/forum.php?thread_id=4937&amp;forum_id=3567</guid>
  </item>
 </channel>
</rss>
