• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

kunzaatko / TransferFunctions.jl / 17100492288

20 Aug 2025 01:52PM UTC coverage: 0.0% (-74.8%) from 74.77%
17100492288

push

github

kunzaatko
feat: introduce comprehensive transfer function models

This commit significantly expands the available transfer function models and
refactors the documentation structure to support them.

Changes include:
- **New Models:** Added Airy Disc, Gaussian, Born & Wolf, Gibson & Lanni, and
  Circular Pupil transfer function models.
- **Documentation Overhaul:** Restructured the manual pages, separating linear
  and nonlinear transfer functions, and creating dedicated sections for
  individual model types. Updated `InterLinks` for new dependencies and removed
  old API reference sections.
- **Dependency Updates:**
    - Added `ComponentArrays` and `Rotations` for new functionalities.
    - Removed `ImageFiltering` dependency.
    - Updated `InterfaceFunctions` compatibility.

0 of 169 new or added lines in 12 files covered. (0.0%)

364 existing lines in 15 files now uncovered.

0 of 633 relevant lines covered (0.0%)

0.0 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/psf/psf-array.jl
1
struct PSFArray{T<:Real, N} <: PointSpreadFunction{N}
2
    data::SpatialArray{T, N}
3
    center::Coordinate{N}
NEW
4
    function PSFArray(data::SpatialArray{T, N}, center::Coordinate{N}) where {T<:Real,N}
×
5
        contained(data, center) || throw(DomainError(center, "The center is not within the data bounds: $center ∉ $(axes(data))"))
×
NEW
6
        new{T,N}(data, center)
×
7
    end
8
end
9

10
PSFArray(data::AbstractMatrix{T}, Δ::Length, args...) where {T} = PSFArray(data, fillsize(Δ, 2), args...)
×
11
PSFArray(data::AbstractMatrix{T}, Δ::PixelSize{2}) where {T} = PSFArray(data, Δ, exactcenter(data))
×
12
PSFArray(data::SpatialMatrix{T}, args...) where {T} = PSFArray(data.data, data.Δ, args...)
×
13

14
function Base.show(io::IO, ::MIME"text/plain", tf::PSFArray{T}) where {T}
×
15
    showcenter = tf.center == tf.data .÷ 2
×
16
    centerstring = showcenter ? ", center = $(tf.center)" : ""
×
17
    print(io, "PSFArray(Δxy = $(allequal(tf.Δ) ? tf.Δ[1] : tf.Δ)$(centerstring)) with eltype $T with $(join(map(string, size(tf.data)), "×")) points:\n")
×
18
    Base.print_array(io, tf.data)
×
19
end
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc