%% 
%%  A DANTE-Edition example
%% 
%%  Example 24-05-3 on page 463.
%% 
%%  Copyright (C) 2011 Herbert Voss
%% 
%%  It may be distributed and/or modified under the conditions
%%  of the LaTeX Project Public License, either version 1.3
%%  of this license or (at your option) any later version.
%% 
%%  See http://www.latex-project.org/lppl.txt for details.
%% 
%% 
%% ==== 
% Show page(s) 1
%% 
\documentclass[]{article}
\pagestyle{empty}
\setlength\textwidth{375.57637pt}
\setlength\parindent{0pt}

\usepackage{pstricks,pst-circ,graphicx}

\begin{document}
\resizebox{\linewidth}{!}{%
\begin{pspicture}(1,2)(19,9)
  \pnode(2,8){A}
  \antenna{90}(A)
  \rput(4,8){\rnode{B}{\psframebox{\begin{tabular}{c}Ferrite\\Switch\end{tabular}}}}
  \ncline{A}{B}
  %%% Branche Calibration
  \pnode(4,6){C}
  \pnode(4,4){D}
  \pnode(5,5){E}
  \circulator[tripolestyle=isolator,tripoleconfig=right]{90}(C)(D)(E){Isolator}{}
  \ncline{B}{C}
  \pnode(3,3){F}
  \pnode(5,3){G}
  \resistor[unit=0.5,dipolestyle=zigzag,variable=true](F)(G){}
  \pnode(4,3){H}
  \ncline{D}{H}
  \rput[t](4,2.75){%
    \begin{tabular}{c}
        Hot and Cold\\
        loads for calibration
        \end{tabular}}
  %%% Branche réception
  \pnode(6,8){R1}
  \pnode(8,8){R2}
  \pnode(7,7){X1}
  \circulator[tripolestyle=isolator,tripoleconfig=right]{180}(R1)(R2)(X1){Isolator}{}
  \ncline{B}{R1}
  \pnode(10,8){R3}
  \pnode(9,7){X2}
  \mixer[inputarrow=true](R2)(R3)(X2){Mixer}{}
  \pnode(9,6){X3}
  \oscillator[output=top](X3){LO}{}
  \pnode(12,8){R4}
  \ncline{R3}{R4}
  \naput{0.5~GHZ}
  \pnode(14,8){R5}
  \filter(R4)(R5){BPF}%
  \pnode(16,8){R6}
  \amplifier[inputarrow=true](R5)(R6){IF~Amp}
  \pnode(18,8){R7}
  \detector[inputarrow=true](R6)(R7){Detector}
  \pnode(18,4){R8}
  \amplifier[inputarrow=true,labeloffset=-1](R7)(R8){Amp}
  \pscircle[fillstyle=solid,fillcolor=white](18,4){0.1}
  \rput[t](18,3.9){%
    \begin{tabular}{c}
        Output\\
        for processing
    \end{tabular}}
\end{pspicture}}
\end{document}
