Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warmabs fix #9

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions Warmabs/Project.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
name = "Warmabs"
uuid = "1293a30c-8ee5-487f-8299-33928d5cda09"
authors = ["fjebaker <[email protected]>"]
version = "0.1.0"
version = "0.1.1"

[deps]
LibXSPEC_Warmabs_jll = "cad11c8d-934b-5dad-a678-9ee9e5e00166"
LibXSPEC_jll = "50917eeb-3e3c-5f3a-99bd-93e1c30e1561"
SpectralFitting = "f2c56810-742e-4b72-8bf4-27af3bb81a12"
XSPECModels = "e051c099-9e89-4e1f-aad2-39a4611ecf4d"

[compat]
SpectralFitting = ">=0.4.4"
SpectralFitting = ">=0.6"
XSPECModels = "0.1.1"
6 changes: 4 additions & 2 deletions Warmabs/src/Warmabs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ using LibXSPEC_Warmabs_jll
using LibXSPEC_Warmabs_jll: libXSPEC_fphotems

using SpectralFitting
using SpectralFitting:
AbstractSpectralModel, Multiplicative, FitParam, FreeParameters
using SpectralFitting: AbstractSpectralModel, Additive, FitParam

using XSPECModels
using XSPECModels: @xspecmodel, @wrap_xspec_model_ccall

@xspecmodel type = Float32 struct XS_WarmAbsorber{T,F} <:
AbstractSpectralModel{T,Multiplicative}
Expand Down