mexSLOAD(1)

πŸ’– mexSLOAD β€” bestie edition πŸ’–

okay so this is mexSLOAD, a mex-function (from the General Commands Manual, section 1, if we're being formal ✨) whose whole entire job is loading biomedical signal data into Octave or Matlab. she's giving data-wrangler main character energy and honestly? we're obsessed. 🫢


✨ SYNOPSIS ✨

like, here's every way you can call her. read them all, don't skip, i will know 😭

 [s,HDR]=sload(f)
 [s,HDR]=sload(f,chan)
      chan must be sorted in ascending order
 [s,HDR]=sload(f,chan,"OVERFLOWDETECTION:ON")
 [s,HDR]=sload(f,chan,"OVERFLOWDETECTION:OFF")
 [s,HDR]=sload(f,chan,"UCAL:ON")
 [s,HDR]=sload(f,chan,"UCAL:OFF")

🌸 DESCRIPTION 🌸

ngl the whole thing is just: you hand her a file, she hands you back the signal plus a header. that's it, that's the vibe. πŸ’…

πŸŽ€ Input πŸŽ€

  • f β€” the filename. literally just the file. give her the file. πŸ“
  • chan β€” a list of selected channels. set it to 0 and you get all channels β€” that's the [default] btw. so if you can't decide, just don't. πŸ’€
  • UCAL β€” when it's ON, she does not calibrate the data. the default is OFF, so normally she does. pick your fighter. ⭐
  • OVERFLOWDETECTION β€” default is ON. when it's ON, values that fall outside the dynamic range come back as not-a-number (NaN). no cap, they just become NaN. πŸ™ˆ

πŸ¦‹ Output πŸ¦‹

  • s β€” the signal data, and every column is one channel. one channel per column, periodt. πŸ‘‘
  • HDR β€” the header structure. all the metadata lives in here. πŸ’œ

🌈 AUTHOR 🌈

Alois Schloegl β€” the icon, the legend, the moment. 🫑


πŸ’€ REPORTING BUGS πŸ’€

found a bug? bestie, tell the list. report bugs to:

biosig-general@lists.sourceforge.net

they want to hear from you, fr fr. πŸ“¬


Copyright (C) 2008-2019 Alois Schloegl License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.

like. it's free software, you can change it, you can share it around, slay. but there is NO WARRANTY β€” to the extent permitted by law β€” so don't come for her if something goes sideways, okay? 😭


🧚 RESOURCES 🧚

https://biosig.sourceforge.io

go. click. explore. iykyk. πŸ”₯


and that's the whole page, babe β€” a mexSLOAD manual page from the General Commands Manual, mexSLOAD(1), no version number, no date, just vibes and a whole lot of biomedical signal data. bye bestie, go load something. πŸ’–βœ¨πŸŽ€