edu.iris.Fissures.network
Class ResponsePrint

java.lang.Object
  extended by edu.iris.Fissures.network.ResponsePrint

public class ResponsePrint
extends java.lang.Object

ResponsePrint.java Created: Wed Mar 7 19:15:59 2001


Constructor Summary
ResponsePrint()
           
 
Method Summary
static void addToNameMap(UnitImpl unit, java.lang.String name)
           
static java.lang.String formatUnit(Unit unit)
           
static java.lang.String printB53(ChannelId id, TimeRange effective_time, int stageNum, Stage stage)
          Prints poles and zeros response blockette 53
static java.lang.String printB54(ChannelId id, TimeRange effective_time, int stageNum, Stage stage)
          Prints Coefficient responses blockette 53
static java.lang.String printB55(ChannelId id, TimeRange effective_time, int stageNum, Stage stage)
          Prints list response SEED blockette 55
static java.lang.String printB57(ChannelId id, TimeRange effective_time, int stageNum, Stage stage)
          Prints deciamation response SEED blockette 57
static java.lang.String printB58(ChannelId id, TimeRange effective_time, int stageNum, Stage stage)
          Prints sensitivity/gain response SEED blockette 58
static java.lang.String printHeader(ChannelId id, TimeRange effective_time)
          Used to print a channel ID and the effective times.
static java.lang.String printInstEffectiveTime(Instrumentation inst)
           
static java.lang.String printResponse(ChannelId chanId, Instrumentation inst)
          Prints an instrumentation object in resp format.
static java.lang.String printResponse(ChannelId chanId, Response response, TimeRange effective_time)
           
static java.lang.String printSensitivity(ChannelId id, Instrumentation inst)
          Prints the overall sensitivity/gain response SEED blockette 58
static java.lang.String printSensitivity(ChannelId id, Sensitivity sensitivity, TimeRange effective_time)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResponsePrint

public ResponsePrint()
Method Detail

printResponse

public static java.lang.String printResponse(ChannelId chanId,
                                             Instrumentation inst)
Prints an instrumentation object in resp format. Declared statically so can just be called with edu.iris.dmc.Client.printResponse( ChannelId, Instrumentation );

Parameters:
ChannelId - channel id for the response
Instrumentation - object containing the entire response

printResponse

public static java.lang.String printResponse(ChannelId chanId,
                                             Response response,
                                             TimeRange effective_time)

printHeader

public static java.lang.String printHeader(ChannelId id,
                                           TimeRange effective_time)
Used to print a channel ID and the effective times.

Parameters:
ChannelId - channel id for the response
TimeRange - effective time of the channel

printB53

public static java.lang.String printB53(ChannelId id,
                                        TimeRange effective_time,
                                        int stageNum,
                                        Stage stage)
Prints poles and zeros response blockette 53

Parameters:
ChannelId - channel id for the response
TimeRange - effective time of the channel
int - the stage number
Stage - the entire stage object

printB54

public static java.lang.String printB54(ChannelId id,
                                        TimeRange effective_time,
                                        int stageNum,
                                        Stage stage)
Prints Coefficient responses blockette 53

Parameters:
ChannelId - channel id for the response
TimeRange - effective time of the channel
int - the stage number
Stage - the entire stage object

printB55

public static java.lang.String printB55(ChannelId id,
                                        TimeRange effective_time,
                                        int stageNum,
                                        Stage stage)
Prints list response SEED blockette 55

Parameters:
ChannelId - channel id for the response
TimeRange - effective time of the channel
int - the stage number
Stage - the entire stage object

printB57

public static java.lang.String printB57(ChannelId id,
                                        TimeRange effective_time,
                                        int stageNum,
                                        Stage stage)
Prints deciamation response SEED blockette 57

Parameters:
ChannelId - channel id for the response
TimeRange - effective time of the channel
int - the stage number
Stage - the entire stage object

printB58

public static java.lang.String printB58(ChannelId id,
                                        TimeRange effective_time,
                                        int stageNum,
                                        Stage stage)
Prints sensitivity/gain response SEED blockette 58

Parameters:
ChannelId - channel id for the response
TimeRange - effective time of the channel
int - the stage number
Stage - the entire stage object

printSensitivity

public static java.lang.String printSensitivity(ChannelId id,
                                                Instrumentation inst)
Prints the overall sensitivity/gain response SEED blockette 58

Parameters:
ChannelId - channel id for the response
Instrumentation - the entire instrument response

printSensitivity

public static java.lang.String printSensitivity(ChannelId id,
                                                Sensitivity sensitivity,
                                                TimeRange effective_time)

printInstEffectiveTime

public static java.lang.String printInstEffectiveTime(Instrumentation inst)

formatUnit

public static java.lang.String formatUnit(Unit unit)

addToNameMap

public static void addToNameMap(UnitImpl unit,
                                java.lang.String name)