The fly visual system offers a unique opportunity to explore computations performed by single neurons. Two previous studies characterized, in vivo, the receptive field (RF) of the vertical system (VS) cells of the blowfly (calliphora vicina), both intracellularly in the axon, and, independently using Ca2+ imaging, in hundreds of distal dendritic branchlets. We integrated this information into detailed passive cable and compartmental models of 3D reconstructed VS cells. Within a given VS cell type, the transfer resistance (TR) from different branchlets to the axon differs substantially, suggesting that they contribute unequally to the shaping of the axonal RF. Weighting the local RFs of all dendritic branchlets by their respective TR yielded a faithful reproduction of the axonal RF. The model also predicted that the various dendritic branchlets are electrically decoupled from each other, thus acting as independent local functional subunits. The study suggests that single neurons in the fly visual system filter dendritic noise and compute the weighted average of their inputs.