To be able to edit code and run cells, you need to run the notebook yourself. Where would you like to run the notebook?

In the cloud (experimental)

Binder is a free, open source service that runs scientific notebooks in the cloud! It will take a while, usually 2-7 minutes to get a session.

On your computer

(Recommended if you want to store your changes.)

  1. Copy the notebook URL:
  2. Run Pluto

    (Also see: How to install Julia and Pluto)

  3. Paste URL in the Open box

Frontmatter

If you are publishing this notebook on the web, you can set the parameters below to provide HTML metadata. This is useful for search engines and social media.

Author 1
👀 Reading hidden code
begin
import Pkg
Pkg.activate(mktempdir())
Pkg.add("AxisIndices")
using AxisIndices
end
❔
  Activating new project at `/tmp/jl_Wc7PgG`
    Updating registry at `~/.julia/registries/General.toml`
   Resolving package versions...
   Installed MappedArrays ───────── v0.3.0
   Installed TSVD ───────────────── v0.4.4
   Installed AbstractFFTs ───────── v0.5.0
   Installed AxisIndices ────────── v0.7.3
   Installed ArrayInterface ─────── v2.14.17
   Installed EllipsisNotation ───── v0.4.0
   Installed NamedDims ──────────── v0.2.50
   Installed StaticRanges ───────── v0.8.3
   Installed CovarianceEstimation ─ v0.2.13
   Installed Metadata ───────────── v0.2.3
   Installed ChainedFixes ───────── v0.2.2
    Updating `/tmp/jl_Wc7PgG/Project.toml`
  [f52c9ee2] + AxisIndices v0.7.3
    Updating `/tmp/jl_Wc7PgG/Manifest.toml`
  [621f4979] + AbstractFFTs v0.5.0
  [79e6a3ab] + Adapt v4.3.0
  [66dad0bd] + AliasTables v1.1.3
  [4fba245c] + ArrayInterface v2.14.17
  [f52c9ee2] + AxisIndices v0.7.3
  [d360d2e6] + ChainRulesCore v1.25.1
  [9706b775] + ChainedFixes v0.2.2
  [9e997f8a] + ChangesOfVariables v0.1.10
  [34da2185] + Compat v4.16.0
  [587fd27a] + CovarianceEstimation v0.2.13
  [9a962f9c] + DataAPI v1.16.0
  [864edb3b] + DataStructures v0.18.22
  [ffbed154] + DocStringExtensions v0.9.5
  [da5c29d0] + EllipsisNotation v0.4.0
  [53c48c17] + FixedPointNumbers v0.8.5
  [8197267c] + IntervalSets v0.5.4
  [3587e190] + InverseFunctions v0.1.17
  [92d709cd] + IrrationalConstants v0.2.4
  [2ab3a3ac] + LogExpFunctions v0.3.28
  [dbb5928d] + MappedArrays v0.3.0
  [4fb893c1] + Metadata v0.2.3
  [e1d29d7a] + Missings v1.2.0
  [356022a1] + NamedDims v0.2.50
  [bac558e1] + OrderedCollections v1.8.1
  [43287f4e] + PtrArrays v1.3.0
  [189a3867] + Reexport v0.2.0
  [ae029012] + Requires v1.3.1
  [a2af1166] + SortingAlgorithms v1.2.1
  [d8176aec] + StaticRanges v0.8.3
  [82ae8749] + StatsAPI v1.7.1
  [2913bbd2] + StatsBase v0.34.4
  [9449cd9e] + TSVD v0.4.4
  [efce3f68] + WoodburyMatrices v1.0.0
  [0dad84c5] + ArgTools
  [56f22d72] + Artifacts
  [2a0f44e3] + Base64
  [ade2ca70] + Dates
  [f43a241f] + Downloads
  [7b1f6079] + FileWatching
  [b77e0a4c] + InteractiveUtils
  [b27032c2] + LibCURL
  [76f85450] + LibGit2
  [8f399da3] + Libdl
  [37e2e46d] + LinearAlgebra
  [56ddb016] + Logging
  [d6f4376e] + Markdown
  [ca575930] + NetworkOptions
  [44cfe95a] + Pkg
  [de0858da] + Printf
  [3fa0cd96] + REPL
  [9a3f8284] + Random
  [ea8e919c] + SHA
  [9e88b42a] + Serialization
  [6462fe0b] + Sockets
  [2f01184e] + SparseArrays
  [10745b16] + Statistics
  [4607b0f0] + SuiteSparse
  [fa267f1f] + TOML
  [a4e569a6] + Tar
  [8dfed614] + Test
  [cf7118a7] + UUIDs
  [4ec0a83e] + Unicode
  [e66e0078] + CompilerSupportLibraries_jll
  [deac9b47] + LibCURL_jll
  [29816b5a] + LibSSH2_jll
  [c8ffd9c3] + MbedTLS_jll
  [14a3606d] + MozillaCACerts_jll
  [4536629a] + OpenBLAS_jll
  [83775a58] + Zlib_jll
  [8e850b90] + libblastrampoline_jll
  [8e850ede] + nghttp2_jll
  [3f19e933] + p7zip_jll
Precompiling project...
EllipsisNotation
ChainedFixes
AbstractFFTs
MappedArrays
TSVD
IntervalSets
ArrayInterface
CovarianceEstimation
Metadata
NamedDims
StaticRanges
AxisIndices
  12 dependencies successfully precompiled in 5 seconds (27 already precompiled)
8.6 s
2×2 NamedDimsArray(AxisArray(reshape(::UnitRange{Int64}, 2, 2)
  • axes:
     x = [:a, :b]
     y = ["c", "d"]
))
      "c"   "d" 
  :a  1     3
  :b  2     4  
👀 Reading hidden code
nax = NamedAxisArray(reshape(1:4, 2, 2), x = [:a, :b], y = ["c", "d"])
118 ms
2×4 reshape(::UnitRange{Int64}, 2, 4) with eltype Int64:
 1  3  5  7
 2  4  6  8
👀 Reading hidden code
x = reshape(1:8, 2, 4)
16.0 μs
Error message

Error deserializing data from Malt.Worker on port 9989 with PID 12989:


KeyError: key AxisIndices [f52c9ee2-1b1c-4fd8-8546-6350938c7f11] not found

this suckz 💣
👀 Reading hidden code
aa = AxisArray(3:4, one_pad(sym_pad=2))
---
Error message

InterruptException:

eachindex(aa)
👀 Reading hidden code
---
123
123
👀 Reading hidden code
20.4 μs
Error message

InterruptException:

collect(aa)
👀 Reading hidden code
---