da5nsy
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Versions and GitHub Sync Note Insights Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       owned this note    owned this note      
    Published Linked with GitHub
    Subscribed
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    Subscribe
    # How we work ## Kurt Code for separate analysis steps stored in separate github repos (preprocessing, analyses, paper, presentations). All of these binary folders are stored in "bin" folder. Data is divided into "raw" (should never be modified) and "derivatives" (e.g., preprocessed data, analysis output) folders. During data collection, we keep a human-readable document for notes about data quality (also on github). During preprocessing, I transfer the key to a notes to a "notes" column in a tsv file. The .tsv has other columns pointing to the various raw and reprocessed data files (tracking the various transformations applied to the data). I find it a nice blend of reproducibility, flexibility and automaticity. (I can easily find files used in a particular analysis and link to human readable notes. The tsv is also machine readable). I haven't (yet) found the paper I mentioned in lab meeting. A similar organizational scheme is described here: https://data.library.arizona.edu/data-management/best-practices/data-project-organization. I avoid file formats that might be difficult to read in the future (docx xlxs, .mat, .pkl), and favor simple text files (.txt., .md, .csv, .tsv). --- ## Danny Code is stored in project specific repos (e.g. https://github.com/conwaycolorlab/nafc / https://github.com/conwaycolorlab/MT1/) and then cloned on the server (`bc6:\PROJECTS\Causal Globs` / `bc6:\PROJECTS\Color_Shape_Contingency\MonkeyTurk_1`). There is a tension between what is the "official" source - which one is most up to date. My preference would be that it would be the github version, since that can then manage conflicts, but I've been trying to keep the server up to date based on a desire to: - keep an official "on site" version (which I think actually is a changing target now that github is officially endorsed) - allow access for those who are not as comfortable with git as I am The server version also has the data, and this is not synced to github (`Y:\PROJECTS\Causal Globs\.gitignore` includes the line `/data/` which means that the data folder is ignored. That means that if you want to run analyses you need to either copy the data you want into your local repo or run it on the server). This repo also has the logbooks for monkey training (a daily markdown file with a template, organised into folders by month and year, and with the filenames including the date and monkey name) - (https://github.com/conwaycolorlab/nAFC/tree/master/log / `bc6:\PROJECTS\Causal Globs\log`). Notebook - I keep a notebook on my personal machine (which is slightly naughty) and the plan is to create a sanitised copy to turn over to the NIH when I leave. I'm excited about having an "official" way to keep a digital notebook as part of the lab. --- ## Stuart For coding and displaying stimuli and color calibration scripts, everything is coded in Matlab and pushed to a repository to keep track of all scripts ever presented and also so that behavioral data/new scripts can be ported between the stimulus computer and my working computer. For Color Contrast Spatial Frequency: All code is just currently on the server and the computer, written in Python and Matlab. Files are linked by JSON through the Spencer-Stuart fMRI pipeline. fMRI pipeline is on a git repository. Generally I would just prefer a framework where any code and notes goes into a repository for that project, or, alternatively, the code is maintained in a repository for that tool, although we would then need to keep careful track of how that tool/pipeline was used. --- ## James Code (all languages) stored in personal GitHub repository during development. "Finished" projects are moved to the LSR repository. Supporting files (images, parameter files, etc) are handled in the same way. --- ## Felix Stimulus presentation code and calibration information is stored on the Kofiko drive, as well as on the data server in corresponding data folders. Analysis code for on-line analysis code is stored in the git-tracked Kofiko drive. My off-line analysis code is stored in my personal dropbox during development, as well as on UMD's box service. However, it would be easy to transfer more of the data alignment and analysis code to the relevant data folders on the lsr drives alongside the processed data. Bevil has in the past suggested that I keep a version fo the code that was used to process and analyze a dataset in the same folder as that dataset, which I think is potentially useful but might result in a lot of redundancy - but it does make a lot of sense for datasets with specific preprocessing needs (such as realizing that there was a lot of drift in an electrode, or that some aspect of data was not saved correctly). --- ## Marianne ### Code - Experimental code is grouped in repositories depending on the where it's used and/or the project: nif and rig have their own repo (not optimal to have 2 bc code very similar but that's how it is for now), macman human as well. All of it is in python. Not all equally well documented, not planning on, except human code when will be public when publication. - Analyses is a mess, only local (not on github). But Kurt has done most of the code for analyses. Maybe later will do analysis repo or add to the one Kurt has for common project. I however would make sure before a project is published that the code is available online. Also developped utilities for analyses but again, it has it's own messy structure for now and is not on github. ### Notes [talking here about notes regarding data collection] - For fMRI experiments: - on a md doc (github, project notes), diary style. - on a tsv file by session (should be stored on the server), that inputs IMA number, sequence, whether run was ok, name of the corresponding event file and potentially other useful stuff (percent fixation etc.) - additionnally for monkey: - small notes / diary on the monkey physical notebook for rig (only behavioral training) and whether there was MION injection - separate excel/tsv file to document monkey MION injection parameters (weight, qty, signal drop), locally on laptop for now. - for Rig (only behavior), notes are on the monkey physical notebook. ### Data For human and monkey fMRI, usually 3 files for each run: a tsv "event" file, an "eye-movement file" (edf for humans, binary from analog for monkey) and the dicoms. Additionally, a txt file for physiological measures for humans. All Data is transfered after each fMRI session on the server in the project folder (bc7/projects/macman_align) following a specific structure. Rig Data (only behavioral training for now anyways) is just stored on the rig linux computer (only used by me and Stuart) and not copied onto the server. ### Others I don't use other notes or else that I consider of interest to share, but let me know if there are things I haven't thought about. ---

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully