Using the logger#

EMD has a built in logger which can be tuned to print out the progress of an analysis to the console, to a file or both.

Logger Basics#

The logger must be initialised by calling emd.logger.set_up. All subsequent calls to functions in the EMD library will then print output messages according to the logger specification.

# sphinx_gallery_thumbnail_path = '_static/emd_logger_thumb.png'

# Import numpy for later
import numpy as np

# Import EMD and initialise the logger
import emd
emd.logger.set_up()

Out:

EMD Logger Started
EMD v0.5.4 installed in /home/docs/checkouts/readthedocs.org/user_builds/emd/envs/stable/lib/python3.7/site-packages/emd-0.5.4-py3.7.egg/emd

The detail of logger output can be tuned by changing the logger level. The available levels are CRITICAL (only print output when the program is about to crash), WARNING (only print output when something unusual is happening or an analysis is potentially wrong), INFO (print general statements about which processes are running) and DEBUG (print loads of info including details of computations).

The default level is INFO, so if we re-initialise the logger on DEBUG we get more detailed outputs

emd.logger.set_up(level='DEBUG')

Out:

EMD logger: handler 'console' level set to 'DEBUG'
EMD Logger Started
EMD v0.5.4 installed in /home/docs/checkouts/readthedocs.org/user_builds/emd/envs/stable/lib/python3.7/site-packages/emd-0.5.4-py3.7.egg/emd

Lets explore the logger by running some a few sifts. Here we create a simple simulated oscillation and run a standard sift with default options.

# Initialise the logger with default settings (level=INFO)
emd.logger.set_up(level='INFO')

# Generate a simulation
peak_freq = 12
sample_rate = 512
seconds = 10
noise_std = .5
x = emd.simulate.ar_oscillator(peak_freq, sample_rate, seconds, noise_std=noise_std, random_seed=42, r=.99)

# Run a standard sift
imf = emd.sift.sift(x)

Out:

EMD logger: handler 'console' level set to 'INFO'
EMD Logger Started
STARTED: sift
sifting IMF : 0
sifting IMF : 1
sifting IMF : 2
sifting IMF : 3
sifting IMF : 4
sifting IMF : 5
sifting IMF : 6
sifting IMF : 7
sifting IMF : 8
COMPLETED: sift

With the level on INFO the logger tells us that the sift is running but not much else. If we change the logger level to DEBUG we get more output about how the sift is performing.

The level of an initialised logger can be changed using emd.logger.set_level.

emd.logger.set_level('DEBUG')

# Run a standard sift
imf = emd.sift.sift(x)

Out:

EMD logger: handler 'console' level set to 'DEBUG'
STARTED: sift
Input data size: 5120
Input Sift Args: {}
Checking sift inputs - Trimming trailing singletons from input 'X' (input size (5120, 1))
sifting IMF : 0
Checking get_next_imf inputs - Trimming trailing singletons from input 'X' (input size (5120, 1))
Interpolating 'both' with method 'splrep'
found 1644 minima and 1644 maxima on mode both
Padding 2 extrema in signal X (5120,) using method 'rilling'
L: max earlier than min, first val smaller than first min
R: max earlier than min, last val larger than last max
SD-thresh stop metric evaluated at iter 1 is : 0.8503234928175579
Interpolating 'both' with method 'splrep'
found 1743 minima and 1743 maxima on mode both
Padding 2 extrema in signal X (5120,) using method 'rilling'
L: max earlier than min, first val smaller than first min
R: max earlier than min, last val smaller than last max
Sift stopped by SD-thresh in 2 iters with sd 0.05912961381300473
sifting IMF : 1
Checking get_next_imf inputs - Trimming trailing singletons from input 'X' (input size (5120, 1))
Interpolating 'both' with method 'splrep'
found 528 minima and 529 maxima on mode both
Padding 2 extrema in signal X (5120,) using method 'rilling'
L: max earlier than min, first val larger than first min
R: max later than min, last val larger than last min
SD-thresh stop metric evaluated at iter 1 is : 0.7883266752335433
Interpolating 'both' with method 'splrep'
found 650 minima and 651 maxima on mode both
Padding 2 extrema in signal X (5120,) using method 'rilling'
L: max earlier than min, first val larger than first min
R: max later than min, last val larger than last min
SD-thresh stop metric evaluated at iter 2 is : 0.44544594665881665
Interpolating 'both' with method 'splrep'
found 680 minima and 681 maxima on mode both
Padding 2 extrema in signal X (5120,) using method 'rilling'
L: max earlier than min, first val larger than first min
R: max later than min, last val larger than last min
SD-thresh stop metric evaluated at iter 3 is : 0.30105440876003253
Interpolating 'both' with method 'splrep'
found 689 minima and 690 maxima on mode both
Padding 2 extrema in signal X (5120,) using method 'rilling'
L: max earlier than min, first val larger than first min
R: max later than min, last val larger than last min
SD-thresh stop metric evaluated at iter 4 is : 0.3362422481419782
Interpolating 'both' with method 'splrep'
found 698 minima and 698 maxima on mode both
Padding 2 extrema in signal X (5120,) using method 'rilling'
L: max earlier than min, first val larger than first min
R: max earlier than min, last val larger than last max
Sift stopped by SD-thresh in 5 iters with sd 0.09993983800151848
sifting IMF : 2
Checking get_next_imf inputs - Trimming trailing singletons from input 'X' (input size (5120, 1))
Interpolating 'both' with method 'splrep'
found 167 minima and 166 maxima on mode both
Padding 2 extrema in signal X (5120,) using method 'rilling'
L: max later than min, first val smaller than first max
R: max earlier than min, last val smaller than last max
Sift stopped by SD-thresh in 1 iters with sd 0.0838378649656717
sifting IMF : 3
Checking get_next_imf inputs - Trimming trailing singletons from input 'X' (input size (5120, 1))
Interpolating 'both' with method 'splrep'
found 67 minima and 68 maxima on mode both
Padding 2 extrema in signal X (5120,) using method 'rilling'
L: max earlier than min, first val smaller than first min
R: max later than min, last val larger than last min
SD-thresh stop metric evaluated at iter 1 is : 0.2683436146557755
Interpolating 'both' with method 'splrep'
found 68 minima and 69 maxima on mode both
Padding 2 extrema in signal X (5120,) using method 'rilling'
L: max earlier than min, first val smaller than first min
R: max later than min, last val larger than last min
Sift stopped by SD-thresh in 2 iters with sd 0.02431110353181207
sifting IMF : 4
Checking get_next_imf inputs - Trimming trailing singletons from input 'X' (input size (5120, 1))
Interpolating 'both' with method 'splrep'
found 28 minima and 29 maxima on mode both
Padding 2 extrema in signal X (5120,) using method 'rilling'
L: max earlier than min, first val smaller than first min
R: max later than min, last val larger than last min
SD-thresh stop metric evaluated at iter 1 is : 0.2760307532207548
Interpolating 'both' with method 'splrep'
found 28 minima and 29 maxima on mode both
Padding 2 extrema in signal X (5120,) using method 'rilling'
L: max earlier than min, first val smaller than first min
R: max later than min, last val larger than last min
Sift stopped by SD-thresh in 2 iters with sd 0.019853670164612494
sifting IMF : 5
Checking get_next_imf inputs - Trimming trailing singletons from input 'X' (input size (5120, 1))
Interpolating 'both' with method 'splrep'
found 11 minima and 11 maxima on mode both
Padding 2 extrema in signal X (5120,) using method 'rilling'
L: max earlier than min, first val smaller than first min
R: max earlier than min, last val larger than last max
SD-thresh stop metric evaluated at iter 1 is : 0.13870359889706044
Interpolating 'both' with method 'splrep'
found 11 minima and 11 maxima on mode both
Padding 2 extrema in signal X (5120,) using method 'rilling'
L: max earlier than min, first val smaller than first min
R: max earlier than min, last val larger than last max
Sift stopped by SD-thresh in 2 iters with sd 0.014514130327429774
sifting IMF : 6
Checking get_next_imf inputs - Trimming trailing singletons from input 'X' (input size (5120, 1))
Interpolating 'both' with method 'splrep'
found 4 minima and 5 maxima on mode both
Padding 2 extrema in signal X (5120,) using method 'rilling'
L: max earlier than min, first val smaller than first min
R: max later than min, last val larger than last min
SD-thresh stop metric evaluated at iter 1 is : 0.25815388563050296
Interpolating 'both' with method 'splrep'
found 4 minima and 5 maxima on mode both
Padding 2 extrema in signal X (5120,) using method 'rilling'
L: max earlier than min, first val smaller than first min
R: max later than min, last val larger than last min
Sift stopped by SD-thresh in 2 iters with sd 0.020485737398882663
sifting IMF : 7
Checking get_next_imf inputs - Trimming trailing singletons from input 'X' (input size (5120, 1))
Interpolating 'both' with method 'splrep'
found 2 minima and 2 maxima on mode both
Padding 2 extrema in signal X (5120,) using method 'rilling'
L: max earlier than min, first val smaller than first min
R: max earlier than min, last val smaller than last max
SD-thresh stop metric evaluated at iter 1 is : 0.49967723038526685
Interpolating 'both' with method 'splrep'
found 2 minima and 2 maxima on mode both
Padding 2 extrema in signal X (5120,) using method 'rilling'
L: max earlier than min, first val smaller than first min
R: max earlier than min, last val smaller than last max
Sift stopped by SD-thresh in 2 iters with sd 0.04058344402044684
sifting IMF : 8
Checking get_next_imf inputs - Trimming trailing singletons from input 'X' (input size (5120, 1))
Interpolating 'both' with method 'splrep'
found 0 minima and 1 maxima on mode both
Not enough extrema to pad.
Finishing sift: IMF has no extrema
Returning 9 imfs
COMPLETED: sift

If we don’t want to change the logger level for our whole script, some functions allow us to override the logger level for a single call to the function.

Any functions with the verbose option in ‘Other Parameters’ can override the logger level. Here we run a sift on WARNING and should see no outputs.

imf = emd.sift.sift(x, verbose='WARNING')

We can also disable the logger altogether for a section of code using emd.logger.disable and then restart it using emd.logger.enable.

Here we disable logging for a sift call and renable it afterwards.

emd.logger.disable()
imf = emd.sift.sift(x)
emd.logger.enable()

Out:

EMD logging disabled
EMD logging enabled

Advanced Logging#

This section contains some logger optionality for more advanced use cases.

Firstly, we can supplement the EMD logger output from a script by loading the EMD logger into a script and adding our own logger calls. In this example, we load the logger and add some custom updates. To print some output at the INFO level through the logger, we call logger.info.

# Initialised EMD logger
emd.logger.set_up(level='INFO')

# Load logger into this script
import logging
logger = logging.getLogger('emd')

# Check the time
import time
tic = time.perf_counter()

# Run a sift
logger.info('Now starting my new analysis')
imf = emd.sift.sift(x)

# Check time again
toc = time.perf_counter()

# Print sift run-time
elapsed = toc - tic
logger.info('My new analysis finished in {0:4f} seconds'.format(elapsed))

Out:

EMD logger: handler 'console' level set to 'INFO'
EMD Logger Started
Now starting my new analysis
STARTED: sift
sifting IMF : 0
sifting IMF : 1
sifting IMF : 2
sifting IMF : 3
sifting IMF : 4
sifting IMF : 5
sifting IMF : 6
sifting IMF : 7
sifting IMF : 8
COMPLETED: sift
My new analysis finished in 0.040661 seconds

This output respects the overall logger level, so info statements will be printed at levels INFO and DEBUG but suppressed if the overall logger level is at WARNING or CRITICAL.

Try changing the logger level in the example above to see the effect on the following output.

Next, we define an analysis function which runs a sift followed by a frequency transform and simple cycle analysis. We’ll run this example a few times in the next sections.

Note that we’ve included some custom logger calls and a temporary logger override on the mask_sift

def my_analysis(x):

    # Check time, and load the logger into the session
    tic = time.perf_counter()
    import logging
    logger = logging.getLogger('emd')

    # Print start-up message
    logger.info('Starting my example analysis')
    logger.info('----------------------------')

    # Run a mask-sift with detailed logging
    imf = emd.sift.mask_sift(x, verbose='INFO')

    # Compute frequency stats
    IP, IF, IA = emd.spectra.frequency_transform(imf, sample_rate, 'nht')
    logger.info('Avg frequency of IMF-2 is {0:2f}Hz'.format(np.average(IF[:, 2], weights=IA[:, 2])))

    # Find cycles in IMF-2
    mask = IA[:, 2] > .05
    cycles = emd.cycles.get_cycle_vector(IP, return_good=True, mask=mask)

    # Compute cycle stats
    cycle_freq = emd.cycles.get_cycle_stat(cycles[:, 2], IF[:, 2], func=np.mean)[1:]
    cycle_amp = emd.cycles.get_cycle_stat(cycles[:, 2], IA[:, 2], func=np.mean)[1:]

    # Print some cycle correlations
    logger.info('Freq-Amp correlation: r={0:2f}'.format(np.corrcoef(cycle_freq, cycle_amp)[0, 1]))

    # Print the elapsed time of the analysis
    toc = time.perf_counter()
    elapsed = toc - tic
    logger.info('My new analysis finished in {0:4f} seconds'.format(elapsed))

    return cycle_freq, cycle_amp

We can run this function as normal and inspect the logger outputs as they appear in the console.

# Run the analysis
freq, amp = my_analysis(x)

Out:

Starting my example analysis
----------------------------
EMD logger: handler 'console' level set to 'INFO'
STARTED: mask_sift
Computing first mask frequency with method zc
Getting first IMF with no mask
Found first mask frequency of 0.33955078125
Sifting IMF-0
Defining masks with freq 0.33955078125 and amp 8236.609552003994 at 4 phases
Sifting IMF-1
Defining masks with freq 0.169775390625 and amp 8236.609552003994 at 4 phases
Sifting IMF-2
Defining masks with freq 0.0848876953125 and amp 8236.609552003994 at 4 phases
Sifting IMF-3
Defining masks with freq 0.04244384765625 and amp 8236.609552003994 at 4 phases
Sifting IMF-4
Defining masks with freq 0.021221923828125 and amp 8236.609552003994 at 4 phases
Sifting IMF-5
Defining masks with freq 0.0106109619140625 and amp 8236.609552003994 at 4 phases
Sifting IMF-6
Defining masks with freq 0.00530548095703125 and amp 8236.609552003994 at 4 phases
Sifting IMF-7
Defining masks with freq 0.002652740478515625 and amp 8236.609552003994 at 4 phases
Sifting IMF-8
Defining masks with freq 0.0013263702392578125 and amp 8236.609552003994 at 4 phases
Finishing sift: reached max number of imfs (9)
COMPLETED: mask_sift
EMD logger: handler 'console' level set to 'INFO'
STARTED: compute frequency stats
Using Amplitude-Normalised Hilbert transform
STARTED: Amplitude-Normalise
Normalise of IMF-0-0 complete in 3 iters (val=0.0)
Normalise of IMF-1-0 complete in 3 iters (val=0.0)
Normalise of IMF-2-0 complete in 3 iters (val=0.0)
Normalise of IMF-3-0 complete in 3 iters (val=0.0)
Normalise of IMF-4-0 complete in 3 iters (val=0.0)
Normalise of IMF-5-0 complete in 2 iters (val=0.0)
Normalise of IMF-6-0 complete in 3 iters (val=0.0)
Normalise of IMF-7-0 complete in 3 iters (val=0.0)
Normalise of IMF-8-0 complete in 3 iters (val=0.0)
COMPLETED: Amplitude-Normalise
COMPLETED: compute frequency stats. Returning 9 imfs
Avg frequency of IMF-2 is 36.310268Hz
STARTED: get cycle indices
found 1 cycles in IMF-0
found 53 cycles in IMF-1
found 105 cycles in IMF-2
found 100 cycles in IMF-3
found 90 cycles in IMF-4
found 27 cycles in IMF-5
found 8 cycles in IMF-6
found 1 cycles in IMF-7
found 0 cycles in IMF-8
COMPLETED: get cycle indices
STARTED: get_cycle_stat
STARTED: get_cycle_stat
Freq-Amp correlation: r=-0.366304
My new analysis finished in 0.218045 seconds

