Fix up site array #720
Annotations
6 errors and 1 warning
Build and deploy docs:
../../../.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 =
MethodError: no method matching iterate(::Comrade.FrequencyChannel{Float64, Int64})
Closest candidates are:
iterate(!Matched::Base.AsyncCollector, !Matched::Base.AsyncCollectorState)
@ Base asyncmap.jl:315
iterate(!Matched::Base.AsyncCollector)
@ Base asyncmap.jl:299
iterate(!Matched::Expronicon.JLMatch)
@ Expronicon ~/.julia/packages/Expronicon/Oa1rJ/src/match.jl:139
...
Stacktrace:
[1] in(x::Comrade.FrequencyChannel{Float64, Int64}, itr::Comrade.FrequencyChannel{Float64, Int64})
@ Base ./operators.jl:1292
[2] #99
@ ~/work/Comrade.jl/Comrade.jl/src/instrument/model.jl:198 [inlined]
[3] _broadcast_getindex_evalf
@ ./broadcast.jl:709 [inlined]
[4] _broadcast_getindex
@ ./broadcast.jl:682 [inlined]
[5] getindex
@ ./broadcast.jl:636 [inlined]
[6] macro expansion
@ ./broadcast.jl:1004 [inlined]
[7] macro expansion
@ ./simdloop.jl:77 [inlined]
[8] copyto!
@ ./broadcast.jl:1003 [inlined]
[9] copyto!
@ ./broadcast.jl:1014 [inlined]
[10] copyto!
@ ./broadcast.jl:956 [inlined]
[11] copyto!
@ ~/.julia/packages/StructArrays/KLKnN/src/structarray.jl:616 [inlined]
[12] copy
@ ./broadcast.jl:928 [inlined]
[13] copy
@ ~/.julia/packages/StructArrays/KLKnN/src/structarray.jl:559 [inlined]
[14] materialize
@ ./broadcast.jl:903 [inlined]
[15] findall(testf::Comrade.var"#99#101"{Symbol, Comrade.FrequencyChannel{Float64, Int64}, Float64}, A::StructArrays.StructVector{Tuple{Comrade.IntegrationTime{Float64}, Symbol, Comrade.FrequencyChannel{Float64, Int64}}, Tuple{Vector{Comrade.IntegrationTime{Float64}}, Vector{Symbol}, Vector{Comrade.FrequencyChannel{Float64, Int64}}}, Int64})
@ Base ./array.jl:2447
[16] _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:198
[17] (::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
[18] map
@ ./tuple.jl:294 [inlined]
[19] 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
[20] 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{Sy
|
Build and deploy docs:
../../../.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 and deploy docs:
../../../.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 =
MethodError: no method matching iterate(::Comrade.FrequencyChannel{Float64, Int64})
Closest candidates are:
iterate(!Matched::Base.AsyncCollector, !Matched::Base.AsyncCollectorState)
@ Base asyncmap.jl:315
iterate(!Matched::Base.AsyncCollector)
@ Base asyncmap.jl:299
iterate(!Matched::Expronicon.JLMatch)
@ Expronicon ~/.julia/packages/Expronicon/Oa1rJ/src/match.jl:139
...
Stacktrace:
[1] in(x::Comrade.FrequencyChannel{Float64, Int64}, itr::Comrade.FrequencyChannel{Float64, Int64})
@ Base ./operators.jl:1292
[2] #99
@ ~/work/Comrade.jl/Comrade.jl/src/instrument/model.jl:198 [inlined]
[3] _broadcast_getindex_evalf
@ ./broadcast.jl:709 [inlined]
[4] _broadcast_getindex
@ ./broadcast.jl:682 [inlined]
[5] getindex
@ ./broadcast.jl:636 [inlined]
[6] macro expansion
@ ./broadcast.jl:1004 [inlined]
[7] macro expansion
@ ./simdloop.jl:77 [inlined]
[8] copyto!
@ ./broadcast.jl:1003 [inlined]
[9] copyto!
@ ./broadcast.jl:1014 [inlined]
[10] copyto!
@ ./broadcast.jl:956 [inlined]
[11] copyto!
@ ~/.julia/packages/StructArrays/KLKnN/src/structarray.jl:616 [inlined]
[12] copy
@ ./broadcast.jl:928 [inlined]
[13] copy
@ ~/.julia/packages/StructArrays/KLKnN/src/structarray.jl:559 [inlined]
[14] materialize
@ ./broadcast.jl:903 [inlined]
[15] findall(testf::Comrade.var"#99#101"{Symbol, Comrade.FrequencyChannel{Float64, Int64}, Float64}, A::StructArrays.StructVector{Tuple{Comrade.IntegrationTime{Float64}, Symbol, Comrade.FrequencyChannel{Float64, Int64}}, Tuple{Vector{Comrade.IntegrationTime{Float64}}, Vector{Symbol}, Vector{Comrade.FrequencyChannel{Float64, Int64}}}, Int64})
@ Base ./array.jl:2447
[16] _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:198
[17] (::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
[18] map
@ ./tuple.jl:294 [inlined]
[19] 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.Integrat
|
Build and deploy docs:
../../../.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 and deploy docs:
../../../.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 and deploy docs
Process completed with exit code 1.
|
Setup python
The `python-version` input is not set. The version of Python currently in `PATH` will be used.
|
Loading