3
™L]?  ã               @   s*   d Z ddlmZ G dd„ deddƒƒZdS )z5
Define a data schema for noise related information.
é    )Ú
namedtuplec               @   s   e Zd ZdZf ZdS )ÚNoiseSpectruma2  
    Information about average noise.

    :param float period: the sampling period in units of [time] used to make the spectrum
    :param int nsamples: the number of time sampled used to make the spectrum
    :param float gain: the gain in units of [voltage]/[charge] assumed in the spectrum
    :param float shaping: the shaping time of the amplifier in units of [time] assumed in the spectrum
    :param int plane: the identifier for the plane holding the wire from which this noise is associated.
    :param float wirelen: the length of wire in units of [length] for the wire assumed to produce the noise.
    :param list freqs: list of floating point sampled frequency in units of [frequency] (not MHZ!)
    :param list amps: list of floating point sampled noise amplitude in units of [voltage]/[frequency].
    N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú	__slots__© r	   r	   ú?/home/yuhw/wc/wire-cell-python/wirecell/sigproc/noise/schema.pyr      s   r   z;period nsamples gain shaping plane wirelen const freqs ampsN)r   Úcollectionsr   r   r	   r	   r	   r
   Ú<module>   s   