aboutsummaryrefslogtreecommitdiff
path: root/julia/CrystFEL/src/image.jl
blob: e73e5f9acea609c5e6d7439de711a4318f210309 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
module Images
export Image

guardian = []

function protect(guardian, obj)
    push!(guardian, obj)
    obj
end

function unprotect(guardian, obj)
    let pos = findfirst(==(obj), guardian)
        if pos !== nothing
            deleteat!(guardian, pos)
        end
    end
end


mutable struct Image
end


"""
    Image()

Create a CrystFEL image structure
"""
function Image(panels)


end

end  # of module