Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New function hmrR_TaskNorm #192

Merged
merged 1 commit into from
Jan 17, 2024
Merged

Conversation

annfal
Copy link
Contributor

@annfal annfal commented Dec 21, 2023

% DESCRIPTION:
% Calculate the average of the HRF over the duration of the task with repetitions with different durations.
% Custom-made function by Anna Falivene for PhD Charlotte Johnson
%
% INPUT:
% dc: SNIRF.data container with the concentration data
% stim: SNIRF.stim container with the stimulus condition data
% deltat: defines the range before the onset and after the duration
% [tPre_onset tPost_duration]. Both positive (or null) values
% show: parameter to able/disable figure(). if show=0 no figure will
% appear, if =1 figures with the HBO and HBR concentration for each
% channel will appear
%
% OUTPUT:
% dcAvg: averaged results
% dcAvgStd: standard deviation across trials
% nTrials: the number of trials averaged
%
% USAGE OPTIONS:
% Stim_Normalization_on_Concentration_Data: [dcAvg, dcAvgStd, nTrials] = hmrR_StimNorm1(dc, stim, deltat, show )
%
% PARAMETERS:
% deltat: [0, 0]
% show: 1
%
% PREREQUISITES:
% Delta_OD_to_Conc: dc = hmrR_OD2Conc( dod, probe, ppf )

@sreekanthkura7 sreekanthkura7 merged commit 1773390 into BUNPC:development Jan 17, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants