Table of Contents

Class FilePanel

Namespace
OpenEphys.Miniscope.Gui
Assembly
OpenEphys.Miniscope.Gui.dll

Renders the "Recording" controls (file saving and recording), anchored to the bottom of the settings sidebar.

[Combinator]
public class FilePanel
Inheritance
FilePanel
Inherited Members

Remarks

Renders into the shared sidebar child window opened (but not closed) by SettingsPanel, and closes it once its own content is done, so the two panels form a single visual region. Content is skipped (but the child is still closed) while SidebarOpen is false, so collapsing the sidebar hides this section along with the rest of the settings. Its own content renders into an auto-sized child so RecordingSectionHeight can be measured; SettingsPanel uses that (one frame stale, since the height is otherwise unknown until it renders) to bound its own collapsible content and keep this section anchored to a fixed distance from the bottom. The two panels coordinate through the threaded GuiLayout.

Properties

AcquisitionStatus

Gets or sets a value indicating whether the Miniscope is currently acquiring frames.

FileSettings

Gets or sets the file settings.

IsTotalDurationFinished

Gets or sets a value indicating whether a segmented run has reached its total duration.

RecordingError

Gets or sets the most recent recording error message.

Methods

Process(IObservable<Tuple<GuiLayout, bool>>)

Renders the file saving and recording controls and returns an updated FileSettings alongside the shared layout.