Class ChannelGetterForTimepoint

Object
ChannelGetterForTimepoint

public class ChannelGetterForTimepoint extends Object
A wrapper around ChannelGetter that retrieves channels for a specific timepoint.
  • Constructor Details

    • ChannelGetterForTimepoint

      public ChannelGetterForTimepoint(ChannelGetter getter, int t)
      Creates a new ChannelGetterForTimepoint instance.
      Parameters:
      getter - The underlying ChannelGetter to retrieve channels.
      t - The timepoint for which to retrieve channels.
  • Method Details

    • hasChannel

      public boolean hasChannel(String channelName)
      Checks if a channel with the given name exists.
      Parameters:
      channelName - the name of the channel to check
      Returns:
      true if the channel exists, false otherwise
    • getChannel

      public Channel getChannel(String channelName, Logger logger) throws GetOperationFailedException
      Retrieves a channel with the given name for the specified timepoint.
      Parameters:
      channelName - the name of the channel to retrieve
      logger - the logger to use for any logging operations
      Returns:
      the Channel for the specified name and timepoint
      Throws:
      GetOperationFailedException - if the channel retrieval operation fails