umbmid/build.py
def convert_to_iczt_dataset(fd_dataset, num_time_pts=1024, start_time=0.0,
                            stop_time=6e-9, ini_freq=1e9, fin_freq=8e9,
                            logger=null_logger):
    """Convert the freq-domain data to the time-domain via the ICZT

    Converts each sample in the fd_dataset from the frequency-domain to
    the time-domain via the ICZT

    Parameters
    ----------
    fd_dataset : array_like
       The measured S-parameters in the frequency domain for each
       sample in the dataset
    num_time_pts : int
        The number of points in the time domain used to represent the
        signal
    start_time : float
        The starting time of the time-domain signals, in seconds
    stop_time : float
        The stopping time of the time-domain signals, in seconds
    ini_freq : float
        The initial frequency used in the scan, in Hz
    fin_freq : float
        The final frequency used in the scan, in Hz
    logger :
        Logger for logging the progress

    Returns
    -------
    iczt_dataset : array_like
        The time-domain representation of the data for each sample in
        the dataset, obtained via the ICZT
    """

    # Init array to return
    iczt_dataset = np.zeros([fd_dataset.shape[0], num_time_pts,
                             fd_dataset.shape[2]], dtype=complex)

    # For each sample in the datasets
    for expt_idx in range(fd_dataset.shape[0]):

        logger.info('\t\tWorking on expt [%4d / %4d]' %
                    (expt_idx + 1, fd_dataset.shape[0]))

        # Convert the sample to the time-domain via the ICZT
        iczt_dataset[expt_idx, :, :] = iczt(fd_dataset[expt_idx, :, :],
                                            start_time, stop_time,
                                            num_time_pts, ini_freq, fin_freq)

    return iczt_dataset
Convert the freq-domain data to the time-domain via the ICZT

    Converts each sample in the fd_dataset from the frequency-domain to
    the time-domain via the ICZT

    Parameters
    ----------
    fd_dataset : array_like
       The measured S-parameters in the frequency domain for each
       sample in the dataset
    num_time_pts : int
        The number of points in the time domain used to represent the
        signal
    start_time : float
        The starting time of the time-domain signals, in seconds
    stop_time : float
        The stopping time of the time-domain signals, in seconds
    ini_freq : float
        The initial frequency used in the scan, in Hz
    fin_freq : float
        The final frequency used in the scan, in Hz
    logger :
        Logger for logging the progress

    Returns
    -------
    iczt_dataset : array_like
        The time-domain representation of the data for each sample in
        the dataset, obtained via the ICZT
    
Convert the freq-domain data to the time-domain via the ICZT
Converts each sample in the fd_dataset from the frequency-domain to
the time-domain via the ICZT
Convert the freq - domain data to the time - domain via the ICZT Converts each sample in the fd_dataset from the frequency - domain to the time - domain via the ICZT
def convert_to_iczt_dataset(fd_dataset, num_time_pts=1024, start_time=0.0,
                            stop_time=6e-9, ini_freq=1e9, fin_freq=8e9,
                            logger=null_logger):
    iczt_dataset = np.zeros([fd_dataset.shape[0], num_time_pts,
                             fd_dataset.shape[2]], dtype=complex)
    for expt_idx in range(fd_dataset.shape[0]):
        logger.info('\t\tWorking on expt [%4d / %4d]' %
                    (expt_idx + 1, fd_dataset.shape[0]))
        iczt_dataset[expt_idx, :, :] = iczt(fd_dataset[expt_idx, :, :],
                                            start_time, stop_time,
                                            num_time_pts, ini_freq, fin_freq)
    return iczt_dataset
def convert_to_iczt_dataset ( fd_dataset , num_time_pts = 1024 , start_time = 0.0 , stop_time = 6e-9 , ini_freq = 1e9 , fin_freq = 8e9 , logger = null_logger ) : iczt_dataset = np . zeros ( [ fd_dataset . shape [ 0 ] , num_time_pts , fd_dataset . shape [ 2 ] ] , dtype = complex ) for expt_idx in range ( fd_dataset . shape [ 0 ] ) : logger . info ( '\t\tWorking on expt [%4d / %4d]' % ( expt_idx + 1 , fd_dataset . shape [ 0 ] ) ) iczt_dataset [ expt_idx , : , : ] = iczt ( fd_dataset [ expt_idx , : , : ] , start_time , stop_time , num_time_pts , ini_freq , fin_freq ) return iczt_dataset
Convert the freq-domain data to the time-domain via the ICZT
Converts each sample in the fd_dataset from the frequency-domain to
the time-domain via the ICZT
Convert the freq - domain data to the time - domain via the ICZT Converts each sample in the fd_dataset from the frequency - domain to the time - domain via the ICZT
"""Convert the freq-domain data to the time-domain via the ICZT

    Converts each sample in the fd_dataset from the frequency-domain to
    the time-domain via the ICZT

    Parameters
    ----------
    fd_dataset : array_like
       The measured S-parameters in the frequency domain for each
       sample in the dataset
    num_time_pts : int
        The number of points in the time domain used to represent the
        signal
    start_time : float
        The starting time of the time-domain signals, in seconds
    stop_time : float
        The stopping time of the time-domain signals, in seconds
    ini_freq : float
        The initial frequency used in the scan, in Hz
    fin_freq : float
        The final frequency used in the scan, in Hz
    logger :
        Logger for logging the progress

    Returns
    -------
    iczt_dataset : array_like
        The time-domain representation of the data for each sample in
        the dataset, obtained via the ICZT
    """ # Init array to return
 # For each sample in the datasets
 # Convert the sample to the time-domain via the ICZT

The time-domain representation of the data for each sample in
the dataset, obtained via the ICZT
The time - domain representation of the data for each sample in the dataset obtained via the ICZT
array_like

fd_dataset
The measured S-parameters in the frequency domain for each
sample in the dataset
The measured S - parameters in the frequency domain for each sample in the dataset
num_time_pts
The number of points in the time domain used to represent the
signal
The number of points in the time domain used to represent the signal
start_time
The starting time of the time-domain signals, in seconds
The starting time of the time - domain signals in seconds
stop_time
The stopping time of the time-domain signals, in seconds
The stopping time of the time - domain signals in seconds
ini_freq
The initial frequency used in the scan, in Hz
The initial frequency used in the scan in Hz
fin_freq
The final frequency used in the scan, in Hz
The final frequency used in the scan in Hz
logger
Logger for logging the progress
Logger for logging the progress