\documentclass[11pt,letterpaper]{article}
%\usepackage{epsfig,graphics}
\setlength{\oddsidemargin}{-0.3in}
\setlength{\evensidemargin}{-0.35in}
\setlength{\topmargin}{-0.2in}
\setlength{\headheight}{0in}
\setlength{\footskip}{0.3in}
\setlength{\headsep}{0.1in}
\setlength{\textheight}{23cm}
\setlength{\textwidth}{17cm}
%\setlength{\parindent}{0in}
\setlength{\marginparsep}{0in}
\setlength{\marginparwidth}{0in}
\pagestyle{empty}
%\usepackage{multicol}
\def\gs{\mathrel{\raise1.16pt\hbox{$>$}\kern-7.0pt
\lower3.06pt\hbox{{$\scriptstyle \sim$}}}}
\def\ls{\mathrel{\raise1.16pt\hbox{$<$}\kern-7.0pt
\lower3.06pt\hbox{{$\scriptstyle \sim$}}}}

\usepackage[spanish]{babel}
\usepackage[latin1]{inputenc}
\usepackage{amsfonts}
\usepackage{amsmath}
\usepackage{html}
%\usepackage[pdftex]{graphicx}               %for importing graphics


\begin{document}


\begin{tabular*}{\textwidth} {cl} \\ 
        {\bf \Large Taller de Proyecto - 2009A} &    Prof: \\
{\bf \Large  enlaces de computación }         &  Simón Casassus   \\
   \hline
\end{tabular*}
\vspace{0.1cm}


%TEST$\sim$

%\tableofcontents

\section{Unix}

Cuentas habilitadas con el ``shell'' {\tt tcsh}, pero se puede usar
``bash'' simplemente tipeando ``bash'' en el unix ``prompt''.  \\


\subsection{Introducciones a UNIX en FCFM}

\begin{description}

\item {\tt http://www.cec.uchile.cl/guia_manuales/contenidos/unix/unix.html}
\item {\tt http://www.cec.uchile.cl/guia_manuales/contenidos/unixAvanzado/UnixAvanzado.html}
\item {\tt http://www.dcc.uchile.cl/*tilde*cc31a/apuntes/Shell/}

\end{description}

\subsection{Introducciones a UNIX en Google}

\begin{description}

\item {\tt  http://wwwhomes.doc.ic.ac.uk/*tilde*wjk/UnixIntro/ }
\item {\tt  http://wwwhomes.doc.ic.ac.uk/*tilde*wjk/UnixIntro/ }
\item {\tt http://www.ee.surrey.ac.uk/Teaching/Unix/}
\item {\tt http://info.ee.surrey.ac.uk/Teaching/Unix/unixintro.html}
\item {\tt  http://8help.osu.edu/wks/unix_course/intro-1.html}
\item {\tt  http://www.utexas.edu/learn/unix/}

\end{description}





\section{Connecciones remotas a Calan}

Para conectarse remótamente (por ejemplo desde el cec)  usar una
máquina linux y:

{\tt \% ssh -XY tp01@146.83.9.14} 

en que tp01 es el nombre de usuario. 

Para transferir datos, usar:

{\tt \% rsync -va miarchivolocal
  usuario@maquinaremota.cl:miarchivoremoto}  \\



{\tt \% rsync -va usuario@maquinaremota.cl:miarchivoremoto  miarchivolocal}




\section{emacs}

Ejecutar \\  {\tt \%  emacs }  \\ y leer ``tutorial'' en el ``help''
menu.  

*MUY IMPORTANTE*

\section{Python} 

\subsection{Instalación}

Instalar:


{\tt python}, 
{\tt numpy}, 
{\tt scipy}, 
{\tt matplotlib}, 
{\tt ipython},  
{\tt pyfits} 

por ejemplo en Ubuntu o Debian: 

{\tt sudo aptitude install python-pyfits} \\
{\tt sudo aptitude install python-matplotlib} \\


Ver las docs   en: 


\begin{itemize}

\item 
\htmladdnormallink[name]{\tt http://docs.python.org/tutorial/}{http://docs.python.org/tutorial/}


\item 
\htmladdnormallink[name]{\tt http://numpy.scipy.org/}{http://numpy.scipy.org/} 

\item 
\htmladdnormallink[name]{\tt http://matplotlib.sourceforge.net/}{http://matplotlib.sourceforge.net/}

\item 
\htmladdnormallink[name]{\tt http://www.stsci.edu/resources/software_hardware/pyfits}{http://www.stsci.edu/resources/software_hardware/pyfits} \\
 Bajar y leer el manual, {\tt The_PyFITS_Handbook.pdf}

\end{itemize}


\subsection{Ejemplo}

{\tt


ipython -pylab

help(pylab)

import pyfits

hdulist = pyfits.open('ngc6302.fits')

myhead = hdulist[0].header

scidata = hdulist[0].data

hdulist.close()

myhead.ascardlist() 

help(imshow)

imshow(scidata)


}


%\subsection{Interpolación de imágenes}
%
%Download desde {\tt http://www.pythonware.com/products/pil/#pil117}.
%
%Docs:
%
%{\tt http://www.pythonware.com/library/pil/handbook/image.htm}
%
%{\tt http://www.pythonware.com/products/pil/}
%
% 
%{\tt
%
%from PIL import Image
%
%
%scidata.max()
%
%#adjust min/max
%
%imshow(scidata,vmin=100,vmax=200)
%
%
%
%
%
%scidata.rotate(45).show()

%im = Image.open("bride.jpg")
%im.rotate(45).show()



%{\tt http://www.enthought.com/products/edudownload.php}

%Instalar extra:  'pyfits'.



\section{PDL \& astrometr\'{\i}a FITS}


\htmladdnormallink[name]{\tt gotoresamp.pl}{http://www.das.uchile.cl/~simon/docencia/ei2001_2011a/gotoresamp.pl}


\htmladdnormallink[name]{\tt init_resamp.pl}{http://www.das.uchile.cl/~simon/docencia/ei2001_2011a/init_resamp.dat}

\htmladdnormallink[name]{\tt test image}{http://www.das.uchile.cl/~simon/docencia/ei2001_2011a/NGC4755_I_150s+Dark.fit}


\section{servidores PDL \& Montage}

{\tt 

negra

gemini

dorado

sharon

sugil




}


\section{Montage: producci\'on de mosaicos}


Bajar este paquete:\\

 \htmladdnormallink[name]{\tt paquete
   Montage}{http://www.das.uchile.cl/~simon/docencia/ei2001_2011a/montage_exp.tgz}

Luego moverlo a una carpeta de trabajo especial, y abrilo con 

{\tt tar xvfz montage_exp.tgz}

Entrar en {\tt montage_core}, y crear un directorio {\tt
  rawdir}. Luego desplazar todas las imagenes {\tt fits} con
astrometr\'{\i}a correcta en {\tt rawdir}. \\

Luego ejecutar el algoritmo con el comando \\

{\tt sh montage.scr}

Repetir el proceso completo para cada filtro, y cada fuente.

\end{document}