We can see a lot of information about which processes were running as the logger is set to INFO. If we configure the logger to run on WARNING level, we should only see output about potential errors. This can be useful when running familiar code where you only need output when something potentially strange is going on.

So in this case, after changing to WARNING we should only see output from the mask_sift call (as this has a logger override to DEBUG). All other output is suppressed.

# Change logger level
emd.logger.set_level('WARNING')

# Run the analysis
freq, amp = my_analysis(x)

Out:

STARTED: mask_sift
Computing first mask frequency with method zc
Getting first IMF with no mask
Found first mask frequency of 0.33955078125
Sifting IMF-0
Defining masks with freq 0.33955078125 and amp 8236.609552003994 at 4 phases
Sifting IMF-1
Defining masks with freq 0.169775390625 and amp 8236.609552003994 at 4 phases
Sifting IMF-2
Defining masks with freq 0.0848876953125 and amp 8236.609552003994 at 4 phases
Sifting IMF-3
Defining masks with freq 0.04244384765625 and amp 8236.609552003994 at 4 phases
Sifting IMF-4
Defining masks with freq 0.021221923828125 and amp 8236.609552003994 at 4 phases
Sifting IMF-5
Defining masks with freq 0.0106109619140625 and amp 8236.609552003994 at 4 phases
Sifting IMF-6
Defining masks with freq 0.00530548095703125 and amp 8236.609552003994 at 4 phases
Sifting IMF-7
Defining masks with freq 0.002652740478515625 and amp 8236.609552003994 at 4 phases
Sifting IMF-8
Defining masks with freq 0.0013263702392578125 and amp 8236.609552003994 at 4 phases
Finishing sift: reached max number of imfs (9)
COMPLETED: mask_sift

If we’re dealing with logger output from multiple sources or perhaps from multiple analyses running in parallel, then we can add a prefix to the logger to help distinguish the output coming from each. This can be specified when initialising the logger.

For example, here we reun the analysis function with a logger prefix indicating that we’re processing Subject 001.

# Initialise logger with a prefix
emd.logger.set_up(level='INFO', prefix='Subj001')

# Run the analysis
freq, amp = my_analysis(x)

Out:

Subj001 : EMD logger: handler 'console' level set to 'INFO'
Subj001 : EMD Logger Started
Subj001 : Starting my example analysis
Subj001 : ----------------------------
Subj001 : EMD logger: handler 'console' level set to 'INFO'
Subj001 : STARTED: mask_sift
Subj001 : Computing first mask frequency with method zc
Subj001 : Getting first IMF with no mask
Subj001 : Found first mask frequency of 0.33955078125
Subj001 : Sifting IMF-0
Subj001 : Defining masks with freq 0.33955078125 and amp 8236.609552003994 at 4 phases
Subj001 : Sifting IMF-1
Subj001 : Defining masks with freq 0.169775390625 and amp 8236.609552003994 at 4 phases
Subj001 : Sifting IMF-2
Subj001 : Defining masks with freq 0.0848876953125 and amp 8236.609552003994 at 4 phases
Subj001 : Sifting IMF-3
Subj001 : Defining masks with freq 0.04244384765625 and amp 8236.609552003994 at 4 phases
Subj001 : Sifting IMF-4
Subj001 : Defining masks with freq 0.021221923828125 and amp 8236.609552003994 at 4 phases
Subj001 : Sifting IMF-5
Subj001 : Defining masks with freq 0.0106109619140625 and amp 8236.609552003994 at 4 phases
Subj001 : Sifting IMF-6
Subj001 : Defining masks with freq 0.00530548095703125 and amp 8236.609552003994 at 4 phases
Subj001 : Sifting IMF-7
Subj001 : Defining masks with freq 0.002652740478515625 and amp 8236.609552003994 at 4 phases
Subj001 : Sifting IMF-8
Subj001 : Defining masks with freq 0.0013263702392578125 and amp 8236.609552003994 at 4 phases
Subj001 : Finishing sift: reached max number of imfs (9)
Subj001 : COMPLETED: mask_sift
Subj001 : EMD logger: handler 'console' level set to 'INFO'
Subj001 : STARTED: compute frequency stats
Subj001 : Using Amplitude-Normalised Hilbert transform
Subj001 : STARTED: Amplitude-Normalise
Subj001 : Normalise of IMF-0-0 complete in 3 iters (val=0.0)
Subj001 : Normalise of IMF-1-0 complete in 3 iters (val=0.0)
Subj001 : Normalise of IMF-2-0 complete in 3 iters (val=0.0)
Subj001 : Normalise of IMF-3-0 complete in 3 iters (val=0.0)
Subj001 : Normalise of IMF-4-0 complete in 3 iters (val=0.0)
Subj001 : Normalise of IMF-5-0 complete in 2 iters (val=0.0)
Subj001 : Normalise of IMF-6-0 complete in 3 iters (val=0.0)
Subj001 : Normalise of IMF-7-0 complete in 3 iters (val=0.0)
Subj001 : Normalise of IMF-8-0 complete in 3 iters (val=0.0)
Subj001 : COMPLETED: Amplitude-Normalise
Subj001 : COMPLETED: compute frequency stats. Returning 9 imfs
Subj001 : Avg frequency of IMF-2 is 36.310268Hz
Subj001 : STARTED: get cycle indices
Subj001 : found 1 cycles in IMF-0
Subj001 : found 53 cycles in IMF-1
Subj001 : found 105 cycles in IMF-2
Subj001 : found 100 cycles in IMF-3
Subj001 : found 90 cycles in IMF-4
Subj001 : found 27 cycles in IMF-5
Subj001 : found 8 cycles in IMF-6
Subj001 : found 1 cycles in IMF-7
Subj001 : found 0 cycles in IMF-8
Subj001 : COMPLETED: get cycle indices
Subj001 : STARTED: get_cycle_stat
Subj001 : STARTED: get_cycle_stat
Subj001 : Freq-Amp correlation: r=-0.366304
Subj001 : My new analysis finished in 0.218398 seconds

Finally, we can direct the logger output into a text file as well as the console.

# Define a temporary file
import tempfile
log_file = tempfile.NamedTemporaryFile(prefix="ExampleEMDLog", suffix='.log').name
# OR uncomment this line and define your own filepath
# log_file = /path/to/my/log_file.log

# Initialise the logger with a prefix and a text file
emd.logger.set_up(level='INFO', prefix='Subj001', log_file=log_file)

# Run the analysis
freq, amp = my_analysis(x)

Out:

Subj001 : EMD logger: handler 'console' level set to 'INFO'
Subj001 : EMD Logger Started
Subj001 : logging to file: /tmp/ExampleEMDLogq2bur6tc.log
Subj001 : Starting my example analysis
Subj001 : ----------------------------
Subj001 : EMD logger: handler 'console' level set to 'INFO'
Subj001 : STARTED: mask_sift
Subj001 : Computing first mask frequency with method zc
Subj001 : Getting first IMF with no mask
Subj001 : Found first mask frequency of 0.33955078125
Subj001 : Sifting IMF-0
Subj001 : Defining masks with freq 0.33955078125 and amp 8236.609552003994 at 4 phases
Subj001 : Sifting IMF-1
Subj001 : Defining masks with freq 0.169775390625 and amp 8236.609552003994 at 4 phases
Subj001 : Sifting IMF-2
Subj001 : Defining masks with freq 0.0848876953125 and amp 8236.609552003994 at 4 phases
Subj001 : Sifting IMF-3
Subj001 : Defining masks with freq 0.04244384765625 and amp 8236.609552003994 at 4 phases
Subj001 : Sifting IMF-4
Subj001 : Defining masks with freq 0.021221923828125 and amp 8236.609552003994 at 4 phases
Subj001 : Sifting IMF-5
Subj001 : Defining masks with freq 0.0106109619140625 and amp 8236.609552003994 at 4 phases
Subj001 : Sifting IMF-6
Subj001 : Defining masks with freq 0.00530548095703125 and amp 8236.609552003994 at 4 phases
Subj001 : Sifting IMF-7
Subj001 : Defining masks with freq 0.002652740478515625 and amp 8236.609552003994 at 4 phases
Subj001 : Sifting IMF-8
Subj001 : Defining masks with freq 0.0013263702392578125 and amp 8236.609552003994 at 4 phases
Subj001 : Finishing sift: reached max number of imfs (9)
Subj001 : COMPLETED: mask_sift
Subj001 : EMD logger: handler 'console' level set to 'INFO'
Subj001 : STARTED: compute frequency stats
Subj001 : Using Amplitude-Normalised Hilbert transform
Subj001 : STARTED: Amplitude-Normalise
Subj001 : Normalise of IMF-0-0 complete in 3 iters (val=0.0)
Subj001 : Normalise of IMF-1-0 complete in 3 iters (val=0.0)
Subj001 : Normalise of IMF-2-0 complete in 3 iters (val=0.0)
Subj001 : Normalise of IMF-3-0 complete in 3 iters (val=0.0)
Subj001 : Normalise of IMF-4-0 complete in 3 iters (val=0.0)
Subj001 : Normalise of IMF-5-0 complete in 2 iters (val=0.0)
Subj001 : Normalise of IMF-6-0 complete in 3 iters (val=0.0)
Subj001 : Normalise of IMF-7-0 complete in 3 iters (val=0.0)
Subj001 : Normalise of IMF-8-0 complete in 3 iters (val=0.0)
Subj001 : COMPLETED: Amplitude-Normalise
Subj001 : COMPLETED: compute frequency stats. Returning 9 imfs
Subj001 : Avg frequency of IMF-2 is 36.310268Hz
Subj001 : STARTED: get cycle indices
Subj001 : found 1 cycles in IMF-0
Subj001 : found 53 cycles in IMF-1
Subj001 : found 105 cycles in IMF-2
Subj001 : found 100 cycles in IMF-3
Subj001 : found 90 cycles in IMF-4
Subj001 : found 27 cycles in IMF-5
Subj001 : found 8 cycles in IMF-6
Subj001 : found 1 cycles in IMF-7
Subj001 : found 0 cycles in IMF-8
Subj001 : COMPLETED: get cycle indices
Subj001 : STARTED: get_cycle_stat
Subj001 : STARTED: get_cycle_stat
Subj001 : Freq-Amp correlation: r=-0.366304
Subj001 : My new analysis finished in 0.245931 seconds

The log file is a simple text file containing very detailed outputs of which functions were executed and when. Here we read the log file and print its contents to the console.

Note that the log file contains a much more detailed output that the console!

# Open the text file and print its contents
with open(log_file, 'r') as f:
    txt = f.read()
print(txt)

Out:

