edu.nrao.sss.model.source
Class AreaBrightness

java.lang.Object
  extended by edu.nrao.sss.model.source.SourceBrightness
      extended by edu.nrao.sss.model.source.DescriptiveBrightness
          extended by edu.nrao.sss.model.source.AreaBrightness
All Implemented Interfaces:
Identifiable, Cloneable, Comparable<SourceBrightness>
Direct Known Subclasses:
DiskBrightness, GaussianBrightness

public abstract class AreaBrightness
extends DescriptiveBrightness

A source brightness that spans an area, as opposed to a single point.

CVS Info:

$Revision: 523 $
$Date: 2007-04-16 10:09:08 -0600 (Mon, 16 Apr 2007) $
$Author: btruitt $

Since:
2006-05-16
Author:
David M. Harland

Field Summary
 
Fields inherited from interface edu.nrao.sss.util.Identifiable
UNIDENTIFIED
 
Method Summary
 double getMajorAxisDiameter()
          Returns the diameter of the major axis of this source brightness in A.U.
 double getMinorAxisDiameter()
          Returns the diameter of the minor axis of this source brightness in A.U.
 double getPositionAngle()
          Returns the position angle of this source brightness in degrees.
 void setMajorAxisDiameter(double majorDiameter)
          Sets the magnitude of the major axis diameter of this source.
 void setMinorAxisDiameter(double minorDiameter)
          Sets the magnitude of the minor axis diameter of this source.
 void setPositionAngle(double decimalDegrees)
          Sets the position angle of this source.
 
Methods inherited from class edu.nrao.sss.model.source.DescriptiveBrightness
getPeakFluxDensity, getPolarization, getTotalFluxDensity, getValidFrequency, setPeakFluxDensity, setPolarization, setTotalFluxDensity, setValidFrequency
 
Methods inherited from class edu.nrao.sss.model.source.SourceBrightness
clone, compareTo, createBrightness, createBrightnesses, equals, getBrightnessFile, getDistributionType, getId, getLimbDarkening, getObservation, getValidTime, getVlaObservation, hashCode, isFileBased, isValidFor, reset, setValidTime
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setMajorAxisDiameter

public void setMajorAxisDiameter(double majorDiameter)
Sets the magnitude of the major axis diameter of this source.

Parameters:
majorDiameter -

setMinorAxisDiameter

public void setMinorAxisDiameter(double minorDiameter)
Sets the magnitude of the minor axis diameter of this source.

Parameters:
minorDiameter -

setPositionAngle

public void setPositionAngle(double decimalDegrees)
Sets the position angle of this source.

A source whose major axis runs north-south has a position angle of zero. Positive angles are measured eastward from north.

Parameters:
decimalDegrees -

getMajorAxisDiameter

public double getMajorAxisDiameter()
Description copied from class: SourceBrightness
Returns the diameter of the major axis of this source brightness in A.U.

Overrides:
getMajorAxisDiameter in class SourceBrightness
Returns:
the diameter of the major axis of this source brightness in A.U.

getMinorAxisDiameter

public double getMinorAxisDiameter()
Description copied from class: SourceBrightness
Returns the diameter of the minor axis of this source brightness in A.U.

Overrides:
getMinorAxisDiameter in class SourceBrightness
Returns:
the diameter of the minor axis of this source brightness in A.U.

getPositionAngle

public double getPositionAngle()
Description copied from class: SourceBrightness
Returns the position angle of this source brightness in degrees. The position angle is based on the major axis. A north-south orientation of the major axis is taken to be zero degrees. Positive angles are measured eastward from north.

Overrides:
getPositionAngle in class SourceBrightness
Returns:
the position angle of this source brightness in degrees.


Copyright © 2009. All Rights Reserved.