isolate_traces: Isolation of Two Traces

View source: R/userFunctions.R

isolate_tracesR Documentation

Isolation of Two Traces

Description

Uses envelopes to create two different matrices with one trace on each

Usage

isolate_traces(
  imageMatrix,
  topEnvelope,
  topLowerEnvelope,
  bottomUpperEnvelope,
  bottomEnvelope
)

Arguments

imageMatrix

The processed Image matrix with import_process_image() and trimmed if applicable

topEnvelope

Top envelope for the top trace (scaled to your matrix correctly)

topLowerEnvelope

Bottom envelope for the top trace (scaled to your matrix correctly)

bottomUpperEnvelope

The top envelope for the second trace (scaled to your matrix correctly)

bottomEnvelope

Bottom envelope for the bottom trace (scaled to your matrix correctly)

Details

NOTE: make sure that your envelopes are scaled to your matrix

Value

list of both isolated trace matrices


Bott-binc/magnetoPackage2020 documentation built on Oct. 12, 2024, 7:49 p.m.