[2022-05-27 22:24:37] Subj001 : - INFO - emd.logger:195 -            set_level() : EMD logger: handler 'console' level set to 'INFO'
[2022-05-27 22:24:37] Subj001 : - INFO - emd.logger:180 -               set_up() : EMD Logger Started
[2022-05-27 22:24:37] Subj001 : - INFO - emd.logger:184 -               set_up() : logging to file: /tmp/ExampleEMDLogq2bur6tc.log
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd.logger:186 -               set_up() : EMD v0.5.4 installed in /home/docs/checkouts/readthedocs.org/user_builds/emd/envs/stable/lib/python3.7/site-packages/emd-0.5.4-py3.7.egg/emd
[2022-05-27 22:24:37] Subj001 : - INFO - emd.emd_tutorial_04_utils_02_logger:149 -          my_analysis() : Starting my example analysis
[2022-05-27 22:24:37] Subj001 : - INFO - emd.emd_tutorial_04_utils_02_logger:150 -          my_analysis() : ----------------------------
[2022-05-27 22:24:37] Subj001 : - INFO - emd.logger:195 -            set_level() : EMD logger: handler 'console' level set to 'INFO'
[2022-05-27 22:24:37] Subj001 : - INFO - emd.logger:261 -          sift_logger() : STARTED: mask_sift
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd.logger:271 -          sift_logger() : Input data size: 5120
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd.logger:274 -          sift_logger() : Input Sift Args: {'verbose': 'INFO'}
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd.support:214 - ensure_1d_with_singleton() : Checking sift inputs - Trimming trailing singletons from input 'X' (input size (5120, 1))
[2022-05-27 22:24:37] Subj001 : - INFO - emd.sift:921 -       get_mask_freqs() : Computing first mask frequency with method zc
[2022-05-27 22:24:37] Subj001 : - INFO - emd.sift:922 -       get_mask_freqs() : Getting first IMF with no mask
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd.support:214 - ensure_1d_with_singleton() : Checking get_next_imf inputs - Trimming trailing singletons from input 'X' (input size (5120, 1))
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'both' with method 'splrep'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:82 -   get_padded_extrema() : found 1644 minima and 1644 maxima on mode both
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:243 - _pad_extrema_rilling() : Padding 2 extrema in signal X (5120,) using method 'rilling'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:258 - _pad_extrema_rilling() : L: max earlier than min, first val smaller than first min
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:289 - _pad_extrema_rilling() : R: max earlier than min, last val larger than last max
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd.sift:279 -              sd_stop() : SD-thresh stop metric evaluated at iter 1 is : 0.8503234928175579
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'both' with method 'splrep'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:82 -   get_padded_extrema() : found 1743 minima and 1743 maxima on mode both
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:243 - _pad_extrema_rilling() : Padding 2 extrema in signal X (5120,) using method 'rilling'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:258 - _pad_extrema_rilling() : L: max earlier than min, first val smaller than first min
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:283 - _pad_extrema_rilling() : R: max earlier than min, last val smaller than last max
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd.sift:277 -              sd_stop() : Sift stopped by SD-thresh in 2 iters with sd 0.05912961381300473
[2022-05-27 22:24:37] Subj001 : - INFO - emd.sift:930 -       get_mask_freqs() : Found first mask frequency of 0.33955078125
[2022-05-27 22:24:37] Subj001 : - INFO - emd.sift:1096 -            mask_sift() : Sifting IMF-0
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd.support:214 - ensure_1d_with_singleton() : Checking get_next_imf_mask inputs - Trimming trailing singletons from input 'X' (input size (5120, 1))
[2022-05-27 22:24:37] Subj001 : - INFO - emd.sift:867 -    get_next_imf_mask() : Defining masks with freq 0.33955078125 and amp 8236.609552003994 at 4 phases
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd.support:214 - ensure_1d_with_singleton() : Checking get_next_imf inputs - Trimming trailing singletons from input 'X' (input size (5120, 1))
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'both' with method 'splrep'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:82 -   get_padded_extrema() : found 1735 minima and 1734 maxima on mode both
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:243 - _pad_extrema_rilling() : Padding 2 extrema in signal X (5120,) using method 'rilling'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:273 - _pad_extrema_rilling() : L: max later than min, first val smaller than first max
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:283 - _pad_extrema_rilling() : R: max earlier than min, last val smaller than last max
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd.sift:279 -              sd_stop() : SD-thresh stop metric evaluated at iter 1 is : 0.6015571880859836
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'both' with method 'splrep'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:82 -   get_padded_extrema() : found 1737 minima and 1736 maxima on mode both
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:243 - _pad_extrema_rilling() : Padding 2 extrema in signal X (5120,) using method 'rilling'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:273 - _pad_extrema_rilling() : L: max later than min, first val smaller than first max
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:289 - _pad_extrema_rilling() : R: max earlier than min, last val larger than last max
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd.sift:277 -              sd_stop() : Sift stopped by SD-thresh in 2 iters with sd 0.004585690017729925
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd.support:214 - ensure_1d_with_singleton() : Checking get_next_imf inputs - Trimming trailing singletons from input 'X' (input size (5120, 1))
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'both' with method 'splrep'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:82 -   get_padded_extrema() : found 1735 minima and 1735 maxima on mode both
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:243 - _pad_extrema_rilling() : Padding 2 extrema in signal X (5120,) using method 'rilling'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:273 - _pad_extrema_rilling() : L: max later than min, first val smaller than first max
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:297 - _pad_extrema_rilling() : R: max later than min, last val larger than last min
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd.sift:279 -              sd_stop() : SD-thresh stop metric evaluated at iter 1 is : 0.5806948360820954
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'both' with method 'splrep'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:82 -   get_padded_extrema() : found 1739 minima and 1739 maxima on mode both
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:243 - _pad_extrema_rilling() : Padding 2 extrema in signal X (5120,) using method 'rilling'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:273 - _pad_extrema_rilling() : L: max later than min, first val smaller than first max
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:297 - _pad_extrema_rilling() : R: max later than min, last val larger than last min
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd.sift:277 -              sd_stop() : Sift stopped by SD-thresh in 2 iters with sd 0.0041008995756136
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd.support:214 - ensure_1d_with_singleton() : Checking get_next_imf inputs - Trimming trailing singletons from input 'X' (input size (5120, 1))
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'both' with method 'splrep'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:82 -   get_padded_extrema() : found 1737 minima and 1737 maxima on mode both
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:243 - _pad_extrema_rilling() : Padding 2 extrema in signal X (5120,) using method 'rilling'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:258 - _pad_extrema_rilling() : L: max earlier than min, first val smaller than first min
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:283 - _pad_extrema_rilling() : R: max earlier than min, last val smaller than last max
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd.sift:279 -              sd_stop() : SD-thresh stop metric evaluated at iter 1 is : 0.5796104674804021
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'both' with method 'splrep'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:82 -   get_padded_extrema() : found 1737 minima and 1737 maxima on mode both
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:243 - _pad_extrema_rilling() : Padding 2 extrema in signal X (5120,) using method 'rilling'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:252 - _pad_extrema_rilling() : L: max earlier than min, first val larger than first min
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:283 - _pad_extrema_rilling() : R: max earlier than min, last val smaller than last max
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd.sift:277 -              sd_stop() : Sift stopped by SD-thresh in 2 iters with sd 0.003949753543664739
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd.support:214 - ensure_1d_with_singleton() : Checking get_next_imf inputs - Trimming trailing singletons from input 'X' (input size (5120, 1))
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'both' with method 'splrep'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:82 -   get_padded_extrema() : found 1735 minima and 1735 maxima on mode both
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:243 - _pad_extrema_rilling() : Padding 2 extrema in signal X (5120,) using method 'rilling'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:252 - _pad_extrema_rilling() : L: max earlier than min, first val larger than first min
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:289 - _pad_extrema_rilling() : R: max earlier than min, last val larger than last max
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd.sift:279 -              sd_stop() : SD-thresh stop metric evaluated at iter 1 is : 0.6023342179369073
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'both' with method 'splrep'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:82 -   get_padded_extrema() : found 1738 minima and 1738 maxima on mode both
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:243 - _pad_extrema_rilling() : Padding 2 extrema in signal X (5120,) using method 'rilling'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:252 - _pad_extrema_rilling() : L: max earlier than min, first val larger than first min
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:289 - _pad_extrema_rilling() : R: max earlier than min, last val larger than last max
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd.sift:277 -              sd_stop() : Sift stopped by SD-thresh in 2 iters with sd 0.004286822315536813
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd.sift:893 -    get_next_imf_mask() : Averaging across 4 proto IMFs
[2022-05-27 22:24:37] Subj001 : - INFO - emd.sift:1096 -            mask_sift() : Sifting IMF-1
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd.support:214 - ensure_1d_with_singleton() : Checking get_next_imf_mask inputs - Trimming trailing singletons from input 'X' (input size (5120, 1))
[2022-05-27 22:24:37] Subj001 : - INFO - emd.sift:867 -    get_next_imf_mask() : Defining masks with freq 0.169775390625 and amp 8236.609552003994 at 4 phases
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd.support:214 - ensure_1d_with_singleton() : Checking get_next_imf inputs - Trimming trailing singletons from input 'X' (input size (5120, 1))
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'both' with method 'splrep'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:82 -   get_padded_extrema() : found 869 minima and 869 maxima on mode both
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:243 - _pad_extrema_rilling() : Padding 2 extrema in signal X (5120,) using method 'rilling'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:267 - _pad_extrema_rilling() : L: max later than min, first val larger than first max
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:297 - _pad_extrema_rilling() : R: max later than min, last val larger than last min
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd.sift:279 -              sd_stop() : SD-thresh stop metric evaluated at iter 1 is : 0.6021370387736055
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'both' with method 'splrep'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:82 -   get_padded_extrema() : found 869 minima and 869 maxima on mode both
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:243 - _pad_extrema_rilling() : Padding 2 extrema in signal X (5120,) using method 'rilling'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:267 - _pad_extrema_rilling() : L: max later than min, first val larger than first max
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:297 - _pad_extrema_rilling() : R: max later than min, last val larger than last min
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd.sift:277 -              sd_stop() : Sift stopped by SD-thresh in 2 iters with sd 0.002478361959418485
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd.support:214 - ensure_1d_with_singleton() : Checking get_next_imf inputs - Trimming trailing singletons from input 'X' (input size (5120, 1))
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'both' with method 'splrep'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:82 -   get_padded_extrema() : found 869 minima and 869 maxima on mode both
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:243 - _pad_extrema_rilling() : Padding 2 extrema in signal X (5120,) using method 'rilling'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:273 - _pad_extrema_rilling() : L: max later than min, first val smaller than first max
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:297 - _pad_extrema_rilling() : R: max later than min, last val larger than last min
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd.sift:279 -              sd_stop() : SD-thresh stop metric evaluated at iter 1 is : 0.6080018978219163
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'both' with method 'splrep'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:82 -   get_padded_extrema() : found 869 minima and 869 maxima on mode both
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:243 - _pad_extrema_rilling() : Padding 2 extrema in signal X (5120,) using method 'rilling'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:273 - _pad_extrema_rilling() : L: max later than min, first val smaller than first max
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:297 - _pad_extrema_rilling() : R: max later than min, last val larger than last min
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd.sift:277 -              sd_stop() : Sift stopped by SD-thresh in 2 iters with sd 0.0026615493400608185
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd.support:214 - ensure_1d_with_singleton() : Checking get_next_imf inputs - Trimming trailing singletons from input 'X' (input size (5120, 1))
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'both' with method 'splrep'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:82 -   get_padded_extrema() : found 868 minima and 869 maxima on mode both
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:243 - _pad_extrema_rilling() : Padding 2 extrema in signal X (5120,) using method 'rilling'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:252 - _pad_extrema_rilling() : L: max earlier than min, first val larger than first min
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:297 - _pad_extrema_rilling() : R: max later than min, last val larger than last min
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd.sift:279 -              sd_stop() : SD-thresh stop metric evaluated at iter 1 is : 0.6056015995247226
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'both' with method 'splrep'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:82 -   get_padded_extrema() : found 868 minima and 869 maxima on mode both
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:243 - _pad_extrema_rilling() : Padding 2 extrema in signal X (5120,) using method 'rilling'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:252 - _pad_extrema_rilling() : L: max earlier than min, first val larger than first min
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:297 - _pad_extrema_rilling() : R: max later than min, last val larger than last min
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd.sift:277 -              sd_stop() : Sift stopped by SD-thresh in 2 iters with sd 0.0022998422641302457
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd.support:214 - ensure_1d_with_singleton() : Checking get_next_imf inputs - Trimming trailing singletons from input 'X' (input size (5120, 1))
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'both' with method 'splrep'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:82 -   get_padded_extrema() : found 869 minima and 869 maxima on mode both
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:243 - _pad_extrema_rilling() : Padding 2 extrema in signal X (5120,) using method 'rilling'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:252 - _pad_extrema_rilling() : L: max earlier than min, first val larger than first min
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:283 - _pad_extrema_rilling() : R: max earlier than min, last val smaller than last max
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd.sift:279 -              sd_stop() : SD-thresh stop metric evaluated at iter 1 is : 0.6012292556520689
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'both' with method 'splrep'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:82 -   get_padded_extrema() : found 869 minima and 869 maxima on mode both
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:243 - _pad_extrema_rilling() : Padding 2 extrema in signal X (5120,) using method 'rilling'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:252 - _pad_extrema_rilling() : L: max earlier than min, first val larger than first min
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:283 - _pad_extrema_rilling() : R: max earlier than min, last val smaller than last max
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd.sift:277 -              sd_stop() : Sift stopped by SD-thresh in 2 iters with sd 0.0024120769390279873
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd.sift:893 -    get_next_imf_mask() : Averaging across 4 proto IMFs
[2022-05-27 22:24:37] Subj001 : - INFO - emd.sift:1096 -            mask_sift() : Sifting IMF-2
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd.support:214 - ensure_1d_with_singleton() : Checking get_next_imf_mask inputs - Trimming trailing singletons from input 'X' (input size (5120, 1))
[2022-05-27 22:24:37] Subj001 : - INFO - emd.sift:867 -    get_next_imf_mask() : Defining masks with freq 0.0848876953125 and amp 8236.609552003994 at 4 phases
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd.support:214 - ensure_1d_with_singleton() : Checking get_next_imf inputs - Trimming trailing singletons from input 'X' (input size (5120, 1))
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'both' with method 'splrep'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:82 -   get_padded_extrema() : found 434 minima and 434 maxima on mode both
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:243 - _pad_extrema_rilling() : Padding 2 extrema in signal X (5120,) using method 'rilling'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:267 - _pad_extrema_rilling() : L: max later than min, first val larger than first max
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:297 - _pad_extrema_rilling() : R: max later than min, last val larger than last min
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd.sift:279 -              sd_stop() : SD-thresh stop metric evaluated at iter 1 is : 0.5891140315677887
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'both' with method 'splrep'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:82 -   get_padded_extrema() : found 434 minima and 434 maxima on mode both
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:243 - _pad_extrema_rilling() : Padding 2 extrema in signal X (5120,) using method 'rilling'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:267 - _pad_extrema_rilling() : L: max later than min, first val larger than first max
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:297 - _pad_extrema_rilling() : R: max later than min, last val larger than last min
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd.sift:277 -              sd_stop() : Sift stopped by SD-thresh in 2 iters with sd 0.0029821233095126977
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd.support:214 - ensure_1d_with_singleton() : Checking get_next_imf inputs - Trimming trailing singletons from input 'X' (input size (5120, 1))
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'both' with method 'splrep'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:82 -   get_padded_extrema() : found 435 minima and 434 maxima on mode both
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:243 - _pad_extrema_rilling() : Padding 2 extrema in signal X (5120,) using method 'rilling'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:273 - _pad_extrema_rilling() : L: max later than min, first val smaller than first max
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:283 - _pad_extrema_rilling() : R: max earlier than min, last val smaller than last max
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd.sift:279 -              sd_stop() : SD-thresh stop metric evaluated at iter 1 is : 0.583721734847288
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'both' with method 'splrep'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:82 -   get_padded_extrema() : found 435 minima and 434 maxima on mode both
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:243 - _pad_extrema_rilling() : Padding 2 extrema in signal X (5120,) using method 'rilling'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:273 - _pad_extrema_rilling() : L: max later than min, first val smaller than first max
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:283 - _pad_extrema_rilling() : R: max earlier than min, last val smaller than last max
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd.sift:277 -              sd_stop() : Sift stopped by SD-thresh in 2 iters with sd 0.002588618626891238
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd.support:214 - ensure_1d_with_singleton() : Checking get_next_imf inputs - Trimming trailing singletons from input 'X' (input size (5120, 1))
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'both' with method 'splrep'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:82 -   get_padded_extrema() : found 434 minima and 435 maxima on mode both
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:243 - _pad_extrema_rilling() : Padding 2 extrema in signal X (5120,) using method 'rilling'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:252 - _pad_extrema_rilling() : L: max earlier than min, first val larger than first min
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:297 - _pad_extrema_rilling() : R: max later than min, last val larger than last min
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd.sift:279 -              sd_stop() : SD-thresh stop metric evaluated at iter 1 is : 0.5767596017417764
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'both' with method 'splrep'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:82 -   get_padded_extrema() : found 434 minima and 435 maxima on mode both
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:243 - _pad_extrema_rilling() : Padding 2 extrema in signal X (5120,) using method 'rilling'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:252 - _pad_extrema_rilling() : L: max earlier than min, first val larger than first min
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:297 - _pad_extrema_rilling() : R: max later than min, last val larger than last min
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd.sift:277 -              sd_stop() : Sift stopped by SD-thresh in 2 iters with sd 0.002864963376050439
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd.support:214 - ensure_1d_with_singleton() : Checking get_next_imf inputs - Trimming trailing singletons from input 'X' (input size (5120, 1))
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'both' with method 'splrep'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:82 -   get_padded_extrema() : found 434 minima and 435 maxima on mode both
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:243 - _pad_extrema_rilling() : Padding 2 extrema in signal X (5120,) using method 'rilling'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:252 - _pad_extrema_rilling() : L: max earlier than min, first val larger than first min
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:297 - _pad_extrema_rilling() : R: max later than min, last val larger than last min
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd.sift:279 -              sd_stop() : SD-thresh stop metric evaluated at iter 1 is : 0.5801702533193634
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'both' with method 'splrep'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:82 -   get_padded_extrema() : found 434 minima and 435 maxima on mode both
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:243 - _pad_extrema_rilling() : Padding 2 extrema in signal X (5120,) using method 'rilling'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:252 - _pad_extrema_rilling() : L: max earlier than min, first val larger than first min
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:297 - _pad_extrema_rilling() : R: max later than min, last val larger than last min
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd.sift:277 -              sd_stop() : Sift stopped by SD-thresh in 2 iters with sd 0.0028965049649617137
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd.sift:893 -    get_next_imf_mask() : Averaging across 4 proto IMFs
[2022-05-27 22:24:37] Subj001 : - INFO - emd.sift:1096 -            mask_sift() : Sifting IMF-3
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd.support:214 - ensure_1d_with_singleton() : Checking get_next_imf_mask inputs - Trimming trailing singletons from input 'X' (input size (5120, 1))
[2022-05-27 22:24:37] Subj001 : - INFO - emd.sift:867 -    get_next_imf_mask() : Defining masks with freq 0.04244384765625 and amp 8236.609552003994 at 4 phases
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd.support:214 - ensure_1d_with_singleton() : Checking get_next_imf inputs - Trimming trailing singletons from input 'X' (input size (5120, 1))
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'both' with method 'splrep'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:82 -   get_padded_extrema() : found 210 minima and 211 maxima on mode both
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:243 - _pad_extrema_rilling() : Padding 2 extrema in signal X (5120,) using method 'rilling'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:252 - _pad_extrema_rilling() : L: max earlier than min, first val larger than first min
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:297 - _pad_extrema_rilling() : R: max later than min, last val larger than last min
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd.sift:279 -              sd_stop() : SD-thresh stop metric evaluated at iter 1 is : 0.11016701184867962
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'both' with method 'splrep'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:82 -   get_padded_extrema() : found 210 minima and 211 maxima on mode both
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:243 - _pad_extrema_rilling() : Padding 2 extrema in signal X (5120,) using method 'rilling'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:252 - _pad_extrema_rilling() : L: max earlier than min, first val larger than first min
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:297 - _pad_extrema_rilling() : R: max later than min, last val larger than last min
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd.sift:277 -              sd_stop() : Sift stopped by SD-thresh in 2 iters with sd 0.02561603648754365
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd.support:214 - ensure_1d_with_singleton() : Checking get_next_imf inputs - Trimming trailing singletons from input 'X' (input size (5120, 1))
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'both' with method 'splrep'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:82 -   get_padded_extrema() : found 206 minima and 206 maxima on mode both
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:243 - _pad_extrema_rilling() : Padding 2 extrema in signal X (5120,) using method 'rilling'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:273 - _pad_extrema_rilling() : L: max later than min, first val smaller than first max
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:297 - _pad_extrema_rilling() : R: max later than min, last val larger than last min
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd.sift:279 -              sd_stop() : SD-thresh stop metric evaluated at iter 1 is : 0.1119746597650755
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'both' with method 'splrep'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:82 -   get_padded_extrema() : found 206 minima and 206 maxima on mode both
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:243 - _pad_extrema_rilling() : Padding 2 extrema in signal X (5120,) using method 'rilling'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:267 - _pad_extrema_rilling() : L: max later than min, first val larger than first max
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:297 - _pad_extrema_rilling() : R: max later than min, last val larger than last min
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd.sift:277 -              sd_stop() : Sift stopped by SD-thresh in 2 iters with sd 0.021451275426735795
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd.support:214 - ensure_1d_with_singleton() : Checking get_next_imf inputs - Trimming trailing singletons from input 'X' (input size (5120, 1))
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'both' with method 'splrep'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:82 -   get_padded_extrema() : found 207 minima and 207 maxima on mode both
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:243 - _pad_extrema_rilling() : Padding 2 extrema in signal X (5120,) using method 'rilling'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:258 - _pad_extrema_rilling() : L: max earlier than min, first val smaller than first min
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:283 - _pad_extrema_rilling() : R: max earlier than min, last val smaller than last max
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd.sift:279 -              sd_stop() : SD-thresh stop metric evaluated at iter 1 is : 0.10025981402224331
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'both' with method 'splrep'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:82 -   get_padded_extrema() : found 207 minima and 207 maxima on mode both
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:243 - _pad_extrema_rilling() : Padding 2 extrema in signal X (5120,) using method 'rilling'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:252 - _pad_extrema_rilling() : L: max earlier than min, first val larger than first min
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:283 - _pad_extrema_rilling() : R: max earlier than min, last val smaller than last max
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd.sift:277 -              sd_stop() : Sift stopped by SD-thresh in 2 iters with sd 0.023697563810211306
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd.support:214 - ensure_1d_with_singleton() : Checking get_next_imf inputs - Trimming trailing singletons from input 'X' (input size (5120, 1))
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'both' with method 'splrep'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:82 -   get_padded_extrema() : found 211 minima and 212 maxima on mode both
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:243 - _pad_extrema_rilling() : Padding 2 extrema in signal X (5120,) using method 'rilling'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:252 - _pad_extrema_rilling() : L: max earlier than min, first val larger than first min
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:297 - _pad_extrema_rilling() : R: max later than min, last val larger than last min
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd.sift:277 -              sd_stop() : Sift stopped by SD-thresh in 1 iters with sd 0.09363848767388588
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd.sift:893 -    get_next_imf_mask() : Averaging across 4 proto IMFs
[2022-05-27 22:24:37] Subj001 : - INFO - emd.sift:1096 -            mask_sift() : Sifting IMF-4
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd.support:214 - ensure_1d_with_singleton() : Checking get_next_imf_mask inputs - Trimming trailing singletons from input 'X' (input size (5120, 1))
[2022-05-27 22:24:37] Subj001 : - INFO - emd.sift:867 -    get_next_imf_mask() : Defining masks with freq 0.021221923828125 and amp 8236.609552003994 at 4 phases
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd.support:214 - ensure_1d_with_singleton() : Checking get_next_imf inputs - Trimming trailing singletons from input 'X' (input size (5120, 1))
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'both' with method 'splrep'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:82 -   get_padded_extrema() : found 109 minima and 108 maxima on mode both
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:243 - _pad_extrema_rilling() : Padding 2 extrema in signal X (5120,) using method 'rilling'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:273 - _pad_extrema_rilling() : L: max later than min, first val smaller than first max
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:283 - _pad_extrema_rilling() : R: max earlier than min, last val smaller than last max
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd.sift:277 -              sd_stop() : Sift stopped by SD-thresh in 1 iters with sd 0.0154788430756474
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd.support:214 - ensure_1d_with_singleton() : Checking get_next_imf inputs - Trimming trailing singletons from input 'X' (input size (5120, 1))
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'both' with method 'splrep'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:82 -   get_padded_extrema() : found 109 minima and 108 maxima on mode both
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:243 - _pad_extrema_rilling() : Padding 2 extrema in signal X (5120,) using method 'rilling'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:273 - _pad_extrema_rilling() : L: max later than min, first val smaller than first max
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:283 - _pad_extrema_rilling() : R: max earlier than min, last val smaller than last max
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd.sift:277 -              sd_stop() : Sift stopped by SD-thresh in 1 iters with sd 0.022930815162580984
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd.support:214 - ensure_1d_with_singleton() : Checking get_next_imf inputs - Trimming trailing singletons from input 'X' (input size (5120, 1))
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'both' with method 'splrep'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:82 -   get_padded_extrema() : found 109 minima and 109 maxima on mode both
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:243 - _pad_extrema_rilling() : Padding 2 extrema in signal X (5120,) using method 'rilling'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:273 - _pad_extrema_rilling() : L: max later than min, first val smaller than first max
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:297 - _pad_extrema_rilling() : R: max later than min, last val larger than last min
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd.sift:277 -              sd_stop() : Sift stopped by SD-thresh in 1 iters with sd 0.03218462285457205
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd.support:214 - ensure_1d_with_singleton() : Checking get_next_imf inputs - Trimming trailing singletons from input 'X' (input size (5120, 1))
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'both' with method 'splrep'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:82 -   get_padded_extrema() : found 108 minima and 109 maxima on mode both
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:243 - _pad_extrema_rilling() : Padding 2 extrema in signal X (5120,) using method 'rilling'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:258 - _pad_extrema_rilling() : L: max earlier than min, first val smaller than first min
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:303 - _pad_extrema_rilling() : R: max later than min, last val smaller than last min
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd.sift:277 -              sd_stop() : Sift stopped by SD-thresh in 1 iters with sd 0.015938587852984996
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd.sift:893 -    get_next_imf_mask() : Averaging across 4 proto IMFs
[2022-05-27 22:24:37] Subj001 : - INFO - emd.sift:1096 -            mask_sift() : Sifting IMF-5
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd.support:214 - ensure_1d_with_singleton() : Checking get_next_imf_mask inputs - Trimming trailing singletons from input 'X' (input size (5120, 1))
[2022-05-27 22:24:37] Subj001 : - INFO - emd.sift:867 -    get_next_imf_mask() : Defining masks with freq 0.0106109619140625 and amp 8236.609552003994 at 4 phases
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd.support:214 - ensure_1d_with_singleton() : Checking get_next_imf inputs - Trimming trailing singletons from input 'X' (input size (5120, 1))
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'both' with method 'splrep'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:82 -   get_padded_extrema() : found 54 minima and 55 maxima on mode both
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:243 - _pad_extrema_rilling() : Padding 2 extrema in signal X (5120,) using method 'rilling'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:252 - _pad_extrema_rilling() : L: max earlier than min, first val larger than first min
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:297 - _pad_extrema_rilling() : R: max later than min, last val larger than last min
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd.sift:277 -              sd_stop() : Sift stopped by SD-thresh in 1 iters with sd 0.012988350883153383
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd.support:214 - ensure_1d_with_singleton() : Checking get_next_imf inputs - Trimming trailing singletons from input 'X' (input size (5120, 1))
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'both' with method 'splrep'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:82 -   get_padded_extrema() : found 55 minima and 54 maxima on mode both
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:243 - _pad_extrema_rilling() : Padding 2 extrema in signal X (5120,) using method 'rilling'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:273 - _pad_extrema_rilling() : L: max later than min, first val smaller than first max
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:283 - _pad_extrema_rilling() : R: max earlier than min, last val smaller than last max
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd.sift:277 -              sd_stop() : Sift stopped by SD-thresh in 1 iters with sd 0.030424450397968657
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd.support:214 - ensure_1d_with_singleton() : Checking get_next_imf inputs - Trimming trailing singletons from input 'X' (input size (5120, 1))
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'both' with method 'splrep'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:82 -   get_padded_extrema() : found 54 minima and 54 maxima on mode both
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:243 - _pad_extrema_rilling() : Padding 2 extrema in signal X (5120,) using method 'rilling'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:258 - _pad_extrema_rilling() : L: max earlier than min, first val smaller than first min
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:283 - _pad_extrema_rilling() : R: max earlier than min, last val smaller than last max
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd.sift:277 -              sd_stop() : Sift stopped by SD-thresh in 1 iters with sd 0.012265547586771694
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd.support:214 - ensure_1d_with_singleton() : Checking get_next_imf inputs - Trimming trailing singletons from input 'X' (input size (5120, 1))
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'both' with method 'splrep'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:82 -   get_padded_extrema() : found 54 minima and 55 maxima on mode both
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:243 - _pad_extrema_rilling() : Padding 2 extrema in signal X (5120,) using method 'rilling'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:258 - _pad_extrema_rilling() : L: max earlier than min, first val smaller than first min
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:297 - _pad_extrema_rilling() : R: max later than min, last val larger than last min
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd.sift:277 -              sd_stop() : Sift stopped by SD-thresh in 1 iters with sd 0.008620243411428967
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd.sift:893 -    get_next_imf_mask() : Averaging across 4 proto IMFs
[2022-05-27 22:24:37] Subj001 : - INFO - emd.sift:1096 -            mask_sift() : Sifting IMF-6
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd.support:214 - ensure_1d_with_singleton() : Checking get_next_imf_mask inputs - Trimming trailing singletons from input 'X' (input size (5120, 1))
[2022-05-27 22:24:37] Subj001 : - INFO - emd.sift:867 -    get_next_imf_mask() : Defining masks with freq 0.00530548095703125 and amp 8236.609552003994 at 4 phases
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd.support:214 - ensure_1d_with_singleton() : Checking get_next_imf inputs - Trimming trailing singletons from input 'X' (input size (5120, 1))
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'both' with method 'splrep'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:82 -   get_padded_extrema() : found 27 minima and 28 maxima on mode both
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:243 - _pad_extrema_rilling() : Padding 2 extrema in signal X (5120,) using method 'rilling'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:252 - _pad_extrema_rilling() : L: max earlier than min, first val larger than first min
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:297 - _pad_extrema_rilling() : R: max later than min, last val larger than last min
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd.sift:277 -              sd_stop() : Sift stopped by SD-thresh in 1 iters with sd 0.005605841036064215
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd.support:214 - ensure_1d_with_singleton() : Checking get_next_imf inputs - Trimming trailing singletons from input 'X' (input size (5120, 1))
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'both' with method 'splrep'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:82 -   get_padded_extrema() : found 27 minima and 27 maxima on mode both
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:243 - _pad_extrema_rilling() : Padding 2 extrema in signal X (5120,) using method 'rilling'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:273 - _pad_extrema_rilling() : L: max later than min, first val smaller than first max
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:297 - _pad_extrema_rilling() : R: max later than min, last val larger than last min
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd.sift:277 -              sd_stop() : Sift stopped by SD-thresh in 1 iters with sd 0.02628369624999412
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd.support:214 - ensure_1d_with_singleton() : Checking get_next_imf inputs - Trimming trailing singletons from input 'X' (input size (5120, 1))
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'both' with method 'splrep'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:82 -   get_padded_extrema() : found 27 minima and 27 maxima on mode both
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:243 - _pad_extrema_rilling() : Padding 2 extrema in signal X (5120,) using method 'rilling'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:258 - _pad_extrema_rilling() : L: max earlier than min, first val smaller than first min
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:283 - _pad_extrema_rilling() : R: max earlier than min, last val smaller than last max
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd.sift:277 -              sd_stop() : Sift stopped by SD-thresh in 1 iters with sd 0.004368347459598313
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd.support:214 - ensure_1d_with_singleton() : Checking get_next_imf inputs - Trimming trailing singletons from input 'X' (input size (5120, 1))
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'both' with method 'splrep'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:82 -   get_padded_extrema() : found 27 minima and 27 maxima on mode both
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:243 - _pad_extrema_rilling() : Padding 2 extrema in signal X (5120,) using method 'rilling'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:252 - _pad_extrema_rilling() : L: max earlier than min, first val larger than first min
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:283 - _pad_extrema_rilling() : R: max earlier than min, last val smaller than last max
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd.sift:277 -              sd_stop() : Sift stopped by SD-thresh in 1 iters with sd 0.0023097648067853666
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd.sift:893 -    get_next_imf_mask() : Averaging across 4 proto IMFs
[2022-05-27 22:24:37] Subj001 : - INFO - emd.sift:1096 -            mask_sift() : Sifting IMF-7
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd.support:214 - ensure_1d_with_singleton() : Checking get_next_imf_mask inputs - Trimming trailing singletons from input 'X' (input size (5120, 1))
[2022-05-27 22:24:37] Subj001 : - INFO - emd.sift:867 -    get_next_imf_mask() : Defining masks with freq 0.002652740478515625 and amp 8236.609552003994 at 4 phases
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd.support:214 - ensure_1d_with_singleton() : Checking get_next_imf inputs - Trimming trailing singletons from input 'X' (input size (5120, 1))
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'both' with method 'splrep'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:82 -   get_padded_extrema() : found 14 minima and 14 maxima on mode both
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:243 - _pad_extrema_rilling() : Padding 2 extrema in signal X (5120,) using method 'rilling'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:252 - _pad_extrema_rilling() : L: max earlier than min, first val larger than first min
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:283 - _pad_extrema_rilling() : R: max earlier than min, last val smaller than last max
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd.sift:277 -              sd_stop() : Sift stopped by SD-thresh in 1 iters with sd 0.0020651997078075064
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd.support:214 - ensure_1d_with_singleton() : Checking get_next_imf inputs - Trimming trailing singletons from input 'X' (input size (5120, 1))
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'both' with method 'splrep'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:82 -   get_padded_extrema() : found 14 minima and 13 maxima on mode both
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:243 - _pad_extrema_rilling() : Padding 2 extrema in signal X (5120,) using method 'rilling'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:273 - _pad_extrema_rilling() : L: max later than min, first val smaller than first max
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:283 - _pad_extrema_rilling() : R: max earlier than min, last val smaller than last max
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd.sift:277 -              sd_stop() : Sift stopped by SD-thresh in 1 iters with sd 0.02765982166765569
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd.support:214 - ensure_1d_with_singleton() : Checking get_next_imf inputs - Trimming trailing singletons from input 'X' (input size (5120, 1))
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'both' with method 'splrep'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:82 -   get_padded_extrema() : found 13 minima and 14 maxima on mode both
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:243 - _pad_extrema_rilling() : Padding 2 extrema in signal X (5120,) using method 'rilling'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:258 - _pad_extrema_rilling() : L: max earlier than min, first val smaller than first min
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:297 - _pad_extrema_rilling() : R: max later than min, last val larger than last min
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd.sift:277 -              sd_stop() : Sift stopped by SD-thresh in 1 iters with sd 0.0015308563128207968
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd.support:214 - ensure_1d_with_singleton() : Checking get_next_imf inputs - Trimming trailing singletons from input 'X' (input size (5120, 1))
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'both' with method 'splrep'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:82 -   get_padded_extrema() : found 13 minima and 14 maxima on mode both
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:243 - _pad_extrema_rilling() : Padding 2 extrema in signal X (5120,) using method 'rilling'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:252 - _pad_extrema_rilling() : L: max earlier than min, first val larger than first min
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:297 - _pad_extrema_rilling() : R: max later than min, last val larger than last min
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd.sift:277 -              sd_stop() : Sift stopped by SD-thresh in 1 iters with sd 0.0005733279875171498
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd.sift:893 -    get_next_imf_mask() : Averaging across 4 proto IMFs
[2022-05-27 22:24:37] Subj001 : - INFO - emd.sift:1096 -            mask_sift() : Sifting IMF-8
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd.support:214 - ensure_1d_with_singleton() : Checking get_next_imf_mask inputs - Trimming trailing singletons from input 'X' (input size (5120, 1))
[2022-05-27 22:24:37] Subj001 : - INFO - emd.sift:867 -    get_next_imf_mask() : Defining masks with freq 0.0013263702392578125 and amp 8236.609552003994 at 4 phases
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd.support:214 - ensure_1d_with_singleton() : Checking get_next_imf inputs - Trimming trailing singletons from input 'X' (input size (5120, 1))
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'both' with method 'splrep'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:82 -   get_padded_extrema() : found 7 minima and 7 maxima on mode both
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:243 - _pad_extrema_rilling() : Padding 2 extrema in signal X (5120,) using method 'rilling'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:252 - _pad_extrema_rilling() : L: max earlier than min, first val larger than first min
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:283 - _pad_extrema_rilling() : R: max earlier than min, last val smaller than last max
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd.sift:277 -              sd_stop() : Sift stopped by SD-thresh in 1 iters with sd 0.0025662548040563766
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd.support:214 - ensure_1d_with_singleton() : Checking get_next_imf inputs - Trimming trailing singletons from input 'X' (input size (5120, 1))
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'both' with method 'splrep'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:82 -   get_padded_extrema() : found 7 minima and 7 maxima on mode both
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:243 - _pad_extrema_rilling() : Padding 2 extrema in signal X (5120,) using method 'rilling'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:273 - _pad_extrema_rilling() : L: max later than min, first val smaller than first max
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:297 - _pad_extrema_rilling() : R: max later than min, last val larger than last min
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd.sift:277 -              sd_stop() : Sift stopped by SD-thresh in 1 iters with sd 0.04154748808825137
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd.support:214 - ensure_1d_with_singleton() : Checking get_next_imf inputs - Trimming trailing singletons from input 'X' (input size (5120, 1))
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'both' with method 'splrep'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:82 -   get_padded_extrema() : found 6 minima and 7 maxima on mode both
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:243 - _pad_extrema_rilling() : Padding 2 extrema in signal X (5120,) using method 'rilling'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:258 - _pad_extrema_rilling() : L: max earlier than min, first val smaller than first min
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:297 - _pad_extrema_rilling() : R: max later than min, last val larger than last min
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd.sift:277 -              sd_stop() : Sift stopped by SD-thresh in 1 iters with sd 0.0019898373182546253
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd.support:214 - ensure_1d_with_singleton() : Checking get_next_imf inputs - Trimming trailing singletons from input 'X' (input size (5120, 1))
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'both' with method 'splrep'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:82 -   get_padded_extrema() : found 7 minima and 7 maxima on mode both
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:243 - _pad_extrema_rilling() : Padding 2 extrema in signal X (5120,) using method 'rilling'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:252 - _pad_extrema_rilling() : L: max earlier than min, first val larger than first min
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:283 - _pad_extrema_rilling() : R: max earlier than min, last val smaller than last max
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd.sift:277 -              sd_stop() : Sift stopped by SD-thresh in 1 iters with sd 0.0007059447316767184
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd.sift:893 -    get_next_imf_mask() : Averaging across 4 proto IMFs
[2022-05-27 22:24:37] Subj001 : - INFO - emd.sift:1113 -            mask_sift() : Finishing sift: reached max number of imfs (9)
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd.logger:282 -          sift_logger() : Returning 9 imfs
[2022-05-27 22:24:37] Subj001 : - INFO - emd.logger:287 -          sift_logger() : COMPLETED: mask_sift
[2022-05-27 22:24:37] Subj001 : - INFO - emd.logger:195 -            set_level() : EMD logger: handler 'console' level set to 'INFO'
[2022-05-27 22:24:37] Subj001 : - INFO - emd.spectra:85 -  frequency_transform() : STARTED: compute frequency stats
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd.spectra:90 -  frequency_transform() : computing on 5120 samples over 9 imfs at sample rate 512
[2022-05-27 22:24:37] Subj001 : - INFO - emd.spectra:103 -  frequency_transform() : Using Amplitude-Normalised Hilbert transform
[2022-05-27 22:24:37] Subj001 : - INFO - emd.imftools:61 -  amplitude_normalise() : STARTED: Amplitude-Normalise
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd.imftools:64 -  amplitude_normalise() : Normalising 5120 samples across 9 IMFs
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd.imftools:69 -  amplitude_normalise() : Using pchip interpolation with threshold of 1e-10 and max_iters 3
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'combined' with method 'pchip'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:95 -   get_padded_extrema() : found 1611 extrema on mode abs_peaks
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd._sift_core:167 -   _pad_extrema_numpy() : Padding 2 extrema in signal X 5120 using method 'numpypad'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'combined' with method 'pchip'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:95 -   get_padded_extrema() : found 1652 extrema on mode abs_peaks
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd._sift_core:167 -   _pad_extrema_numpy() : Padding 2 extrema in signal X 5120 using method 'numpypad'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'combined' with method 'pchip'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:95 -   get_padded_extrema() : found 1653 extrema on mode abs_peaks
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd._sift_core:167 -   _pad_extrema_numpy() : Padding 2 extrema in signal X 5120 using method 'numpypad'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'combined' with method 'pchip'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:95 -   get_padded_extrema() : found 1653 extrema on mode abs_peaks
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd._sift_core:167 -   _pad_extrema_numpy() : Padding 2 extrema in signal X 5120 using method 'numpypad'
[2022-05-27 22:24:37] Subj001 : - INFO - emd.imftools:112 -  amplitude_normalise() : Normalise of IMF-0-0 complete in 3 iters (val=0.0)
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'combined' with method 'pchip'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:95 -   get_padded_extrema() : found 1437 extrema on mode abs_peaks
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd._sift_core:167 -   _pad_extrema_numpy() : Padding 2 extrema in signal X 5120 using method 'numpypad'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'combined' with method 'pchip'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:95 -   get_padded_extrema() : found 1442 extrema on mode abs_peaks
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd._sift_core:167 -   _pad_extrema_numpy() : Padding 2 extrema in signal X 5120 using method 'numpypad'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'combined' with method 'pchip'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:95 -   get_padded_extrema() : found 1442 extrema on mode abs_peaks
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd._sift_core:167 -   _pad_extrema_numpy() : Padding 2 extrema in signal X 5120 using method 'numpypad'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'combined' with method 'pchip'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:95 -   get_padded_extrema() : found 1442 extrema on mode abs_peaks
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd._sift_core:167 -   _pad_extrema_numpy() : Padding 2 extrema in signal X 5120 using method 'numpypad'
[2022-05-27 22:24:37] Subj001 : - INFO - emd.imftools:112 -  amplitude_normalise() : Normalise of IMF-1-0 complete in 3 iters (val=0.0)
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'combined' with method 'pchip'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:95 -   get_padded_extrema() : found 763 extrema on mode abs_peaks
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd._sift_core:167 -   _pad_extrema_numpy() : Padding 2 extrema in signal X 5120 using method 'numpypad'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'combined' with method 'pchip'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:95 -   get_padded_extrema() : found 764 extrema on mode abs_peaks
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd._sift_core:167 -   _pad_extrema_numpy() : Padding 2 extrema in signal X 5120 using method 'numpypad'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'combined' with method 'pchip'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:95 -   get_padded_extrema() : found 764 extrema on mode abs_peaks
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd._sift_core:167 -   _pad_extrema_numpy() : Padding 2 extrema in signal X 5120 using method 'numpypad'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'combined' with method 'pchip'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:95 -   get_padded_extrema() : found 764 extrema on mode abs_peaks
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd._sift_core:167 -   _pad_extrema_numpy() : Padding 2 extrema in signal X 5120 using method 'numpypad'
[2022-05-27 22:24:37] Subj001 : - INFO - emd.imftools:112 -  amplitude_normalise() : Normalise of IMF-2-0 complete in 3 iters (val=0.0)
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'combined' with method 'pchip'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:95 -   get_padded_extrema() : found 256 extrema on mode abs_peaks
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd._sift_core:167 -   _pad_extrema_numpy() : Padding 2 extrema in signal X 5120 using method 'numpypad'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'combined' with method 'pchip'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:95 -   get_padded_extrema() : found 256 extrema on mode abs_peaks
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd._sift_core:167 -   _pad_extrema_numpy() : Padding 2 extrema in signal X 5120 using method 'numpypad'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'combined' with method 'pchip'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:95 -   get_padded_extrema() : found 256 extrema on mode abs_peaks
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd._sift_core:167 -   _pad_extrema_numpy() : Padding 2 extrema in signal X 5120 using method 'numpypad'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'combined' with method 'pchip'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:95 -   get_padded_extrema() : found 256 extrema on mode abs_peaks
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd._sift_core:167 -   _pad_extrema_numpy() : Padding 2 extrema in signal X 5120 using method 'numpypad'
[2022-05-27 22:24:37] Subj001 : - INFO - emd.imftools:112 -  amplitude_normalise() : Normalise of IMF-3-0 complete in 3 iters (val=0.0)
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'combined' with method 'pchip'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:95 -   get_padded_extrema() : found 226 extrema on mode abs_peaks
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd._sift_core:167 -   _pad_extrema_numpy() : Padding 2 extrema in signal X 5120 using method 'numpypad'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'combined' with method 'pchip'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:95 -   get_padded_extrema() : found 226 extrema on mode abs_peaks
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd._sift_core:167 -   _pad_extrema_numpy() : Padding 2 extrema in signal X 5120 using method 'numpypad'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'combined' with method 'pchip'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:95 -   get_padded_extrema() : found 226 extrema on mode abs_peaks
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd._sift_core:167 -   _pad_extrema_numpy() : Padding 2 extrema in signal X 5120 using method 'numpypad'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'combined' with method 'pchip'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:95 -   get_padded_extrema() : found 226 extrema on mode abs_peaks
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd._sift_core:167 -   _pad_extrema_numpy() : Padding 2 extrema in signal X 5120 using method 'numpypad'
[2022-05-27 22:24:37] Subj001 : - INFO - emd.imftools:112 -  amplitude_normalise() : Normalise of IMF-4-0 complete in 3 iters (val=0.0)
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'combined' with method 'pchip'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:95 -   get_padded_extrema() : found 87 extrema on mode abs_peaks
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd._sift_core:167 -   _pad_extrema_numpy() : Padding 2 extrema in signal X 5120 using method 'numpypad'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'combined' with method 'pchip'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:95 -   get_padded_extrema() : found 87 extrema on mode abs_peaks
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd._sift_core:167 -   _pad_extrema_numpy() : Padding 2 extrema in signal X 5120 using method 'numpypad'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'combined' with method 'pchip'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:95 -   get_padded_extrema() : found 87 extrema on mode abs_peaks
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd._sift_core:167 -   _pad_extrema_numpy() : Padding 2 extrema in signal X 5120 using method 'numpypad'
[2022-05-27 22:24:37] Subj001 : - INFO - emd.imftools:112 -  amplitude_normalise() : Normalise of IMF-5-0 complete in 2 iters (val=0.0)
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'combined' with method 'pchip'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:95 -   get_padded_extrema() : found 44 extrema on mode abs_peaks
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd._sift_core:167 -   _pad_extrema_numpy() : Padding 2 extrema in signal X 5120 using method 'numpypad'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'combined' with method 'pchip'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:95 -   get_padded_extrema() : found 44 extrema on mode abs_peaks
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd._sift_core:167 -   _pad_extrema_numpy() : Padding 2 extrema in signal X 5120 using method 'numpypad'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'combined' with method 'pchip'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:95 -   get_padded_extrema() : found 45 extrema on mode abs_peaks
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd._sift_core:167 -   _pad_extrema_numpy() : Padding 2 extrema in signal X 5120 using method 'numpypad'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'combined' with method 'pchip'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:95 -   get_padded_extrema() : found 45 extrema on mode abs_peaks
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd._sift_core:167 -   _pad_extrema_numpy() : Padding 2 extrema in signal X 5120 using method 'numpypad'
[2022-05-27 22:24:37] Subj001 : - INFO - emd.imftools:112 -  amplitude_normalise() : Normalise of IMF-6-0 complete in 3 iters (val=0.0)
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'combined' with method 'pchip'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:95 -   get_padded_extrema() : found 24 extrema on mode abs_peaks
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd._sift_core:167 -   _pad_extrema_numpy() : Padding 2 extrema in signal X 5120 using method 'numpypad'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'combined' with method 'pchip'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:95 -   get_padded_extrema() : found 24 extrema on mode abs_peaks
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd._sift_core:167 -   _pad_extrema_numpy() : Padding 2 extrema in signal X 5120 using method 'numpypad'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'combined' with method 'pchip'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:95 -   get_padded_extrema() : found 24 extrema on mode abs_peaks
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd._sift_core:167 -   _pad_extrema_numpy() : Padding 2 extrema in signal X 5120 using method 'numpypad'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'combined' with method 'pchip'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:95 -   get_padded_extrema() : found 24 extrema on mode abs_peaks
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd._sift_core:167 -   _pad_extrema_numpy() : Padding 2 extrema in signal X 5120 using method 'numpypad'
[2022-05-27 22:24:37] Subj001 : - INFO - emd.imftools:112 -  amplitude_normalise() : Normalise of IMF-7-0 complete in 3 iters (val=0.0)
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'combined' with method 'pchip'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:95 -   get_padded_extrema() : found 11 extrema on mode abs_peaks
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd._sift_core:167 -   _pad_extrema_numpy() : Padding 2 extrema in signal X 5120 using method 'numpypad'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'combined' with method 'pchip'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:95 -   get_padded_extrema() : found 11 extrema on mode abs_peaks
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd._sift_core:167 -   _pad_extrema_numpy() : Padding 2 extrema in signal X 5120 using method 'numpypad'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'combined' with method 'pchip'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:95 -   get_padded_extrema() : found 11 extrema on mode abs_peaks
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd._sift_core:167 -   _pad_extrema_numpy() : Padding 2 extrema in signal X 5120 using method 'numpypad'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'combined' with method 'pchip'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:95 -   get_padded_extrema() : found 11 extrema on mode abs_peaks
[2022-05-27 22:24:37] Subj001 : - VERBOSE - emd._sift_core:167 -   _pad_extrema_numpy() : Padding 2 extrema in signal X 5120 using method 'numpypad'
[2022-05-27 22:24:37] Subj001 : - INFO - emd.imftools:112 -  amplitude_normalise() : Normalise of IMF-8-0 complete in 3 iters (val=0.0)
[2022-05-27 22:24:37] Subj001 : - INFO - emd.imftools:122 -  amplitude_normalise() : COMPLETED: Amplitude-Normalise
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'upper' with method 'splrep'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:82 -   get_padded_extrema() : found 1826 minima and 1826 maxima on mode peaks
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:243 - _pad_extrema_rilling() : Padding 2 extrema in signal X (5120,) using method 'rilling'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:252 - _pad_extrema_rilling() : L: max earlier than min, first val larger than first min
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:289 - _pad_extrema_rilling() : R: max earlier than min, last val larger than last max
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'upper' with method 'splrep'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:82 -   get_padded_extrema() : found 777 minima and 777 maxima on mode peaks
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:243 - _pad_extrema_rilling() : Padding 2 extrema in signal X (5120,) using method 'rilling'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:273 - _pad_extrema_rilling() : L: max later than min, first val smaller than first max
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:297 - _pad_extrema_rilling() : R: max later than min, last val larger than last min
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'upper' with method 'splrep'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:82 -   get_padded_extrema() : found 395 minima and 396 maxima on mode peaks
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:243 - _pad_extrema_rilling() : Padding 2 extrema in signal X (5120,) using method 'rilling'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:252 - _pad_extrema_rilling() : L: max earlier than min, first val larger than first min
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:297 - _pad_extrema_rilling() : R: max later than min, last val larger than last min
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'upper' with method 'splrep'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:82 -   get_padded_extrema() : found 130 minima and 131 maxima on mode peaks
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:243 - _pad_extrema_rilling() : Padding 2 extrema in signal X (5120,) using method 'rilling'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:252 - _pad_extrema_rilling() : L: max earlier than min, first val larger than first min
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:297 - _pad_extrema_rilling() : R: max later than min, last val larger than last min
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'upper' with method 'splrep'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:82 -   get_padded_extrema() : found 116 minima and 115 maxima on mode peaks
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:243 - _pad_extrema_rilling() : Padding 2 extrema in signal X (5120,) using method 'rilling'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:273 - _pad_extrema_rilling() : L: max later than min, first val smaller than first max
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:283 - _pad_extrema_rilling() : R: max earlier than min, last val smaller than last max
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'upper' with method 'splrep'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:82 -   get_padded_extrema() : found 45 minima and 45 maxima on mode peaks
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:243 - _pad_extrema_rilling() : Padding 2 extrema in signal X (5120,) using method 'rilling'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:258 - _pad_extrema_rilling() : L: max earlier than min, first val smaller than first min
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:283 - _pad_extrema_rilling() : R: max earlier than min, last val smaller than last max
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'upper' with method 'splrep'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:82 -   get_padded_extrema() : found 23 minima and 24 maxima on mode peaks
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:243 - _pad_extrema_rilling() : Padding 2 extrema in signal X (5120,) using method 'rilling'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:258 - _pad_extrema_rilling() : L: max earlier than min, first val smaller than first min
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:297 - _pad_extrema_rilling() : R: max later than min, last val larger than last min
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'upper' with method 'splrep'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:82 -   get_padded_extrema() : found 13 minima and 14 maxima on mode peaks
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:243 - _pad_extrema_rilling() : Padding 2 extrema in signal X (5120,) using method 'rilling'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:258 - _pad_extrema_rilling() : L: max earlier than min, first val smaller than first min
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:297 - _pad_extrema_rilling() : R: max later than min, last val larger than last min
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'upper' with method 'splrep'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:82 -   get_padded_extrema() : found 6 minima and 7 maxima on mode peaks
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:243 - _pad_extrema_rilling() : Padding 2 extrema in signal X (5120,) using method 'rilling'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:252 - _pad_extrema_rilling() : L: max earlier than min, first val larger than first min
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd._sift_core:297 - _pad_extrema_rilling() : R: max later than min, last val larger than last min
[2022-05-27 22:24:37] Subj001 : - INFO - emd.spectra:194 -  frequency_transform() : COMPLETED: compute frequency stats. Returning 9 imfs
[2022-05-27 22:24:37] Subj001 : - INFO - emd.emd_tutorial_04_utils_02_logger:157 -          my_analysis() : Avg frequency of IMF-2 is 36.310268Hz
[2022-05-27 22:24:37] Subj001 : - INFO - emd.cycles:132 -     get_cycle_vector() : STARTED: get cycle indices
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd.support:258 -            ensure_2d() : Checking get_cycle_vector inputs - Adding dummy dimension to input 'mask'
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd.cycles:140 -     get_cycle_vector() : computing on 5120 samples over 9 IMFs
[2022-05-27 22:24:37] Subj001 : - DEBUG - emd.cycles:142 -     get_cycle_vector() : 5027 (98.18%) samples masked out
[2022-05-27 22:24:37] Subj001 : - INFO - emd.cycles:190 -     get_cycle_vector() : found 1 cycles in IMF-0
[2022-05-27 22:24:37] Subj001 : - INFO - emd.cycles:190 -     get_cycle_vector() : found 53 cycles in IMF-1
[2022-05-27 22:24:37] Subj001 : - INFO - emd.cycles:190 -     get_cycle_vector() : found 105 cycles in IMF-2
[2022-05-27 22:24:37] Subj001 : - INFO - emd.cycles:190 -     get_cycle_vector() : found 100 cycles in IMF-3
[2022-05-27 22:24:37] Subj001 : - INFO - emd.cycles:190 -     get_cycle_vector() : found 90 cycles in IMF-4
[2022-05-27 22:24:37] Subj001 : - INFO - emd.cycles:190 -     get_cycle_vector() : found 27 cycles in IMF-5
[2022-05-27 22:24:37] Subj001 : - INFO - emd.cycles:190 -     get_cycle_vector() : found 8 cycles in IMF-6
[2022-05-27 22:24:37] Subj001 : - INFO - emd.cycles:190 -     get_cycle_vector() : found 1 cycles in IMF-7
[2022-05-27 22:24:37] Subj001 : - INFO - emd.cycles:190 -     get_cycle_vector() : found 0 cycles in IMF-8
[2022-05-27 22:24:37] Subj001 : - INFO - emd.cycles:192 -     get_cycle_vector() : COMPLETED: get cycle indices
[2022-05-27 22:24:37] Subj001 : - INFO - emd.cycles:422 -       get_cycle_stat() : STARTED: get_cycle_stat
[2022-05-27 22:24:37] Subj001 : - INFO - emd.cycles:422 -       get_cycle_stat() : STARTED: get_cycle_stat
[2022-05-27 22:24:37] Subj001 : - INFO - emd.emd_tutorial_04_utils_02_logger:168 -          my_analysis() : Freq-Amp correlation: r=-0.366304
[2022-05-27 22:24:37] Subj001 : - INFO - emd.emd_tutorial_04_utils_02_logger:173 -          my_analysis() : My new analysis finished in 0.245931 seconds

