<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://megcore.nih.gov/index.php?action=history&amp;feed=atom&amp;title=Sam_hfo</id>
	<title>Sam hfo - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://megcore.nih.gov/index.php?action=history&amp;feed=atom&amp;title=Sam_hfo"/>
	<link rel="alternate" type="text/html" href="https://megcore.nih.gov/index.php?title=Sam_hfo&amp;action=history"/>
	<updated>2026-05-18T08:12:56Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.2</generator>
	<entry>
		<id>https://megcore.nih.gov/index.php?title=Sam_hfo&amp;diff=3959&amp;oldid=prev</id>
		<title>Nugenta: Created page with &quot; Return to Source Localization - SAM  ==Description==  The sam_hfo program is an experimental program which may aid in the localization of epile...&quot;</title>
		<link rel="alternate" type="text/html" href="https://megcore.nih.gov/index.php?title=Sam_hfo&amp;diff=3959&amp;oldid=prev"/>
		<updated>2019-03-12T15:42:25Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&lt;a href=&quot;/index.php/Source_Localization_-_SAM&quot; title=&quot;Source Localization - SAM&quot;&gt; Return to Source Localization - SAM&lt;/a&gt;  ==Description==  The sam_hfo program is an experimental program which may aid in the localization of epile...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Source Localization - SAM | Return to Source Localization - SAM]]&lt;br /&gt;
&lt;br /&gt;
==Description==&lt;br /&gt;
&lt;br /&gt;
The sam_hfo program is an experimental program which may aid in the localization of epileptiform activity. This program first bandpass filters the data to visualize high frequency activity only (typically above 150Hz). For each voxel in the image, a time-series is computed and a Hilbert envelope is applied to the source. Excess kurtosis of the Hilbert envelope is used to localize potential events, such as short bursts of high frequency oscillations (HFOs). Before running sam_hfom epoched data must be saved in a continuous format. &lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
&lt;br /&gt;
  sam_hfo -r &amp;lt;dataset_name&amp;gt; -m &amp;lt;parameter_file_name&amp;gt; [options]&lt;br /&gt;
&lt;br /&gt;
The -r flag designates the dataset name (with or without the .ds suffix), and -m designates the parameter file name.&lt;br /&gt;
&lt;br /&gt;
Other options:&lt;br /&gt;
&lt;br /&gt;
  -v  Verbose mode, without this flag sam_wts works silently except for error messages&lt;br /&gt;
&lt;br /&gt;
Required Parameters:&lt;br /&gt;
&lt;br /&gt;
  CovBand: Bandwidth used for covariance matrix calculation&lt;br /&gt;
  ImageBand: Bandwidth used for covariance matrix calculation&lt;br /&gt;
  SmoothBand: designates the lowpass filter for smoothing the Hilbert envelope&lt;br /&gt;
  CovType: Must be GLOBAL&lt;br /&gt;
  ImageMetric: Must be KURTOSIS&lt;br /&gt;
&lt;br /&gt;
Optional Parameters:&lt;br /&gt;
  &lt;br /&gt;
  FilterType: choose the applied filter, IIR vs. FFT &lt;br /&gt;
  ImageDirectory: Directory where the output images are written, default is the SAM directory&lt;br /&gt;
  PrefixLength: Number of characters in the MEG dataset name used for naming MRI files&lt;br /&gt;
&lt;br /&gt;
==Output Files==&lt;br /&gt;
&lt;br /&gt;
sam_hfo Creates a single 3D NIFTI format image of kurtosis (g2) of the Hilbert envelope of high frequency activity. The output file will be named using the PrefixLength parameter, and will be appended with &amp;quot;HFO.&amp;quot;&lt;/div&gt;</summary>
		<author><name>Nugenta</name></author>
	</entry>
</feed>