在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:rafaqz/DimensionalData.jl开源软件地址:https://github.com/rafaqz/DimensionalData.jl开源编程语言:Julia 100.0%开源软件介绍:DimensionalDataDimensionalData.jl provides tools and abstractions for working with datasets that have named dimensions, and optionally a lookup index. It provides no-cost abstractions for named indexing, and fast index lookups. DimensionalData is a pluggable, generalised version of AxisArrays.jl with a cleaner syntax, and additional functionality found in NamedDims.jl. It has similar goals to pythons xarray, and is primarily written for use with spatial data in Rasters.jl. The basic syntax is: julia> using DimensionalData
julia> rand(X(10.0:40.0), Y(50))
31×50 DimArray{Float64,2} with dimensions:
X Sampled 10.0:1.0:40.0 ForwardOrdered Regular Points,
Y
0.793097 0.489866 0.462396 … 0.910434 0.850573 0.183605
0.76277 0.737544 0.290279 0.742267 0.686086 0.530159
⋮ ⋱
0.281043 0.979182 0.868658 0.642477 0.139536 0.540512
0.546036 0.83382 0.530098 … 0.351608 0.0385814 0.159299
julia> A[Y=1, X=1:10]
10-element DimArray{Float64,1} with dimensions:
X Sampled 10.0:1.0:19.0 ForwardOrdered Regular Points
and reference dimensions: Y
0.245691
0.902444
0.777441
⋮
0.744612
0.440409
0.631956 Some properties of DimensionalData.jl objects:
Methods where dims can be used containing indices or Selectors
Methods where dims, dim types, or |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论