edu.nrao.sss.model.source
Class DiskBrightness

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
              extended by edu.nrao.sss.model.source.DiskBrightness
All Implemented Interfaces:
Identifiable, Cloneable, Comparable<SourceBrightness>

public class DiskBrightness
extends AreaBrightness

A source brightness of type BrightnessDistribution.DISK. This is a specialization of a diffuse brightness with the addition of a limb darkening property.

CVS Info:

$Revision: 161 $
$Date: 2006-12-15 11:48:34 -0700 (Fri, 15 Dec 2006) $
$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 getLimbDarkening()
          Returns the limb darkening of this source brightness.
 void setLimbDarkening(double darkening)
          Sets the limb darkening of this source brightness.
 
Methods inherited from class edu.nrao.sss.model.source.AreaBrightness
getMajorAxisDiameter, getMinorAxisDiameter, getPositionAngle, setMajorAxisDiameter, setMinorAxisDiameter, setPositionAngle
 
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, 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

setLimbDarkening

public void setLimbDarkening(double darkening)
Sets the limb darkening of this source brightness.

Parameters:
darkening - a number that is a measure of shape.
Throws:
IllegalArgumentException - if darkening is not a number.

getLimbDarkening

public double getLimbDarkening()
Description copied from class: SourceBrightness
Returns the limb darkening of this source brightness.

The value returned is a measure of shape.

Overrides:
getLimbDarkening in class SourceBrightness
Returns:
the limb darkening of this source brightness.


Copyright © 2009. All Rights Reserved.