If we want this extra detailed output in the console as well, we can specify the console_format when setting up the logger.

# Initialise logger with a verbose console format
emd.logger.set_up(level='DEBUG', prefix='Subj001', console_format='verbose')

# Run the analysis
freq, amp = my_analysis(x)

Out:

Subj001 EMD logger: handler 'console' level set to 'DEBUG'
[2022-05-27 22:24:37,535] Subj001 - INFO - emd.logger:220 -           set_format() : EMD logger: handler console format changed to verbose
[2022-05-27 22:24:37,536] Subj001 - INFO - emd.logger:180 -               set_up() : EMD Logger Started
[2022-05-27 22:24:37,539] Subj001 - VERBOSE - emd.logger:186 -               set_up() : EMD v0.5.4 installed in /home/docs/checkouts/readthedocs.org/user_builds/emd/envs/stable/lib/python3.7/site-packages/emd-0.5.4-py3.7.egg/emd
[2022-05-27 22:24:37,539] Subj001 - INFO - emd.emd_tutorial_04_utils_02_logger:149 -          my_analysis() : Starting my example analysis
[2022-05-27 22:24:37,539] Subj001 - INFO - emd.emd_tutorial_04_utils_02_logger:150 -          my_analysis() : ----------------------------
[2022-05-27 22:24:37,539] Subj001 - INFO - emd.logger:195 -            set_level() : EMD logger: handler 'console' level set to 'INFO'
[2022-05-27 22:24:37,539] Subj001 - INFO - emd.logger:261 -          sift_logger() : STARTED: mask_sift
[2022-05-27 22:24:37,539] Subj001 - INFO - emd.sift:921 -       get_mask_freqs() : Computing first mask frequency with method zc
[2022-05-27 22:24:37,539] Subj001 - INFO - emd.sift:922 -       get_mask_freqs() : Getting first IMF with no mask
[2022-05-27 22:24:37,545] Subj001 - INFO - emd.sift:930 -       get_mask_freqs() : Found first mask frequency of 0.33955078125
[2022-05-27 22:24:37,545] Subj001 - INFO - emd.sift:1096 -            mask_sift() : Sifting IMF-0
[2022-05-27 22:24:37,545] Subj001 - INFO - emd.sift:867 -    get_next_imf_mask() : Defining masks with freq 0.33955078125 and amp 8236.609552003994 at 4 phases
[2022-05-27 22:24:37,566] Subj001 - INFO - emd.sift:1096 -            mask_sift() : Sifting IMF-1
[2022-05-27 22:24:37,566] Subj001 - INFO - emd.sift:867 -    get_next_imf_mask() : Defining masks with freq 0.169775390625 and amp 8236.609552003994 at 4 phases
[2022-05-27 22:24:37,583] Subj001 - INFO - emd.sift:1096 -            mask_sift() : Sifting IMF-2
[2022-05-27 22:24:37,583] Subj001 - INFO - emd.sift:867 -    get_next_imf_mask() : Defining masks with freq 0.0848876953125 and amp 8236.609552003994 at 4 phases
[2022-05-27 22:24:37,598] Subj001 - INFO - emd.sift:1096 -            mask_sift() : Sifting IMF-3
[2022-05-27 22:24:37,599] Subj001 - INFO - emd.sift:867 -    get_next_imf_mask() : Defining masks with freq 0.04244384765625 and amp 8236.609552003994 at 4 phases
[2022-05-27 22:24:37,612] Subj001 - INFO - emd.sift:1096 -            mask_sift() : Sifting IMF-4
[2022-05-27 22:24:37,612] Subj001 - INFO - emd.sift:867 -    get_next_imf_mask() : Defining masks with freq 0.021221923828125 and amp 8236.609552003994 at 4 phases
[2022-05-27 22:24:37,620] Subj001 - INFO - emd.sift:1096 -            mask_sift() : Sifting IMF-5
[2022-05-27 22:24:37,621] Subj001 - INFO - emd.sift:867 -    get_next_imf_mask() : Defining masks with freq 0.0106109619140625 and amp 8236.609552003994 at 4 phases
[2022-05-27 22:24:37,628] Subj001 - INFO - emd.sift:1096 -            mask_sift() : Sifting IMF-6
[2022-05-27 22:24:37,629] Subj001 - INFO - emd.sift:867 -    get_next_imf_mask() : Defining masks with freq 0.00530548095703125 and amp 8236.609552003994 at 4 phases
[2022-05-27 22:24:37,637] Subj001 - INFO - emd.sift:1096 -            mask_sift() : Sifting IMF-7
[2022-05-27 22:24:37,637] Subj001 - INFO - emd.sift:867 -    get_next_imf_mask() : Defining masks with freq 0.002652740478515625 and amp 8236.609552003994 at 4 phases
[2022-05-27 22:24:37,646] Subj001 - INFO - emd.sift:1096 -            mask_sift() : Sifting IMF-8
[2022-05-27 22:24:37,646] Subj001 - INFO - emd.sift:867 -    get_next_imf_mask() : Defining masks with freq 0.0013263702392578125 and amp 8236.609552003994 at 4 phases
[2022-05-27 22:24:37,656] Subj001 - INFO - emd.sift:1113 -            mask_sift() : Finishing sift: reached max number of imfs (9)
[2022-05-27 22:24:37,656] Subj001 - INFO - emd.logger:287 -          sift_logger() : COMPLETED: mask_sift
[2022-05-27 22:24:37,656] Subj001 - INFO - emd.logger:195 -            set_level() : EMD logger: handler 'console' level set to 'DEBUG'
[2022-05-27 22:24:37,656] Subj001 - INFO - emd.spectra:85 -  frequency_transform() : STARTED: compute frequency stats
[2022-05-27 22:24:37,656] Subj001 - DEBUG - emd.spectra:90 -  frequency_transform() : computing on 5120 samples over 9 imfs at sample rate 512
[2022-05-27 22:24:37,656] Subj001 - INFO - emd.spectra:103 -  frequency_transform() : Using Amplitude-Normalised Hilbert transform
[2022-05-27 22:24:37,656] Subj001 - INFO - emd.imftools:61 -  amplitude_normalise() : STARTED: Amplitude-Normalise
[2022-05-27 22:24:37,656] Subj001 - DEBUG - emd.imftools:64 -  amplitude_normalise() : Normalising 5120 samples across 9 IMFs
[2022-05-27 22:24:37,656] Subj001 - DEBUG - emd.imftools:69 -  amplitude_normalise() : Using pchip interpolation with threshold of 1e-10 and max_iters 3
[2022-05-27 22:24:37,656] Subj001 - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'combined' with method 'pchip'
[2022-05-27 22:24:37,656] Subj001 - DEBUG - emd._sift_core:95 -   get_padded_extrema() : found 1611 extrema on mode abs_peaks
[2022-05-27 22:24:37,657] Subj001 - VERBOSE - emd._sift_core:167 -   _pad_extrema_numpy() : Padding 2 extrema in signal X 5120 using method 'numpypad'
[2022-05-27 22:24:37,658] Subj001 - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'combined' with method 'pchip'
[2022-05-27 22:24:37,658] Subj001 - DEBUG - emd._sift_core:95 -   get_padded_extrema() : found 1652 extrema on mode abs_peaks
[2022-05-27 22:24:37,658] Subj001 - VERBOSE - emd._sift_core:167 -   _pad_extrema_numpy() : Padding 2 extrema in signal X 5120 using method 'numpypad'
[2022-05-27 22:24:37,659] Subj001 - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'combined' with method 'pchip'
[2022-05-27 22:24:37,659] Subj001 - DEBUG - emd._sift_core:95 -   get_padded_extrema() : found 1653 extrema on mode abs_peaks
[2022-05-27 22:24:37,659] Subj001 - VERBOSE - emd._sift_core:167 -   _pad_extrema_numpy() : Padding 2 extrema in signal X 5120 using method 'numpypad'
[2022-05-27 22:24:37,660] Subj001 - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'combined' with method 'pchip'
[2022-05-27 22:24:37,661] Subj001 - DEBUG - emd._sift_core:95 -   get_padded_extrema() : found 1653 extrema on mode abs_peaks
[2022-05-27 22:24:37,661] Subj001 - VERBOSE - emd._sift_core:167 -   _pad_extrema_numpy() : Padding 2 extrema in signal X 5120 using method 'numpypad'
[2022-05-27 22:24:37,662] Subj001 - INFO - emd.imftools:112 -  amplitude_normalise() : Normalise of IMF-0-0 complete in 3 iters (val=0.0)
[2022-05-27 22:24:37,662] Subj001 - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'combined' with method 'pchip'
[2022-05-27 22:24:37,662] Subj001 - DEBUG - emd._sift_core:95 -   get_padded_extrema() : found 1437 extrema on mode abs_peaks
[2022-05-27 22:24:37,662] Subj001 - VERBOSE - emd._sift_core:167 -   _pad_extrema_numpy() : Padding 2 extrema in signal X 5120 using method 'numpypad'
[2022-05-27 22:24:37,663] Subj001 - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'combined' with method 'pchip'
[2022-05-27 22:24:37,663] Subj001 - DEBUG - emd._sift_core:95 -   get_padded_extrema() : found 1442 extrema on mode abs_peaks
[2022-05-27 22:24:37,663] Subj001 - VERBOSE - emd._sift_core:167 -   _pad_extrema_numpy() : Padding 2 extrema in signal X 5120 using method 'numpypad'
[2022-05-27 22:24:37,664] Subj001 - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'combined' with method 'pchip'
[2022-05-27 22:24:37,665] Subj001 - DEBUG - emd._sift_core:95 -   get_padded_extrema() : found 1442 extrema on mode abs_peaks
[2022-05-27 22:24:37,665] Subj001 - VERBOSE - emd._sift_core:167 -   _pad_extrema_numpy() : Padding 2 extrema in signal X 5120 using method 'numpypad'
[2022-05-27 22:24:37,666] Subj001 - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'combined' with method 'pchip'
[2022-05-27 22:24:37,666] Subj001 - DEBUG - emd._sift_core:95 -   get_padded_extrema() : found 1442 extrema on mode abs_peaks
[2022-05-27 22:24:37,666] Subj001 - VERBOSE - emd._sift_core:167 -   _pad_extrema_numpy() : Padding 2 extrema in signal X 5120 using method 'numpypad'
[2022-05-27 22:24:37,667] Subj001 - INFO - emd.imftools:112 -  amplitude_normalise() : Normalise of IMF-1-0 complete in 3 iters (val=0.0)
[2022-05-27 22:24:37,667] Subj001 - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'combined' with method 'pchip'
[2022-05-27 22:24:37,667] Subj001 - DEBUG - emd._sift_core:95 -   get_padded_extrema() : found 763 extrema on mode abs_peaks
[2022-05-27 22:24:37,668] Subj001 - VERBOSE - emd._sift_core:167 -   _pad_extrema_numpy() : Padding 2 extrema in signal X 5120 using method 'numpypad'
[2022-05-27 22:24:37,668] Subj001 - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'combined' with method 'pchip'
[2022-05-27 22:24:37,669] Subj001 - DEBUG - emd._sift_core:95 -   get_padded_extrema() : found 764 extrema on mode abs_peaks
[2022-05-27 22:24:37,669] Subj001 - VERBOSE - emd._sift_core:167 -   _pad_extrema_numpy() : Padding 2 extrema in signal X 5120 using method 'numpypad'
[2022-05-27 22:24:37,670] Subj001 - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'combined' with method 'pchip'
[2022-05-27 22:24:37,670] Subj001 - DEBUG - emd._sift_core:95 -   get_padded_extrema() : found 764 extrema on mode abs_peaks
[2022-05-27 22:24:37,670] Subj001 - VERBOSE - emd._sift_core:167 -   _pad_extrema_numpy() : Padding 2 extrema in signal X 5120 using method 'numpypad'
[2022-05-27 22:24:37,671] Subj001 - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'combined' with method 'pchip'
[2022-05-27 22:24:37,671] Subj001 - DEBUG - emd._sift_core:95 -   get_padded_extrema() : found 764 extrema on mode abs_peaks
[2022-05-27 22:24:37,671] Subj001 - VERBOSE - emd._sift_core:167 -   _pad_extrema_numpy() : Padding 2 extrema in signal X 5120 using method 'numpypad'
[2022-05-27 22:24:37,672] Subj001 - INFO - emd.imftools:112 -  amplitude_normalise() : Normalise of IMF-2-0 complete in 3 iters (val=0.0)
[2022-05-27 22:24:37,672] Subj001 - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'combined' with method 'pchip'
[2022-05-27 22:24:37,673] Subj001 - DEBUG - emd._sift_core:95 -   get_padded_extrema() : found 256 extrema on mode abs_peaks
[2022-05-27 22:24:37,673] Subj001 - VERBOSE - emd._sift_core:167 -   _pad_extrema_numpy() : Padding 2 extrema in signal X 5120 using method 'numpypad'
[2022-05-27 22:24:37,674] Subj001 - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'combined' with method 'pchip'
[2022-05-27 22:24:37,674] Subj001 - DEBUG - emd._sift_core:95 -   get_padded_extrema() : found 256 extrema on mode abs_peaks
[2022-05-27 22:24:37,674] Subj001 - VERBOSE - emd._sift_core:167 -   _pad_extrema_numpy() : Padding 2 extrema in signal X 5120 using method 'numpypad'
[2022-05-27 22:24:37,675] Subj001 - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'combined' with method 'pchip'
[2022-05-27 22:24:37,675] Subj001 - DEBUG - emd._sift_core:95 -   get_padded_extrema() : found 256 extrema on mode abs_peaks
[2022-05-27 22:24:37,675] Subj001 - VERBOSE - emd._sift_core:167 -   _pad_extrema_numpy() : Padding 2 extrema in signal X 5120 using method 'numpypad'
[2022-05-27 22:24:37,676] Subj001 - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'combined' with method 'pchip'
[2022-05-27 22:24:37,676] Subj001 - DEBUG - emd._sift_core:95 -   get_padded_extrema() : found 256 extrema on mode abs_peaks
[2022-05-27 22:24:37,676] Subj001 - VERBOSE - emd._sift_core:167 -   _pad_extrema_numpy() : Padding 2 extrema in signal X 5120 using method 'numpypad'
[2022-05-27 22:24:37,677] Subj001 - INFO - emd.imftools:112 -  amplitude_normalise() : Normalise of IMF-3-0 complete in 3 iters (val=0.0)
[2022-05-27 22:24:37,677] Subj001 - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'combined' with method 'pchip'
[2022-05-27 22:24:37,678] Subj001 - DEBUG - emd._sift_core:95 -   get_padded_extrema() : found 226 extrema on mode abs_peaks
[2022-05-27 22:24:37,678] Subj001 - VERBOSE - emd._sift_core:167 -   _pad_extrema_numpy() : Padding 2 extrema in signal X 5120 using method 'numpypad'
[2022-05-27 22:24:37,679] Subj001 - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'combined' with method 'pchip'
[2022-05-27 22:24:37,679] Subj001 - DEBUG - emd._sift_core:95 -   get_padded_extrema() : found 226 extrema on mode abs_peaks
[2022-05-27 22:24:37,679] Subj001 - VERBOSE - emd._sift_core:167 -   _pad_extrema_numpy() : Padding 2 extrema in signal X 5120 using method 'numpypad'
[2022-05-27 22:24:37,680] Subj001 - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'combined' with method 'pchip'
[2022-05-27 22:24:37,680] Subj001 - DEBUG - emd._sift_core:95 -   get_padded_extrema() : found 226 extrema on mode abs_peaks
[2022-05-27 22:24:37,680] Subj001 - VERBOSE - emd._sift_core:167 -   _pad_extrema_numpy() : Padding 2 extrema in signal X 5120 using method 'numpypad'
[2022-05-27 22:24:37,681] Subj001 - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'combined' with method 'pchip'
[2022-05-27 22:24:37,681] Subj001 - DEBUG - emd._sift_core:95 -   get_padded_extrema() : found 226 extrema on mode abs_peaks
[2022-05-27 22:24:37,681] Subj001 - VERBOSE - emd._sift_core:167 -   _pad_extrema_numpy() : Padding 2 extrema in signal X 5120 using method 'numpypad'
[2022-05-27 22:24:37,682] Subj001 - INFO - emd.imftools:112 -  amplitude_normalise() : Normalise of IMF-4-0 complete in 3 iters (val=0.0)
[2022-05-27 22:24:37,682] Subj001 - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'combined' with method 'pchip'
[2022-05-27 22:24:37,683] Subj001 - DEBUG - emd._sift_core:95 -   get_padded_extrema() : found 87 extrema on mode abs_peaks
[2022-05-27 22:24:37,683] Subj001 - VERBOSE - emd._sift_core:167 -   _pad_extrema_numpy() : Padding 2 extrema in signal X 5120 using method 'numpypad'
[2022-05-27 22:24:37,683] Subj001 - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'combined' with method 'pchip'
[2022-05-27 22:24:37,684] Subj001 - DEBUG - emd._sift_core:95 -   get_padded_extrema() : found 87 extrema on mode abs_peaks
[2022-05-27 22:24:37,684] Subj001 - VERBOSE - emd._sift_core:167 -   _pad_extrema_numpy() : Padding 2 extrema in signal X 5120 using method 'numpypad'
[2022-05-27 22:24:37,685] Subj001 - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'combined' with method 'pchip'
[2022-05-27 22:24:37,685] Subj001 - DEBUG - emd._sift_core:95 -   get_padded_extrema() : found 87 extrema on mode abs_peaks
[2022-05-27 22:24:37,685] Subj001 - VERBOSE - emd._sift_core:167 -   _pad_extrema_numpy() : Padding 2 extrema in signal X 5120 using method 'numpypad'
[2022-05-27 22:24:37,686] Subj001 - INFO - emd.imftools:112 -  amplitude_normalise() : Normalise of IMF-5-0 complete in 2 iters (val=0.0)
[2022-05-27 22:24:37,686] Subj001 - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'combined' with method 'pchip'
[2022-05-27 22:24:37,686] Subj001 - DEBUG - emd._sift_core:95 -   get_padded_extrema() : found 44 extrema on mode abs_peaks
[2022-05-27 22:24:37,686] Subj001 - VERBOSE - emd._sift_core:167 -   _pad_extrema_numpy() : Padding 2 extrema in signal X 5120 using method 'numpypad'
[2022-05-27 22:24:37,687] Subj001 - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'combined' with method 'pchip'
[2022-05-27 22:24:37,687] Subj001 - DEBUG - emd._sift_core:95 -   get_padded_extrema() : found 44 extrema on mode abs_peaks
[2022-05-27 22:24:37,687] Subj001 - VERBOSE - emd._sift_core:167 -   _pad_extrema_numpy() : Padding 2 extrema in signal X 5120 using method 'numpypad'
[2022-05-27 22:24:37,688] Subj001 - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'combined' with method 'pchip'
[2022-05-27 22:24:37,688] Subj001 - DEBUG - emd._sift_core:95 -   get_padded_extrema() : found 45 extrema on mode abs_peaks
[2022-05-27 22:24:37,688] Subj001 - VERBOSE - emd._sift_core:167 -   _pad_extrema_numpy() : Padding 2 extrema in signal X 5120 using method 'numpypad'
[2022-05-27 22:24:37,689] Subj001 - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'combined' with method 'pchip'
[2022-05-27 22:24:37,689] Subj001 - DEBUG - emd._sift_core:95 -   get_padded_extrema() : found 45 extrema on mode abs_peaks
[2022-05-27 22:24:37,689] Subj001 - VERBOSE - emd._sift_core:167 -   _pad_extrema_numpy() : Padding 2 extrema in signal X 5120 using method 'numpypad'
[2022-05-27 22:24:37,690] Subj001 - INFO - emd.imftools:112 -  amplitude_normalise() : Normalise of IMF-6-0 complete in 3 iters (val=0.0)
[2022-05-27 22:24:37,690] Subj001 - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'combined' with method 'pchip'
[2022-05-27 22:24:37,691] Subj001 - DEBUG - emd._sift_core:95 -   get_padded_extrema() : found 24 extrema on mode abs_peaks
[2022-05-27 22:24:37,691] Subj001 - VERBOSE - emd._sift_core:167 -   _pad_extrema_numpy() : Padding 2 extrema in signal X 5120 using method 'numpypad'
[2022-05-27 22:24:37,691] Subj001 - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'combined' with method 'pchip'
[2022-05-27 22:24:37,692] Subj001 - DEBUG - emd._sift_core:95 -   get_padded_extrema() : found 24 extrema on mode abs_peaks
[2022-05-27 22:24:37,692] Subj001 - VERBOSE - emd._sift_core:167 -   _pad_extrema_numpy() : Padding 2 extrema in signal X 5120 using method 'numpypad'
[2022-05-27 22:24:37,693] Subj001 - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'combined' with method 'pchip'
[2022-05-27 22:24:37,693] Subj001 - DEBUG - emd._sift_core:95 -   get_padded_extrema() : found 24 extrema on mode abs_peaks
[2022-05-27 22:24:37,693] Subj001 - VERBOSE - emd._sift_core:167 -   _pad_extrema_numpy() : Padding 2 extrema in signal X 5120 using method 'numpypad'
[2022-05-27 22:24:37,694] Subj001 - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'combined' with method 'pchip'
[2022-05-27 22:24:37,694] Subj001 - DEBUG - emd._sift_core:95 -   get_padded_extrema() : found 24 extrema on mode abs_peaks
[2022-05-27 22:24:37,694] Subj001 - VERBOSE - emd._sift_core:167 -   _pad_extrema_numpy() : Padding 2 extrema in signal X 5120 using method 'numpypad'
[2022-05-27 22:24:37,695] Subj001 - INFO - emd.imftools:112 -  amplitude_normalise() : Normalise of IMF-7-0 complete in 3 iters (val=0.0)
[2022-05-27 22:24:37,695] Subj001 - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'combined' with method 'pchip'
[2022-05-27 22:24:37,695] Subj001 - DEBUG - emd._sift_core:95 -   get_padded_extrema() : found 11 extrema on mode abs_peaks
[2022-05-27 22:24:37,695] Subj001 - VERBOSE - emd._sift_core:167 -   _pad_extrema_numpy() : Padding 2 extrema in signal X 5120 using method 'numpypad'
[2022-05-27 22:24:37,696] Subj001 - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'combined' with method 'pchip'
[2022-05-27 22:24:37,696] Subj001 - DEBUG - emd._sift_core:95 -   get_padded_extrema() : found 11 extrema on mode abs_peaks
[2022-05-27 22:24:37,696] Subj001 - VERBOSE - emd._sift_core:167 -   _pad_extrema_numpy() : Padding 2 extrema in signal X 5120 using method 'numpypad'
[2022-05-27 22:24:37,697] Subj001 - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'combined' with method 'pchip'
[2022-05-27 22:24:37,697] Subj001 - DEBUG - emd._sift_core:95 -   get_padded_extrema() : found 11 extrema on mode abs_peaks
[2022-05-27 22:24:37,698] Subj001 - VERBOSE - emd._sift_core:167 -   _pad_extrema_numpy() : Padding 2 extrema in signal X 5120 using method 'numpypad'
[2022-05-27 22:24:37,698] Subj001 - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'combined' with method 'pchip'
[2022-05-27 22:24:37,699] Subj001 - DEBUG - emd._sift_core:95 -   get_padded_extrema() : found 11 extrema on mode abs_peaks
[2022-05-27 22:24:37,699] Subj001 - VERBOSE - emd._sift_core:167 -   _pad_extrema_numpy() : Padding 2 extrema in signal X 5120 using method 'numpypad'
[2022-05-27 22:24:37,699] Subj001 - INFO - emd.imftools:112 -  amplitude_normalise() : Normalise of IMF-8-0 complete in 3 iters (val=0.0)
[2022-05-27 22:24:37,700] Subj001 - INFO - emd.imftools:122 -  amplitude_normalise() : COMPLETED: Amplitude-Normalise
[2022-05-27 22:24:37,701] Subj001 - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'upper' with method 'splrep'
[2022-05-27 22:24:37,702] Subj001 - DEBUG - emd._sift_core:82 -   get_padded_extrema() : found 1826 minima and 1826 maxima on mode peaks
[2022-05-27 22:24:37,702] Subj001 - DEBUG - emd._sift_core:243 - _pad_extrema_rilling() : Padding 2 extrema in signal X (5120,) using method 'rilling'
[2022-05-27 22:24:37,702] Subj001 - DEBUG - emd._sift_core:252 - _pad_extrema_rilling() : L: max earlier than min, first val larger than first min
[2022-05-27 22:24:37,702] Subj001 - DEBUG - emd._sift_core:289 - _pad_extrema_rilling() : R: max earlier than min, last val larger than last max
[2022-05-27 22:24:37,704] Subj001 - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'upper' with method 'splrep'
[2022-05-27 22:24:37,704] Subj001 - DEBUG - emd._sift_core:82 -   get_padded_extrema() : found 777 minima and 777 maxima on mode peaks
[2022-05-27 22:24:37,704] Subj001 - DEBUG - emd._sift_core:243 - _pad_extrema_rilling() : Padding 2 extrema in signal X (5120,) using method 'rilling'
[2022-05-27 22:24:37,704] Subj001 - DEBUG - emd._sift_core:273 - _pad_extrema_rilling() : L: max later than min, first val smaller than first max
[2022-05-27 22:24:37,704] Subj001 - DEBUG - emd._sift_core:297 - _pad_extrema_rilling() : R: max later than min, last val larger than last min
[2022-05-27 22:24:37,705] Subj001 - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'upper' with method 'splrep'
[2022-05-27 22:24:37,705] Subj001 - DEBUG - emd._sift_core:82 -   get_padded_extrema() : found 395 minima and 396 maxima on mode peaks
[2022-05-27 22:24:37,705] Subj001 - DEBUG - emd._sift_core:243 - _pad_extrema_rilling() : Padding 2 extrema in signal X (5120,) using method 'rilling'
[2022-05-27 22:24:37,705] Subj001 - DEBUG - emd._sift_core:252 - _pad_extrema_rilling() : L: max earlier than min, first val larger than first min
[2022-05-27 22:24:37,705] Subj001 - DEBUG - emd._sift_core:297 - _pad_extrema_rilling() : R: max later than min, last val larger than last min
[2022-05-27 22:24:37,706] Subj001 - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'upper' with method 'splrep'
[2022-05-27 22:24:37,707] Subj001 - DEBUG - emd._sift_core:82 -   get_padded_extrema() : found 130 minima and 131 maxima on mode peaks
[2022-05-27 22:24:37,707] Subj001 - DEBUG - emd._sift_core:243 - _pad_extrema_rilling() : Padding 2 extrema in signal X (5120,) using method 'rilling'
[2022-05-27 22:24:37,707] Subj001 - DEBUG - emd._sift_core:252 - _pad_extrema_rilling() : L: max earlier than min, first val larger than first min
[2022-05-27 22:24:37,707] Subj001 - DEBUG - emd._sift_core:297 - _pad_extrema_rilling() : R: max later than min, last val larger than last min
[2022-05-27 22:24:37,707] Subj001 - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'upper' with method 'splrep'
[2022-05-27 22:24:37,708] Subj001 - DEBUG - emd._sift_core:82 -   get_padded_extrema() : found 116 minima and 115 maxima on mode peaks
[2022-05-27 22:24:37,708] Subj001 - DEBUG - emd._sift_core:243 - _pad_extrema_rilling() : Padding 2 extrema in signal X (5120,) using method 'rilling'
[2022-05-27 22:24:37,708] Subj001 - DEBUG - emd._sift_core:273 - _pad_extrema_rilling() : L: max later than min, first val smaller than first max
[2022-05-27 22:24:37,708] Subj001 - DEBUG - emd._sift_core:283 - _pad_extrema_rilling() : R: max earlier than min, last val smaller than last max
[2022-05-27 22:24:37,709] Subj001 - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'upper' with method 'splrep'
[2022-05-27 22:24:37,709] Subj001 - DEBUG - emd._sift_core:82 -   get_padded_extrema() : found 45 minima and 45 maxima on mode peaks
[2022-05-27 22:24:37,709] Subj001 - DEBUG - emd._sift_core:243 - _pad_extrema_rilling() : Padding 2 extrema in signal X (5120,) using method 'rilling'
[2022-05-27 22:24:37,709] Subj001 - DEBUG - emd._sift_core:258 - _pad_extrema_rilling() : L: max earlier than min, first val smaller than first min
[2022-05-27 22:24:37,709] Subj001 - DEBUG - emd._sift_core:283 - _pad_extrema_rilling() : R: max earlier than min, last val smaller than last max
[2022-05-27 22:24:37,710] Subj001 - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'upper' with method 'splrep'
[2022-05-27 22:24:37,710] Subj001 - DEBUG - emd._sift_core:82 -   get_padded_extrema() : found 23 minima and 24 maxima on mode peaks
[2022-05-27 22:24:37,710] Subj001 - DEBUG - emd._sift_core:243 - _pad_extrema_rilling() : Padding 2 extrema in signal X (5120,) using method 'rilling'
[2022-05-27 22:24:37,711] Subj001 - DEBUG - emd._sift_core:258 - _pad_extrema_rilling() : L: max earlier than min, first val smaller than first min
[2022-05-27 22:24:37,711] Subj001 - DEBUG - emd._sift_core:297 - _pad_extrema_rilling() : R: max later than min, last val larger than last min
[2022-05-27 22:24:37,711] Subj001 - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'upper' with method 'splrep'
[2022-05-27 22:24:37,712] Subj001 - DEBUG - emd._sift_core:82 -   get_padded_extrema() : found 13 minima and 14 maxima on mode peaks
[2022-05-27 22:24:37,712] Subj001 - DEBUG - emd._sift_core:243 - _pad_extrema_rilling() : Padding 2 extrema in signal X (5120,) using method 'rilling'
[2022-05-27 22:24:37,712] Subj001 - DEBUG - emd._sift_core:258 - _pad_extrema_rilling() : L: max earlier than min, first val smaller than first min
[2022-05-27 22:24:37,712] Subj001 - DEBUG - emd._sift_core:297 - _pad_extrema_rilling() : R: max later than min, last val larger than last min
[2022-05-27 22:24:37,713] Subj001 - DEBUG - emd._sift_core:484 -      interp_envelope() : Interpolating 'upper' with method 'splrep'
[2022-05-27 22:24:37,713] Subj001 - DEBUG - emd._sift_core:82 -   get_padded_extrema() : found 6 minima and 7 maxima on mode peaks
[2022-05-27 22:24:37,713] Subj001 - DEBUG - emd._sift_core:243 - _pad_extrema_rilling() : Padding 2 extrema in signal X (5120,) using method 'rilling'
[2022-05-27 22:24:37,713] Subj001 - DEBUG - emd._sift_core:252 - _pad_extrema_rilling() : L: max earlier than min, first val larger than first min
[2022-05-27 22:24:37,713] Subj001 - DEBUG - emd._sift_core:297 - _pad_extrema_rilling() : R: max later than min, last val larger than last min
[2022-05-27 22:24:37,728] Subj001 - INFO - emd.spectra:194 -  frequency_transform() : COMPLETED: compute frequency stats. Returning 9 imfs
[2022-05-27 22:24:37,728] Subj001 - INFO - emd.emd_tutorial_04_utils_02_logger:157 -          my_analysis() : Avg frequency of IMF-2 is 36.310268Hz
[2022-05-27 22:24:37,728] Subj001 - INFO - emd.cycles:132 -     get_cycle_vector() : STARTED: get cycle indices
[2022-05-27 22:24:37,728] Subj001 - DEBUG - emd.support:258 -            ensure_2d() : Checking get_cycle_vector inputs - Adding dummy dimension to input 'mask'
[2022-05-27 22:24:37,728] Subj001 - DEBUG - emd.cycles:140 -     get_cycle_vector() : computing on 5120 samples over 9 IMFs
[2022-05-27 22:24:37,728] Subj001 - DEBUG - emd.cycles:142 -     get_cycle_vector() : 5027 (98.18%) samples masked out
[2022-05-27 22:24:37,732] Subj001 - INFO - emd.cycles:190 -     get_cycle_vector() : found 1 cycles in IMF-0
[2022-05-27 22:24:37,744] Subj001 - INFO - emd.cycles:190 -     get_cycle_vector() : found 53 cycles in IMF-1
[2022-05-27 22:24:37,751] Subj001 - INFO - emd.cycles:190 -     get_cycle_vector() : found 105 cycles in IMF-2
[2022-05-27 22:24:37,753] Subj001 - INFO - emd.cycles:190 -     get_cycle_vector() : found 100 cycles in IMF-3
[2022-05-27 22:24:37,756] Subj001 - INFO - emd.cycles:190 -     get_cycle_vector() : found 90 cycles in IMF-4
[2022-05-27 22:24:37,757] Subj001 - INFO - emd.cycles:190 -     get_cycle_vector() : found 27 cycles in IMF-5
[2022-05-27 22:24:37,758] Subj001 - INFO - emd.cycles:190 -     get_cycle_vector() : found 8 cycles in IMF-6
[2022-05-27 22:24:37,758] Subj001 - INFO - emd.cycles:190 -     get_cycle_vector() : found 1 cycles in IMF-7
[2022-05-27 22:24:37,758] Subj001 - INFO - emd.cycles:190 -     get_cycle_vector() : found 0 cycles in IMF-8
[2022-05-27 22:24:37,758] Subj001 - INFO - emd.cycles:192 -     get_cycle_vector() : COMPLETED: get cycle indices
[2022-05-27 22:24:37,759] Subj001 - INFO - emd.cycles:422 -       get_cycle_stat() : STARTED: get_cycle_stat
[2022-05-27 22:24:37,762] Subj001 - INFO - emd.cycles:422 -       get_cycle_stat() : STARTED: get_cycle_stat
[2022-05-27 22:24:37,765] Subj001 - INFO - emd.emd_tutorial_04_utils_02_logger:168 -          my_analysis() : Freq-Amp correlation: r=-0.366304
[2022-05-27 22:24:37,765] Subj001 - INFO - emd.emd_tutorial_04_utils_02_logger:173 -          my_analysis() : My new analysis finished in 0.226214 seconds

Total running time of the script: ( 0 minutes 1.405 seconds)

Gallery generated by Sphinx-Gallery