Any measurement scheme involving interference of quantum states of the electromagnetic field necessarily mixes information about the spatiotemporal structure of these fields and quantum states in the recorded data. We show that in this case, a trade-off is possible between extracting information about the quantum states and the structure of the underlying fields, with the modal overlap being either a goal or a convenient tool of the reconstruction. We show that varying quantum states in a controlled way allows one to infer temporal profiles of modes. Vice versa, for the known quantum state of the probe and controlled variable overlap, one can infer the quantum state of the signal. We demonstrate this trade-offby performing an experiment using the simplest on-off detection in an unbalanced weak homodyning scheme. For the single-mode case, we demonstrate experimentally inference of the overlap and a few-photon signal state. Moreover, we show theoretically that the same single-detector scheme is sufficient even for arbitrary multi-mode fields.about the underlying mode structure. Indeed, given a known quantum state occupying an unknown mode, this method can be used to infer the overlap, and, thus, to identify the shape of this mode. In this sense, it may be considered as a diagnostic tool for existing tomographic reconstructions schemes, where identifying the modes is crucial to measuring the whole state [10]. Several techniques have been shown to shape temporal mode profiles [11][12][13][14][15][16][17][18][30][31][32][33][34][35] and the method to infer a modal temporal profile has a considerable practical value.We demonstrate these techniques experimentally using heralded single and two-photon states in welldefined modes and coherent probe field. The suggested tomographic scheme is resource efficient, requiring a single on-off detector. We show that for an arbitrary known signal with a diagonal density matrix, the overlap modulus can be found from just one measurement. This can be an important advantage over, for example, standard quantum homodyne tomography with a strong probe. For instance, for single-photon strong-probe homodyning, involved algorithms for fitting the temporal profile are needed for reconstruction [19]. Moreover, by weak-probe homodyning it is possible to infer the overlap even for the unknown quantum state of the signal [9]. For that, measurements should be done for the set of different detection efficiencies, in addition to the variation in a controlled way of the quantum state of the probe. Note that the variable overlap can be also used for the reconstruction with the thermal probe. Finally, theoretically, we extend the scheme to cover the more general case where the signal occupies multiple modes.The outline of the paper is as follows. In section 2 we introduce the concept of the overlap and temporal profile, describe the scheme and discuss the role of the overlap for the simplest single-mode case. In section 3 we describe the measurement set-up and experimental results for the signal stat...