PROFILE(1)               TIPSY COMMANDS                 PROFILE(1)



NAME
     profile - write physical profiles as a funtion of radius

SYNOPSIS
     profile  box-number  center-box-number  particle  projection
     binning bin-number filename minimum_radius

DESCRIPTION
     profile is a command that produces a file of name, filename,
     that  contains  various  physical  profiles as a function of
     radius for particles of type particle in box, box-number. If
     the  box  box-number  or center-box-number are not loaded an
     error is generated.  Boxes can be loaded  using  either  the
     makebox, setbox, or setsphere commands.

     The center of the radial distribution is  taken  to  be  the
     center  of mass of the particles of the type particle in box
     center-box-number. If the string "pot" is given instead of a
     box  number  for the argument center-box-number the particle
     in box box with the lowest potential energy is used  as  the
     center of the radial bins.

     The projection argument refers to the shape of the bins  and
     the binning argument refers to how the particles are binned,
     either linearly or log in radius.  There are bin-number bins
     distributed  equally  in either radius or log radius between
     minimum_radius and the size of box box-number.

     The output file has the following columns: radius, number in
     bin,  density,  cumulative  mass  (M(<r)), circular velocity
     (sqrt(M(<r)/r)), radial velocity,  radial  velocity  disper-
     sion,  tangential  velocity, tangential velocity dispersion,
     specific angular momentum (j),j_theta, j_phi.   The  j_theta
     and j_phi angles specify the direction of the specific angu-
     lar momentum vector.  If particle is either gas, baryon,  or
     all  three  additional  columns  containing  the  mean  mass
     weighted gas density, mass  weighted  gas  temperature,  and
     mass weighted gas pressure are added.  If particle is either
     star, baryon or all  an  additional  column  containing  the
     stellar  luminosity in the Johnson V band is added.  This is
     calculated using the ages of the star particles as  in  Katz
     (Ap.J. 391: 502, 1992).

OPTIONS
  Particle
     The possible choices for particle are:

          all
             Use the all the particles in  box  box-number.  Adds
             columns  containing  the mean mass weighted gas den-
             sity,  mass  weighted  gas  temperature,  and   mass
             weighted gas pressure.



KQ Release 2.0     Last change: 22 MARCH 1994                   1






 PROFILE(1)               TIPSY COMMANDS                 PROFILE(1)



          baryon
             Use the gas and star particles  in  box  box-number.
             Adds  columns  containing the mean mass weighted gas
             density, mass weighted  gas  temperature,  and  mass
             weighted gas pressure, and stellar luminosity.

          dark
             Use only the dark matter particles in box box-number

          gas
             Use only the gas particles in box  box-number.  Adds
             columns  containing  the mean mass weighted gas den-
             sity,  mass  weighted  gas  temperature,  and   mass
             weighted gas pressure.

          star
             Use only the star particles in box box-number.  Adds
             a column containing the stellar luminosity.

  Projection
     The possible choices for projection are:

          sphere
             Make spherical bins centered on the center  of  mass
             of  the  particles  of  type particle in box center-
             box-number. The option can be abbreviated sph.

          cylinder
             Make cylindrical bins centered on the center of mass
             of  the  particles  of  type particle in box center-
             box-number. The radii of the cylinders are  oriented
             perpendicular  to  the  angular momentum axis of the
             particles of type particle in  box  box-number.  The
             option can be abbreviated cyl.

          ellipse
             Make similar elliptical bins centered on the  center
             of  mass  of  the  particles of type particle in box
             center-box-number. When this option is used you will
             be  prompted  for  the  radius  where  the shape and
             orientation of  the  ellipses  will  be  determined.
             This  is  determined as in the moments command.  The
             option can be abbreviated ell.

  Binning
     The possible choices for binning are:

          lin
             Make  bin-number  bins  spaced  equally  in   radius
             between  minimum-radius  and  the  size  of box box-
             number




KQ Release 2.0     Last change: 22 MARCH 1994                   2






 PROFILE(1)               TIPSY COMMANDS                 PROFILE(1)



          log
             Make bin-number bins spaced equally  in  log  radius
             between  minimum-radius  and  the  size  of box box-
             number

SEE ALSO
      makebox(1),  moments(1),   rotationcurve(1),   setbox(1),  set-
      sphere(1)















































KQ Release 2.0     Last change: 22 MARCH 1994                   3




Created by: m2h on:Thu Nov 17 15:23:09 1994