cfa.vo.sherpa
Class SherpaClient

java.lang.Object
  extended by cfa.vo.sherpa.SherpaClient

public class SherpaClient
extends Object

Author:
olaurino

Nested Class Summary
 class SherpaClient.SEDException
           
 
Constructor Summary
SherpaClient(cfa.vo.interop.SAMPController controller)
           
 
Method Summary
 CompositeModel createCompositeModel(String expression, Model... models)
           
 Data createData(String name)
           
 AbstractModel createModel(Models model)
           
 Parameter createParameter(String name)
           
 void findSherpa()
           
 FitResults fit(Data dataset, CompositeModel model, Stat stat, Method method)
           
 Exception getException(org.astrogrid.samp.Response rspns)
           
 Method getMethod(OptimizationMethod optMethod)
           
 Parameter getParameter(AbstractModel model, String name)
           
 String getSherpaId()
           
 boolean isException(org.astrogrid.samp.Response rspns)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SherpaClient

public SherpaClient(cfa.vo.interop.SAMPController controller)
Method Detail

getSherpaId

public String getSherpaId()

getParameter

public Parameter getParameter(AbstractModel model,
                              String name)

fit

public FitResults fit(Data dataset,
                      CompositeModel model,
                      Stat stat,
                      Method method)
               throws Exception
Throws:
Exception

createData

public Data createData(String name)

createCompositeModel

public CompositeModel createCompositeModel(String expression,
                                           Model... models)

createModel

public AbstractModel createModel(Models model)

createParameter

public Parameter createParameter(String name)

getMethod

public Method getMethod(OptimizationMethod optMethod)

findSherpa

public void findSherpa()
                throws org.astrogrid.samp.client.SampException
Throws:
org.astrogrid.samp.client.SampException

isException

public boolean isException(org.astrogrid.samp.Response rspns)

getException

public Exception getException(org.astrogrid.samp.Response rspns)
                       throws Exception
Throws:
Exception


Copyright © 2013. All rights reserved.