/** Gets the first {@code laserPower} recorded in the configuration. */ public Double getLaserPower() { return d(value(getConfig("laserPower"), 0)); }
/** * Gets whether the stage position Y coordinates are inverted (i.e., * bottom-to-top). */ public boolean isInvertY() { return b(value(getConfig("xYStageYPositionIncreasesBottomToTop"))); }
/** Gets the {@code bitDepth} recorded in the configuration. */ public Integer getBitDepth() { return i(value(getConfig("bitDepth"))); }
/** * Gets whether the stage position Y coordinates are inverted (i.e., * bottom-to-top). */ public boolean isInvertY() { return b(value(getConfig("xYStageYPositionIncreasesBottomToTop"))); }
/** Gets the first {@code laserPower} recorded in the configuration. */ public Double getLaserPower() { return d(value(getConfig("laserPower"), 0)); }
/** Gets the {@code bitDepth} recorded in the configuration. */ public Integer getBitDepth() { return i(value(getConfig("bitDepth"))); }
/** * This steps populates the original metadata table (the tables returned by * {@link #getGlobalMetadata()} and {@link #getSeriesMetadata()}). */ private void populateOriginalMetadata() { final boolean minimumMetadata = isMinimumMetadata(); if (minimumMetadata) return; // populate global metadata addGlobalMeta("cycleCount", meta.getCycleCount()); addGlobalMeta("date", meta.getDate()); addGlobalMeta("waitTime", meta.getWaitTime()); addGlobalMeta("sequenceCount", sequences.size()); final ValueTable config = meta.getConfig(); for (final String key : config.keySet()) { addGlobalMeta(key, config.get(key).toString()); } addGlobalMeta("meta", meta); // populate series metadata final int seriesCount = getSeriesCount(); for (int s = 0; s < seriesCount; s++) { setSeries(s); final Sequence sequence = sequence(s); addSeriesMeta("cycle", sequence.getCycle()); addSeriesMeta("indexCount", sequence.getIndexCount()); addSeriesMeta("type", sequence.getType()); } setSeries(0); }
/** * This steps populates the original metadata table (the tables returned by * {@link #getGlobalMetadata()} and {@link #getSeriesMetadata()}). */ private void populateOriginalMetadata() { final boolean minimumMetadata = isMinimumMetadata(); if (minimumMetadata) return; // populate global metadata addGlobalMeta("cycleCount", meta.getCycleCount()); addGlobalMeta("date", meta.getDate()); addGlobalMeta("waitTime", meta.getWaitTime()); addGlobalMeta("sequenceCount", sequences.size()); final ValueTable config = meta.getConfig(); for (final String key : config.keySet()) { addGlobalMeta(key, config.get(key).toString()); } addGlobalMeta("meta", meta); // populate series metadata final int seriesCount = getSeriesCount(); for (int s = 0; s < seriesCount; s++) { setSeries(s); final Sequence sequence = sequence(s); addSeriesMeta("cycle", sequence.getCycle()); addSeriesMeta("indexCount", sequence.getIndexCount()); addSeriesMeta("type", sequence.getType()); } setSeries(0); }