lucuma.itc.binding.FluxDensityContinuumBinding.scala Maven / Gradle / Ivy
// 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.odb.graphql.input.sourceprofile
import lucuma.core.math.FluxDensityContinuumValue
import lucuma.odb.graphql.binding.BigDecimalBinding
import lucuma.odb.graphql.binding.Matcher
val FluxDensityContinuumBinding: Matcher[FluxDensityContinuumValue] =
BigDecimalBinding.emap(FluxDensityContinuumValue.from)