juliatomo / xfromprojections.jl Goto Github PK
View Code? Open in Web Editor NEWTomographic image reconstruction package in Julia
License: MIT License
Tomographic image reconstruction package in Julia
License: MIT License
using TomoForward
H=256, W=256
proj_geom = ProjGeom(1.0, 256, LinRange(0, pi, 31)[1:end-1])
@time A = fp_op_parallel2d_strip(proj_geom, H, W )
vv = ones(size(A, 2))
vv_with_many_zeros = deepcopy(vv)
vv_with_many_zeros[100:end] .= 0
vv_sp = sparse(vv)
vv_sp_with_many_zeros = sparse(vv_with_many_zeros)
for i=1:10
println("1")
@time A*vv
@time A*sparse(vv)
@time A*vv_with_many_zeros
@time A*vv_sp
@time A*vv_sp_with_many_zeros
end
0.005386 seconds (2 allocations: 60.078 KiB)
0.006303 seconds (18 allocations: 1.176 MiB)
0.004583 seconds (2 allocations: 60.078 KiB)
0.005502 seconds (7 allocations: 180.266 KiB)
0.000080 seconds (7 allocations: 180.266 KiB)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.