Multifrequency support for instrument modeling #719
Triggered via pull request
December 16, 2024 04:38
Status
Failure
Total duration
39m 54s
Artifacts
–
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
Annotations
6 errors and 1 warning
|
build:
../../../.julia/packages/Documenter/Bs999/src/utilities/utilities.jl#L44
failed to run `@example` block in src/tutorials/intermediate/StokesIImaging.md:245-249
```@example StokesIImaging
intopt = instrumentmodel(post, xopt)
gt = Comrade.caltable(angle.(intopt))
plot(gt, layout=(3,3), size=(600,500)) |> DisplayAs.PNG |> DisplayAs.Text
```
exception =
AssertionError: 0.9166666567325592, Comrade.FrequencyChannel{Float64, Int64}(2.27070703125e11, 1.856e9, 1), AA not found in SiteArray
Stacktrace:
[1] _construct_baselinemap(T::Vector{Float64}, F::Vector{Comrade.FrequencyChannel{Float64, Int64}}, bl::Vector{Tuple{Symbol, Symbol}}, x::SiteArray{Float64, 1, Vector{Float64}, Vector{Comrade.IntegrationTime{Float64}}, Vector{Comrade.FrequencyChannel{Float64, Int64}}, Vector{Symbol}})
@ Comrade ~/work/Comrade.jl/Comrade.jl/src/instrument/model.jl:202
[2] (::Comrade.var"#65#69"{Vector{Tuple{Symbol, Symbol}}, Comrade.SiteLookup{@NamedTuple{AA::Vector{Int64}, AP::Vector{Int64}, AZ::Vector{Int64}, JC::Vector{Int64}, LM::Vector{Int64}, PV::Vector{Int64}, SM::Vector{Int64}}, 1, Vector{Comrade.IntegrationTime{Float64}}, Vector{Comrade.FrequencyChannel{Float64, Int64}}, Vector{Symbol}}})(x::SiteArray{Float64, 1, Vector{Float64}, Vector{Comrade.IntegrationTime{Float64}}, Vector{Comrade.FrequencyChannel{Float64, Int64}}, Vector{Symbol}})
@ Comrade ~/work/Comrade.jl/Comrade.jl/src/instrument/jonesmatrices.jl:228
[3] map
@ ./tuple.jl:294 [inlined]
[4] map(::Function, ::@NamedTuple{lgμ::SiteArray{Float64, 1, Vector{Float64}, Vector{Comrade.IntegrationTime{Float64}}, Vector{Comrade.FrequencyChannel{Float64, Int64}}, Vector{Symbol}}, lgσ::SiteArray{Float64, 1, Vector{Float64}, Vector{Comrade.IntegrationTime{Float64}}, Vector{Comrade.FrequencyChannel{Float64, Int64}}, Vector{Symbol}}, lgz::SiteArray{Float64, 1, Vector{Float64}, Vector{Comrade.IntegrationTime{Float64}}, Vector{Comrade.FrequencyChannel{Float64, Int64}}, Vector{Symbol}}, gp::SiteArray{Float64, 1, Vector{Float64}, Vector{Comrade.IntegrationTime{Float64}}, Vector{Comrade.FrequencyChannel{Float64, Int64}}, Vector{Symbol}}})
@ Base ./namedtuple.jl:265
[5] forward_jones(v::SingleStokesGain{Main.__atexample__named__StokesIImaging.var"#1#2"}, xs::@NamedTuple{lgμ::SiteArray{Float64, 1, Vector{Float64}, Vector{Comrade.IntegrationTime{Float64}}, Vector{Comrade.FrequencyChannel{Float64, Int64}}, Vector{Symbol}}, lgσ::SiteArray{Float64, 1, Vector{Float64}, Vector{Comrade.IntegrationTime{Float64}}, Vector{Comrade.FrequencyChannel{Float64, Int64}}, Vector{Symbol}}, lgz::SiteArray{Float64, 1, Vector{Float64}, Vector{Comrade.IntegrationTime{Float64}}, Vector{Comrade.FrequencyChannel{Float64, Int64}}, Vector{Symbol}}, gp::SiteArray{Float64, 1, Vector{Float64}, Vector{Comrade.IntegrationTime{Float64}}, Vector{Comrade.FrequencyChannel{Float64, Int64}}, Vector{Symbol}}})
@ Comrade ~/work/Comrade.jl/Comrade.jl/src/instrument/jonesmatrices.jl:228
[6] instrumentmodel(post::VLBIPosterior{Tuple{EHTObservationTable{Comrade.EHTVisibilityDatum{:I, Float64, Comrade.EHTArrayBaselineDatum{Float64, Tuple{CirBasis, CirBasis}, Float64}}, Vector{ComplexF64}, Vector{Float64}, Comrade.EHTArrayConfiguration{Comrade.EHTArrayBaselineDatum{Float64, Tuple{CirBasis, CirBasis}, Float64}, Float64, TypedTables.Table{@NamedTuple{sites::Symbol, X::Float64, Y::Float64, Z::Float64, SEFD1::Float64, SEFD2::Float64, fr_parallactic::Float64, fr_elevation::Float64, fr_offset::Float64}, 1, @NamedTuple{sites::Vector{Symbol}, X::Vector{Float64}, Y::Vector{Float64}, Z::Vector{Float64}, SEFD1::Vector{Float64}, SEFD2::Vector{Float64}, fr_parallactic::Vector{Float64}, fr_elevation::Vector{Float64}, fr_offset::Vector{Float64}}}, TypedTables.Table{@NamedTuple{start::Float64, stop::Float64}, 1, @NamedTuple{start::Vector{Float64}, stop::Vector{Float64}}}, StructArrays.StructVector{Comrade.EHTArrayBaselineDatum{Float64, Tuple{CirBasis, CirBasis}, Float64}, @NamedTuple{U::Vector{Float64}, V::Vector{Float64}, Ti::Vector{Float64}, Fr::Vector{Float64}, sites::Vector{Tuple{Symbol, Symbol}}, polbasis::Vector{Tuple{CirBasis, CirBasis}}, eleva
|
|
build:
../../../.julia/packages/Documenter/Bs999/src/utilities/utilities.jl#L44
failed to run `@example` block in src/tutorials/intermediate/StokesIImaging.md:257-260
```@example StokesIImaging
gt = Comrade.caltable(abs.(intopt))
plot(gt, layout=(3,3), size=(600,500)) |> DisplayAs.PNG |> DisplayAs.Text
```
exception =
UndefVarError: `intopt` not defined
Stacktrace:
[1] top-level scope
@ StokesIImaging.md:258
[2] eval
@ ./boot.jl:385 [inlined]
[3] #60
@ ~/.julia/packages/Documenter/Bs999/src/expander_pipeline.jl:803 [inlined]
[4] cd(f::Documenter.var"#60#62"{Module, Expr}, dir::String)
@ Base.Filesystem ./file.jl:112
[5] (::Documenter.var"#59#61"{Documenter.Page, Module, Expr})()
@ Documenter ~/.julia/packages/Documenter/Bs999/src/expander_pipeline.jl:802
[6] (::IOCapture.var"#5#9"{DataType, Documenter.var"#59#61"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}})()
@ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:170
[7] with_logstate(f::Function, logstate::Any)
@ Base.CoreLogging ./logging.jl:515
[8] with_logger
@ ./logging.jl:627 [inlined]
[9] capture(f::Documenter.var"#59#61"{Documenter.Page, Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any})
@ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:167
[10] runner(::Type{Documenter.Expanders.ExampleBlocks}, node::MarkdownAST.Node{Nothing}, page::Documenter.Page, doc::Documenter.Document)
@ Documenter ~/.julia/packages/Documenter/Bs999/src/expander_pipeline.jl:801
|
|
build:
../../../.julia/packages/Documenter/Bs999/src/utilities/utilities.jl#L44
failed to run `@example` block in src/tutorials/intermediate/StokesIImaging.md:302-307
```@example StokesIImaging
using Measurements
gmeas = instrumentmodel(post, (;instrument= map((x,y)->Measurements.measurement.(x,y), mchain.instrument, schain.instrument)))
ctable_am = caltable(abs.(gmeas))
ctable_ph = caltable(angle.(gmeas))
```
exception =
AssertionError: 0.9166666567325592, Comrade.FrequencyChannel{Float64, Int64}(2.27070703125e11, 1.856e9, 1), AA not found in SiteArray
Stacktrace:
[1] _construct_baselinemap(T::Vector{Float64}, F::Vector{Comrade.FrequencyChannel{Float64, Int64}}, bl::Vector{Tuple{Symbol, Symbol}}, x::SiteArray{Measurements.Measurement{Float64}, 1, Vector{Measurements.Measurement{Float64}}, Vector{Comrade.IntegrationTime{Float64}}, Vector{Comrade.FrequencyChannel{Float64, Int64}}, Vector{Symbol}})
@ Comrade ~/work/Comrade.jl/Comrade.jl/src/instrument/model.jl:202
[2] (::Comrade.var"#65#69"{Vector{Tuple{Symbol, Symbol}}, Comrade.SiteLookup{@NamedTuple{AA::Vector{Int64}, AP::Vector{Int64}, AZ::Vector{Int64}, JC::Vector{Int64}, LM::Vector{Int64}, PV::Vector{Int64}, SM::Vector{Int64}}, 1, Vector{Comrade.IntegrationTime{Float64}}, Vector{Comrade.FrequencyChannel{Float64, Int64}}, Vector{Symbol}}})(x::SiteArray{Measurements.Measurement{Float64}, 1, Vector{Measurements.Measurement{Float64}}, Vector{Comrade.IntegrationTime{Float64}}, Vector{Comrade.FrequencyChannel{Float64, Int64}}, Vector{Symbol}})
@ Comrade ~/work/Comrade.jl/Comrade.jl/src/instrument/jonesmatrices.jl:228
[3] map
@ ./tuple.jl:294 [inlined]
[4] map(::Function, ::@NamedTuple{lgμ::SiteArray{Measurements.Measurement{Float64}, 1, Vector{Measurements.Measurement{Float64}}, Vector{Comrade.IntegrationTime{Float64}}, Vector{Comrade.FrequencyChannel{Float64, Int64}}, Vector{Symbol}}, lgσ::SiteArray{Measurements.Measurement{Float64}, 1, Vector{Measurements.Measurement{Float64}}, Vector{Comrade.IntegrationTime{Float64}}, Vector{Comrade.FrequencyChannel{Float64, Int64}}, Vector{Symbol}}, lgz::SiteArray{Measurements.Measurement{Float64}, 1, Vector{Measurements.Measurement{Float64}}, Vector{Comrade.IntegrationTime{Float64}}, Vector{Comrade.FrequencyChannel{Float64, Int64}}, Vector{Symbol}}, gp::SiteArray{Measurements.Measurement{Float64}, 1, Vector{Measurements.Measurement{Float64}}, Vector{Comrade.IntegrationTime{Float64}}, Vector{Comrade.FrequencyChannel{Float64, Int64}}, Vector{Symbol}}})
@ Base ./namedtuple.jl:265
[5] forward_jones(v::SingleStokesGain{Main.__atexample__named__StokesIImaging.var"#1#2"}, xs::@NamedTuple{lgμ::SiteArray{Measurements.Measurement{Float64}, 1, Vector{Measurements.Measurement{Float64}}, Vector{Comrade.IntegrationTime{Float64}}, Vector{Comrade.FrequencyChannel{Float64, Int64}}, Vector{Symbol}}, lgσ::SiteArray{Measurements.Measurement{Float64}, 1, Vector{Measurements.Measurement{Float64}}, Vector{Comrade.IntegrationTime{Float64}}, Vector{Comrade.FrequencyChannel{Float64, Int64}}, Vector{Symbol}}, lgz::SiteArray{Measurements.Measurement{Float64}, 1, Vector{Measurements.Measurement{Float64}}, Vector{Comrade.IntegrationTime{Float64}}, Vector{Comrade.FrequencyChannel{Float64, Int64}}, Vector{Symbol}}, gp::SiteArray{Measurements.Measurement{Float64}, 1, Vector{Measurements.Measurement{Float64}}, Vector{Comrade.IntegrationTime{Float64}}, Vector{Comrade.FrequencyChannel{Float64, Int64}}, Vector{Symbol}}})
@ Comrade ~/work/Comrade.jl/Comrade.jl/src/instrument/jonesmatrices.jl:228
[6] instrumentmodel(post::VLBIPosterior{Tuple{EHTObservationTable{Comrade.EHTVisibilityDatum{:I, Float64, Comrade.EHTArrayBaselineDatum{Float64, Tuple{CirBasis, CirBasis}, Float64}}, Vector{ComplexF64}, Vector{Float64}, Comrade.EHTArrayConfiguration{Comrade.EHTArrayBaselineDatum{Float64, Tuple{CirBasis, CirBasis}, Float64}, Float64, TypedTables.Table{@NamedTuple{sites::Symbol, X::Float64, Y::Float64, Z::Float64, SEFD1::Float64, SEFD2::Float64, fr_parallactic::Float64, fr_elevation::Float64, fr_offset::Float64}, 1, @NamedTuple{sites::Vector{Symbol}, X::Vector{Float64}, Y::Ve
|
|
build:
../../../.julia/packages/Documenter/Bs999/src/utilities/utilities.jl#L44
failed to run `@example` block in src/tutorials/intermediate/StokesIImaging.md:311-313
```@example StokesIImaging
plot(ctable_ph, layout=(4,3), size=(600,500)) |> DisplayAs.PNG |> DisplayAs.Text
```
exception =
UndefVarError: `ctable_ph` not defined
Stacktrace:
[1] top-level scope
@ StokesIImaging.md:312
[2] eval
@ ./boot.jl:385 [inlined]
[3] #60
@ ~/.julia/packages/Documenter/Bs999/src/expander_pipeline.jl:803 [inlined]
[4] cd(f::Documenter.var"#60#62"{Module, Expr}, dir::String)
@ Base.Filesystem ./file.jl:112
[5] (::Documenter.var"#59#61"{Documenter.Page, Module, Expr})()
@ Documenter ~/.julia/packages/Documenter/Bs999/src/expander_pipeline.jl:802
[6] (::IOCapture.var"#5#9"{DataType, Documenter.var"#59#61"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}})()
@ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:170
[7] with_logstate(f::Function, logstate::Any)
@ Base.CoreLogging ./logging.jl:515
[8] with_logger
@ ./logging.jl:627 [inlined]
[9] capture(f::Documenter.var"#59#61"{Documenter.Page, Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any})
@ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:167
[10] runner(::Type{Documenter.Expanders.ExampleBlocks}, node::MarkdownAST.Node{Nothing}, page::Documenter.Page, doc::Documenter.Document)
@ Documenter ~/.julia/packages/Documenter/Bs999/src/expander_pipeline.jl:801
|
|
build:
../../../.julia/packages/Documenter/Bs999/src/utilities/utilities.jl#L44
failed to run `@example` block in src/tutorials/intermediate/StokesIImaging.md:317-319
```@example StokesIImaging
plot(ctable_am, layout=(4,3), size=(600,500)) |> DisplayAs.PNG |> DisplayAs.Text
```
exception =
UndefVarError: `ctable_am` not defined
Stacktrace:
[1] top-level scope
@ StokesIImaging.md:318
[2] eval
@ ./boot.jl:385 [inlined]
[3] #60
@ ~/.julia/packages/Documenter/Bs999/src/expander_pipeline.jl:803 [inlined]
[4] cd(f::Documenter.var"#60#62"{Module, Expr}, dir::String)
@ Base.Filesystem ./file.jl:112
[5] (::Documenter.var"#59#61"{Documenter.Page, Module, Expr})()
@ Documenter ~/.julia/packages/Documenter/Bs999/src/expander_pipeline.jl:802
[6] (::IOCapture.var"#5#9"{DataType, Documenter.var"#59#61"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}})()
@ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:170
[7] with_logstate(f::Function, logstate::Any)
@ Base.CoreLogging ./logging.jl:515
[8] with_logger
@ ./logging.jl:627 [inlined]
[9] capture(f::Documenter.var"#59#61"{Documenter.Page, Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any})
@ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:167
[10] runner(::Type{Documenter.Expanders.ExampleBlocks}, node::MarkdownAST.Node{Nothing}, page::Documenter.Page, doc::Documenter.Document)
@ Documenter ~/.julia/packages/Documenter/Bs999/src/expander_pipeline.jl:801
|
|
build
Process completed with exit code 1.
|
|
build
The `python-version` input is not set. The version of Python currently in `PATH` will be used.
|