range(188, 193), range(217, 251 + 1), range(266, 275 + 1), range(314, 324 + 1) ] #a.flux_indices=[range(400,434), range(436, 610)] #a.flux_indices=[range(200, 400)] a.filter_type = "FFT" a.bgsub_type = "dB" #"Complex" #"Abs" a.save_folder.main_dir = "fig4_flux_swp" b = TA53_VNA_Pwr_Lyzer( name="d1112", on_res_ind=635, rd_hdf=TA53_Read(main_file="Data_1112/S3A4_trans_pwr_swp.hdf5"), desc="transmission power sweep", offset=-0.3, swp_type="yoko_first", ) b.filt.center = 0 #71 #28*0 #141 #106 #58 #27 #139 #106 # #137 b.filt.halfwidth = 12 #8 #10 b.flux_axis_type = "flux" #"fq" # #b.bgsub_type="Complex" #"Abs" #"dB" b.end_skip = 10 b.pwr_ind = 22 c = TA88_VNA_Lyzer( name="S4A1_midpeak", desc="S4A1 Main peak", on_res_ind=260, #VNA_name='RS VNA', port_name='S21',
d0316, d0629, d0518, d0506, d0509, d0503 #, d0629wg, ] b = TA53_VNA_Pwr_Lyzer( name="d1118", on_res_ind=301, rd_hdf=TA53_Read(main_file="Data_1118/S3A4_trans_swp_n5n15dBm.hdf5"), fit_indices= [ #range(7, 42), range(79, 120), range(171, 209), range(238, 296), range(316, 358), range(391, 518), range(558, 603), # range(629, 681), range(715, 771), range(790, 845), # range(872, 921), range(953, 960), range(963, 985) ], desc="transmission power sweep", offset=-0.07, swp_type="yoko_first", ) b.filt.center = 0 #71 #28*0 #141 #106 #58 #27 #139 #106 # #137 b.filt.halfwidth = 100 #8 #10 b.fitter.gamma = 0.3 / 10 #0.035 b.flux_axis_type = "fq" #"flux"#"fq" # b.end_skip = 10 #a.flux_indices=[range(len(a.yoko)-1)] b.pwr_ind = 1
""" from TA53_fundamental import TA53_VNA_Pwr_Lyzer, TA53_Read, qdt from numpy import (absolute, trunc, arccos, shape, float64, linspace, reshape, squeeze, argmax, array, log10, swapaxes, amax, angle) from taref.plotter.api import colormesh, scatter, line from h5py import File from taref.core.api import process_kwargs from taref.physics.filtering import Filter from time import time a=TA53_VNA_Pwr_Lyzer(name="d1118", on_res_ind=301,#read_data=read_data, # VNA_name="RS VNA", rd_hdf=TA53_Read(main_file="Data_1118/S3A4_trans_swp_n5n15dBm.hdf5"), #long_test.hdf5"), # #fit_indices=[range(850, 2300)], #range(48,154+1), range(276, 578+1)], desc="transmission power sweep", offset=-0.1, # read_data=read_data, swp_type="yoko_first", ) a.filt.center=0 #71 #28*0 #141 #106 #58 #27 #139 #106 # #137 a.filt.halfwidth=100 #8 #10 #a.fitter.fit_type="refl_lorentzian" a.fitter.gamma=0.3 #0.035 a.flux_axis_type="yoko" #"fq" # #a.bgsub_type="Complex" #"Abs" #"dB" a.end_skip=20 #a.flux_indices=[range(len(a.yoko)-1)] a.save_folder.main_dir=a.name a.read_data()
# -*- coding: utf-8 -*- """ Created on Sun Apr 24 18:55:33 2016 @author: thomasaref """ from TA53_fundamental import TA53_VNA_Pwr_Lyzer, TA53_Read, qdt from numpy import absolute, trunc, arccos, shape, float64, linspace, reshape from taref.plotter.api import colormesh, scatter, line a = TA53_VNA_Pwr_Lyzer( name="d1013", on_res_ind=316, #read_data=read_data, # VNA_name="RS VNA", rd_hdf=TA53_Read(main_file="Data_1015/S1A1_just_gate_pwr_flux_swp.hdf5"), #fit_indices=[range(48,154+1), range(276, 578+1)], desc="Gate to IDT low frequency", offset=-0.3, swp_type="yoko_first", ) a.filt.center = 53 #139 #106 # #137 a.filt.halfwidth = 20 a.fitter.fit_type = "refl_lorentzian" a.fitter.gamma = 0.1 #0.035 a.flux_axis_type = "flux" #"fq" # a.bgsub_type = "Abs" #"Complex" #"Abs" #"dB" a.end_skip = 10 #a.flux_indices=[range(479, 712)] #range(0,41), range(43, 479), range(482, len(a.yoko))] #a.bgsub_type="Abs"
from TA53_fundamental import TA53_VNA_Pwr_Lyzer, TA53_Read, qdt from numpy import (absolute, trunc, arccos, shape, float64, linspace, reshape, squeeze, argmax, array, log10, swapaxes, amax, angle) from taref.plotter.api import colormesh, scatter, line from h5py import File from taref.core.api import process_kwargs from taref.physics.filtering import Filter from time import time a = TA53_VNA_Pwr_Lyzer( name="d1124", on_res_ind=90, #read_data=read_data, # VNA_name="RS VNA", rd_hdf=TA53_Read(main_file="Data_1125/S4A1_IDT_to_Gate_0p10dBm_long.hdf5" ), #long_test.hdf5"), # #fit_indices=[range(850, 2300)], #range(48,154+1), range(276, 578+1)], desc="transmission power sweep", offset=-0.1, # read_data=read_data, swp_type="yoko_first", ) a.filt.center = 172 #71 #28*0 #141 #106 #58 #27 #139 #106 # #137 a.filt.halfwidth = 55 #8 #10 a.fitter.fit_type = "refl_lorentzian" a.fitter.gamma = 0.3 #0.035 a.flux_axis_type = "yoko" #"fq" # #a.bgsub_type="Complex" #"Abs" #"dB" a.end_skip = 10 #a.flux_indices=[range(len(a.yoko)-1)] a.time_axis_type = "time" a.save_folder.main_dir = a.name