edfcat(1)

πŸ“¦
version 1.1.2 Β· 5 versions
, in ubuntu resolute, ubuntu stonking

πŸ’– edfcat(1) β€” the EDF channel mixer/converter, bestie edition πŸ’–

okay so you found edfcat, the little cutie from the Aghermann family that rearranges EDF file channels for you. she's a channel mixer/converter, she's lowkey iconic, and she's about to become your fave. πŸ¦‹


✨ NAME ✨

edfcat β€” EDF file channel mixer/converter. that's it, that's the girl. πŸ’…


✨ SYNOPSIS ✨

edfcat OPERATION OPERANDS

like, operation first, operands after. main character energy from the very first token. πŸ‘‘


✨ DESCRIPTION ✨

edfcat is a tool to manipulate EDF file channels. fr fr, that's her whole job.

Currently, two operations are supported:

  1. ascii->edf conversion β€” but ngl, the multichannel conversion is restricted to channels with identical samplerate. if your sample rates are mismatched, that's not it, bestie. 😭
  2. channel pruning β€” she keeps the channels you want and drops the rest. slay. βœ‚οΈ

🌸 the operations, one by one 🌸

  • conv FILE.ascii SAMPLERATE RECORD_SIZE β€” Convert samples in FILE.ascii into FILE.ascii.edf. Multiple columns in the source file will be converted as individual channels. πŸŽ€

On success, physical_min/physical_max in each channel will be set to the absolute min/max of all channel data, widened symmetrically to whichever boundary is farther from 0. So a range of -2:3 becomes -3:3, as will -3:2. symmetry queen behavior. βš–οΈβœ¨

  • prune FILE.edf N1[,N2,...] β€” Create a copy of the source file (FILE-mod.edf) only keeping channels N1,N2,..., and yes those are 1-based. don't come at me with 0-indexing, that's just what the page says. πŸ™ˆ
heads up: conv only plays nice when every channel has the same samplerate. mismatched rates = no conversion for you. πŸ’€

πŸ”₯ SEE ALSO πŸ”₯

go read those too, they're all part of the same friend group. 🫢


πŸ‘‘ AUTHOR πŸ‘‘

edfcat is written by Andrei Zavada <johnhommer@gmail.com> as part of the Aghermann project. give him his flowers, he ate. πŸŒˆπŸ’


and that's the whole page, bestie! this was edfcat from the Aghermann project, version 1.1.2, dated 2026-01-13. go forth and mix those channels. πŸŽ€πŸ’–β­

mwah. periodt. πŸ’…

πŸ“¦ where this page comes from