"Filename",
"src_name" => "Source Name",
"project_id" => "Project ID",
"raj" => "RA (J2000, hh:mm:ss)",
"decj" => "Dec (J2000, dd:mm:ss)",
"data_type" => "Data Type",
"obsfreq" => "Frequency",
"bw" => "Bandwidth",
"scanlen" => "Scan Length",
"date" => "UT Date",
"ut" => "UT Time",
"MJD" => "MJD",
"rajd" => "RA (J2000, degs)",
"decjd" => "Dec (J2000, degs)",
"gl" => "Gal. Long. (degs)",
"gb" => "Gal. Lat. (degs)",
"BMAJ" => "Beamsize: BMAJ",
"BMIN" => "Beamsize: BMIN",
"BPA" => "Beam: BPA",
"dm" => "D.M.",
"period" => "Period",
"nchan" => "# channels",
"npol" => "# polarisations",
"nbin" => "# bins",
"nsub" => "# subintegrations",
"tsamp" => "Sample time",
"nbits" => "# bits per sample",
"nbeam" => "# beams",
"cnfg" => "Configuration",
"inst" => "Instrument",
"rcvr" => "Receiver",
"hdrver" => "PSRFITS version",
"survey" => "Survey name",
"telescope" => "Telescope",
"site" => "Site ID",
"obsrvr" => "Observer ID" );
///////////////////////////////////////////////
// Get the data types available in the database
//
//$query = "select distinct data_type from " . OBSERVATIONS_TABLE . " order by data_type";
$query = "(select distinct data_type from obs) union (select distinct data_type from s70)";
$result = mysql_query($query) or die ('Query 3 failed: ' . mysql_error());
$data_types = array();
if (mysql_num_rows($result)) {
while($row = mysql_fetch_array($result, MYSQL_NUM)) {
array_push($data_types, $row[0]);
}
}
///////////////////////////////////////////////
// If the user clicked on the logout button
if (isset($HTTP_GET_VARS['command'])) {
$command = $HTTP_GET_VARS['command'];
if ($command == 'logout') {
//unset($_SESSION['auth_code']);
//unset($_SESSION['username']);
$_SESSION = array();
}
}
// If the user hasn't logged in before or if the previous
// session's authentication wasn't successful
// Then use the submitted username and password
if (!isset($_SESSION['auth_code']) || $_SESSION['auth_code'] != OK) {
$username = $HTTP_POST_VARS["username"];
$password = $HTTP_POST_VARS["password"];
$auth_code = authenticate($username, $password);
}
else {
$auth_code = $_SESSION['auth_code'];
$username = $_SESSION['username'];
}
//echo "auth_code = $auth_code
\n";
///////////////////////////////////////////////////////////////
// Set the new maximum search range if not an atnf staff member
//
// if (!atnf_staff($username)) {
// $max_cal_assoc['day'] = date("j");
// $max_cal_assoc['month'] = date("n");
// $max_cal_assoc['year'] = date("Y")-2;
// echo "$username not atnf
\n";
// }
// Initial state where no username or password supplied OR bad login state
if ($auth_code != OK) { ?>
This archive provides access to pulsar observations taken at the Parkes radio telescope between the dates of .
See the Users Guide link for more details.
Logout | ">Change Password | Users Guide |