All Downloads are FREE. Search and download functionalities are using the official Maven repository.

lucuma.itc.search.Constraints.scala Maven / Gradle / Ivy

There is a newer version: 0.22.3
Show newest version
// Copyright (c) 2016-2023 Association of Universities for Research in Astronomy, Inc. (AURA)
// For license information see LICENSE or https://opensource.org/licenses/BSD-3-Clause

package lucuma.itc.search

import eu.timepit.refined.types.numeric.PosInt
import lucuma.core.math.Wavelength

/** Observing constraints, used to narrow the space of compatible observing modes. */
sealed trait Constraints

object Constraints {

  /** Observing constraints for spectroscopy. */
  final case class Spectroscopy(
    λ:                    Wavelength,
    simultaneousCoverage: Wavelength,
    resolution:           PosInt // todo: Resolution
  ) extends Constraints

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy