Skip to content

Commit fef391b

Browse files
authored
Merge pull request #69 from EHTJulia/ptiede-versionup
version updates and tweak colors
2 parents 5d20ed1 + 2ef827f commit fef391b

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

Project.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "VLBISkyModels"
22
uuid = "d6343c73-7174-4e0f-bb64-562643efbeca"
33
authors = ["Paul Tiede <ptiede91@gmail.com> and contributors"]
4-
version = "0.6.3"
4+
version = "0.6.4"
55

66
[deps]
77
AbstractFFTs = "621f4979-c628-5d54-868e-fcf4e3e8185c"
@@ -45,7 +45,7 @@ BasicInterpolators = "0.6, 0.7"
4545
ChainRulesCore = "1"
4646
ComradeBase = "0.8"
4747
DelimitedFiles = "1"
48-
DimensionalData = "0.27, 0.28"
48+
DimensionalData = "0.27, 0.28, 0.29"
4949
DocStringExtensions = "0.6,0.7,0.8,0.9"
5050
EnzymeCore = "0.8"
5151
FFTW = "^1"
@@ -64,7 +64,7 @@ Reexport = "1"
6464
Serialization = "1.8"
6565
SpecialFunctions = "0.10, 1, 2"
6666
StaticArrays = "1"
67-
StructArrays = "0.3,0.4,0.5,0.6"
67+
StructArrays = "0.6"
6868
julia = "1.9"
6969

7070
[extras]

ext/VLBISkyModelsMakieExt.jl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,10 @@ end
102102

103103
"""
104104
polimage(img::IntensityMap{<:StokesParams};
105-
colormap = :bone,
105+
colormap = :grayC,
106106
colorrange = Makie.automatic,
107107
pcolorrange=Makie.automatic,
108-
pcolormap=Reverse(:jet1),
108+
pcolormap=:coolwarm,
109109
nvec = 30,
110110
min_frac = 0.1,
111111
min_pol_frac=0.2,
@@ -171,7 +171,7 @@ $(Makie.ATTRIBUTES)
171171
"""
172172
Makie.@recipe(PolImage, X, Y, img) do scene
173173
return Makie.Attributes(;
174-
colormap=Reverse(:bone),
174+
colormap=:grayC,
175175
colorrange=Makie.automatic,
176176
pcolorrange=Makie.automatic,
177177
pcolormap=Makie.automatic,
@@ -339,7 +339,7 @@ function Makie.plot!(plot::PolImage)
339339
if pt
340340
return :diverging_bkr_55_10_c35_n256
341341
else
342-
return :rainbow1
342+
return :coolwarm
343343
end
344344
end
345345

@@ -408,7 +408,7 @@ function _imgviz!(fig, ax, img::IntensityMap{<:Real}; scale_length=fieldofview(i
408408
dkwargs = Dict(kwargs)
409409
crange = get(dkwargs, :colorrange, colorrange_default)
410410
delete!(dkwargs, :colorrange)
411-
cmap = get(dkwargs, :colormap, :afmhot)
411+
cmap = get(dkwargs, :colormap, :magma)
412412
delete!(dkwargs, :colormap)
413413

414414
hm = heatmap!(ax, img; colorrange=crange, colormap=cmap, dkwargs...)
@@ -432,7 +432,7 @@ function _imgviz!(fig, ax, img::IntensityMap{<:StokesParams};
432432
dkwargs = Dict(kwargs)
433433
crange = get(dkwargs, :colorrange, colorrange_default)
434434
delete!(dkwargs, :colorrange)
435-
cmap = get(dkwargs, :colormap, Reverse(:bone))
435+
cmap = get(dkwargs, :colormap, :grayC)
436436
delete!(dkwargs, :colormap)
437437
delete!(dkwargs, :size)
438438

0 commit comments

Comments
 (0)