fernandoandreotti / fecgsyn

FECGSYN toolbox for ECG and fetal ECG simulation
http://www.fecgsyn.com/
GNU General Public License v3.0
80 stars 26 forks source link

Generating new Dataset- problem with saving ouputs #51

Closed rraccah closed 3 years ago

rraccah commented 3 years ago

Hi, I've run the following code in order to generate new data ( as shown in your examples):

param.fs = 1000; % data generation at 1kHz param.n = 15*param.fs; param.SNRfm = -3; % fetal maternal SNR param.SNRmn = 8; % maternal to noise SNR param.ntype = {'MA'}; % adding muscular artifact type noise param.noise_fct = {1}; % noise at constant SNR level debug = 5; % debug level (5 = max number of plots generated) out = run_ecg_generator(param,debug); FECGSYN_plotmix(out) % plots random channels of one of the created datasets

In the examples it's written that "The code will produce simulation files". I specified the desires path on the Matlab root with cd savedir but i don't get any simulation files. Could anyone help me out? Thank you in advance,

Rebecca

fernandoandreotti commented 3 years ago

Hi Rebecca,

I think the instructions were misleading, it does generate the out variable with simulations, but it does not save it anywhere by default. Please have a look at the documentation in of run_ecg_generator() https://github.com/fernandoandreotti/fecgsyn/blob/master/subfunctions/data-generation/run_ecg_generator.m

Best regards,

Fernando

rraccah commented 3 years ago

Thank you very much Fernando!

Sincerely, Rebecca

Get Outlook for iOShttps://aka.ms/o0ukef


From: Fernando Andreotti notifications@github.com Sent: Wednesday, December 23, 2020 8:57:38 PM To: fernandoandreotti/fecgsyn fecgsyn@noreply.github.com Cc: rraccah rebecca_raccah@hotmail.com; Author author@noreply.github.com Subject: Re: [fernandoandreotti/fecgsyn] Generating new Dataset- problem with saving ouputs (#51)

Hi Rebecca,

I think the instructions were misleading, it does generate the out variable with simulations, but it does not save it anywhere by default. Please have a look at the documentation in of run_ecg_generator() https://github.com/fernandoandreotti/fecgsyn/blob/master/subfunctions/data-generation/run_ecg_generator.m

Best regards,

Fernando

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/fernandoandreotti/fecgsyn/issues/51#issuecomment-750430307, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ASCTSFLTELMUL57K3EKMN5TSWI4SFANCNFSM4VECD7ZQ.