Hi Laura,

The HCP experiments create a pop-up at the start of the run if only one screen 
was detected and recommend that you cancel, but allow you to continue if you 
want. In that case, the RA window will still be created, but because the 
participant window has a higher priority (technically, it accesses the screen 
in “full-screen” mode so it can’t be drawn over) you won’t see the instructions 
on the RA window. If that’s sufficient, you should feel free to just use that, 
or comment out line 24 to stop getting the pop-up:

# hcpcommon.checkScreenCount()

The code to write to the RA window is scattered throughout the task in many 
different code components, so unfortunately it’s not an easy fix to actually 
turn it off without doing some work.

Both the Practice and Scan versions are generated from the same .psyexp file, 
and we hadn’t included them in the main download because the script that builds 
the various versions is one extra layer of complexity that we wanted to avoid. 
The method to do this is to compile / export CARIT.psyexp to CARIT.py, and then 
run patch/createPracticeAndScan.sh to patch CARIT.py into practice and scan 
versions. However, if you’re adapting the psyexp, you may not even need to do 
this and could just use the exported CARIT.py without patches or just extract 
the code into your own psyexp.

I’m attaching a link to the development version which contains the psyexp in 
the hopes it will be helpful. 
https://www.dropbox.com/sh/cj5vi38els0ep6x/AACKYpsuk2-7alSpk9Rm_dhqa?dl=0

A few things to note:

- Many of the instruction routines use timings based in seconds, but stim 
presentation within the task itself timing is done by frames to be accurate and 
avoid slippage, so you’ll see both t (seconds) and frameN used as stimuli 
duration. Code for setting durations is in the “trial” routine, “drawShapeCode” 
component, “Begin experiment”.

- The frame counts are calculated from checking the framerate, which can be a 
little tenuous. There are some routines to measure and re-measure in order to 
get a good estimate, but it should still be considered a heuristic. There’s no 
reason to limit it to effectively 60-120Hz besides that’s what we were using.

- The png’s were matched directly to a previous version of the CARIT and so are 
drawn as images and not vector shapes.

- This psyexp is saved in 1.83.04 - future versions of psychopy should be able 
to read it, but if you save it out again you may not be able to use 1.83.04 to 
open it. Also note that psychopy 1.90 was a major jump, so if you have strange 
errors try a 1.8X version.

Good luck! Hopefully this helps get you started,

Erik



On May 1, 2018, at 2:44 PM, Laura Crocker 
<[email protected]<mailto:[email protected]>> wrote:

Thank you for your response - I'll check into the possibility of hiding the RA 
displays, particularly if Erik has any guidance about that.

I was able to download the task files from the website but the .psyexp files 
are not part of the downloaded files (just the .py code and associated files 
for running the task). The README document said the .psyexp files are available 
upon request so I was hoping to use those to facilitate creating a 
single-screen version.

Thank you!

Laura

On Tue, May 1, 2018 at 11:24 AM, Burgess, Gregory 
<[email protected]<mailto:[email protected]>> wrote:
The scripts are currently available for download at:
https://www.humanconnectome.org/study/hcp-lifespan-aging/project-protocol/task-protocols-hcp-aging<https://urldefense.proofpoint.com/v2/url?u=https-3A__www.humanconnectome.org_study_hcp-2Dlifespan-2Daging_project-2Dprotocol_task-2Dprotocols-2Dhcp-2Daging&d=DwMFaQ&c=WO-RGvefibhHBZq3fL85hQ&r=-wfcdVLVpaZweEbEV8fGzgBVUPwr4S58P5ilPrlqdj8&m=oPopu0q6D1s_GzOPhSJyx2dUCNmW8E0pGYrf6-2niAE&s=PgiWwlnK1dpaIv0BZzRu9YydTL0q_A5ZlYAq14QMHo8&e=>
https://www.humanconnectome.org/study/hcp-lifespan-development/project-protocol/task-protocols-hcp-development<https://urldefense.proofpoint.com/v2/url?u=https-3A__www.humanconnectome.org_study_hcp-2Dlifespan-2Ddevelopment_project-2Dprotocol_task-2Dprotocols-2Dhcp-2Ddevelopment&d=DwMFaQ&c=WO-RGvefibhHBZq3fL85hQ&r=-wfcdVLVpaZweEbEV8fGzgBVUPwr4S58P5ilPrlqdj8&m=oPopu0q6D1s_GzOPhSJyx2dUCNmW8E0pGYrf6-2niAE&s=NOudLNfXugQinftZV4gj8Djo2pQMfFl6902ApbZL4Rc&e=>

Currently, there is not a single-screen version of the HCP-Lifespan tasks. It’s 
possible that the scripts would be easy to edit to “hide” the RA displays on 
the second monitor behind the participant display on the primary monitor. But, 
I’ll ask Erik to comment about that specifically.

--Greg

____________________________________________________________________
Greg Burgess, Ph.D.
Staff Scientist, Human Connectome Project
Washington University School of Medicine
Department of Psychiatry
Phone: 314-362-7864
Email: [email protected]<mailto:[email protected]>

On Apr 30, 2018, at 6:43 PM, Laura Crocker 
<[email protected]<mailto:[email protected]>> wrote:

Hi all,

I am writing with a couple of questions about the CARIT task that is being used 
in the HCP Development and Aging projects. I am hoping to use the CARIT to 
implement the regular Go/Nogo task (without the reward aspect) in a VA-funded 
project involving PTSD treatment (scanning will be done at the UCSD imaging 
center).

I was wondering if a version of the task using a single monitor has become 
available since the task was posted on the HCP website?

If not, I read in the README file that the Psyexp files are available upon 
request to this mailing list and was hoping to request them.

Thank you so much,

Laura Crocker, Ph.D.


_______________________________________________
HCP-Users mailing list
[email protected]<mailto:[email protected]>
http://lists.humanconnectome.org/mailman/listinfo/hcp-users<https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.humanconnectome.org_mailman_listinfo_hcp-2Dusers&d=DwMFaQ&c=WO-RGvefibhHBZq3fL85hQ&r=-wfcdVLVpaZweEbEV8fGzgBVUPwr4S58P5ilPrlqdj8&m=oPopu0q6D1s_GzOPhSJyx2dUCNmW8E0pGYrf6-2niAE&s=frLQkgdjB5Pz_4HZJqB74GBTffgehvJ40d6nvfgUgY4&e=>



________________________________
The materials in this message are private and may contain Protected Healthcare 
Information or other information of a sensitive nature. If you are not the 
intended recipient, be advised that any unauthorized use, disclosure, copying 
or the taking of any action in reliance on the contents of this information is 
strictly prohibited. If you have received this email in error, please 
immediately notify the sender via telephone or return mail.



_______________________________________________
HCP-Users mailing list
[email protected]
http://lists.humanconnectome.org/mailman/listinfo/hcp-users

Reply via email to