Skip to content

Provide high level Python constructs for re-use and integration into PsychoPy et al #160

Open
@yarikoptic

Description

@yarikoptic
  • create a simple demo based on a PsychoPy script example (e.g. https://github.com/peircej/psychopy/blob/7e266c3c63fe8262c034fbda8b169be1e41a24d3/psychopy/demos/coder/experiment%20control/fMRI_launchScan.py#L4) which would demonstrate use of our reprostim library for fingerprinting with QRcodes (and auditory cues) their experiments, in particular
    • the moment when first MRI trigger pulse has arrived
    • (optionally) somewhere in the middle of the run, between blocks of trials
    • the end of the experiment
  • common functionality (like our mkrec) should be moved from our
    logger.info("reprostim timesync-stimuli script started")
    into reprostim library for reuse, and we should
  • define an ENUM of known EVENT_TYPES codes to be used in the records, such as
    • MRI_TRIGGER_WAITING
    • MRI_TRIGGER_RECEIVED
    • SESSION_START
    • SESSION_END
    • see how small we could make it so may be it could be less intrusive. At least provide an option for user to scale, position (and colors?) so could be made less intrusive
    • define/recommend generic session information fields such as session, run, trial. Potentially define schema (pydantic?) to validate against

while implementing consider following issues

  • QR codes must not have factual date #29 so we might allow for some env var to provide a secret offset or otherwise record only time without date (so may be add add_date=False, and by default just do times without dates!)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions