Class: VORuby::Wesix::Params

Inherits:
SextractorParams show all
Defined in:
lib/voruby/wesix/wesix.rb

Overview

Object containing the parameters to be used by WESIX (e.g. SExtractor) to create the source catalog. You can preset values by passing a hash to the constructor:

params = Params.new(:analysis_thresh => 2.0)
params.detect_thresh = 2.0
puts params.analysis_thresh # => 2.0

Available methods are:

#analysis_thresh, #backphoto_type, #back_filtersize, #back_size, #catalog_name, #catalog_type,
#checkimage_name, #checkimage_type, #clean, #clean_param, #deblend_mincont, #deblend_nthresh,
#detect_minarea, #detect_thresh, #detect_type, #filter, #filter_name, #flag_image, #gain,
#mag_gamma, #mag_zeropoint, #mask_type, #memory_bufsize, #memory_objstack, #memory_pixstack,
#parameters_name, #phot_apertures, #phot_autoparams1, #phot_autoparams2, #pixel_scale, #satur_level,
#seeing_fwhm, #starnnw_name, #verbose_type, #query1, #query2, #string

Constant Summary

Constants inherited from SextractorParams

SextractorParams::WESIX_NS

Class Method Summary collapse

Methods inherited from SextractorParams

#initialize

Constructor Details

This class inherits a constructor from VORuby::Wesix::SextractorParams

Class Method Details

.soap_registrationObject

Returns the schema required to convert this object into a fully-fledged SOAP object. Used by Service.



40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
# File 'lib/voruby/wesix/wesix.rb', line 40

def self.soap_registration
  {
    :class => self,
    :schema_type => XSD::QName.new(WESIX_NS, "SexParams"),
    :schema_element => [
      ["analysis_thresh", ["SOAP::SOAPDouble", XSD::QName.new(nil, "ANALYSIS_THRESH")]],
      ["backphoto_type", ["SOAP::SOAPString", XSD::QName.new(nil, "BACKPHOTO_TYPE")]],
      ["back_filtersize", ["SOAP::SOAPInt", XSD::QName.new(nil, "BACK_FILTERSIZE")]],
      ["back_size", ["SOAP::SOAPInt", XSD::QName.new(nil, "BACK_SIZE")]],
      ["catalog_name", ["SOAP::SOAPString", XSD::QName.new(nil, "CATALOG_NAME")]],
      ["catalog_type", ["SOAP::SOAPString", XSD::QName.new(nil, "CATALOG_TYPE")]],
      ["checkimage_name", ["SOAP::SOAPString", XSD::QName.new(nil, "CHECKIMAGE_NAME")]],
      ["checkimage_type", ["SOAP::SOAPString", XSD::QName.new(nil, "CHECKIMAGE_TYPE")]],
      ["clean", ["SOAP::SOAPString", XSD::QName.new(nil, "CLEAN")]],
      ["clean_param", ["SOAP::SOAPDouble", XSD::QName.new(nil, "CLEAN_PARAM")]],
      ["deblend_mincont", ["SOAP::SOAPDouble", XSD::QName.new(nil, "DEBLEND_MINCONT")]],
      ["deblend_nthresh", ["SOAP::SOAPInt", XSD::QName.new(nil, "DEBLEND_NTHRESH")]],
      ["detect_minarea", ["SOAP::SOAPInt", XSD::QName.new(nil, "DETECT_MINAREA")]],
      ["detect_thresh", ["SOAP::SOAPDouble", XSD::QName.new(nil, "DETECT_THRESH")]],
      ["detect_type", ["SOAP::SOAPString", XSD::QName.new(nil, "DETECT_TYPE")]],
      ["filter", ["SOAP::SOAPString", XSD::QName.new(nil, "FILTER")]],
      ["filter_name", ["SOAP::SOAPString", XSD::QName.new(nil, "FILTER_NAME")]],
      ["flag_image", ["SOAP::SOAPString", XSD::QName.new(nil, "FLAG_IMAGE")]],
      ["gain", ["SOAP::SOAPDouble", XSD::QName.new(nil, "GAIN")]],
      ["mag_gamma", ["SOAP::SOAPDouble", XSD::QName.new(nil, "MAG_GAMMA")]],
      ["mag_zeropoint", ["SOAP::SOAPDouble", XSD::QName.new(nil, "MAG_ZEROPOINT")]],
      ["mask_type", ["SOAP::SOAPString", XSD::QName.new(nil, "MASK_TYPE")]],
      ["memory_bufsize", ["SOAP::SOAPInt", XSD::QName.new(nil, "MEMORY_BUFSIZE")]],
      ["memory_objstack", ["SOAP::SOAPInt", XSD::QName.new(nil, "MEMORY_OBJSTACK")]],
      ["memory_pixstack", ["SOAP::SOAPInt", XSD::QName.new(nil, "MEMORY_PIXSTACK")]],
      ["parameters_name", ["SOAP::SOAPString", XSD::QName.new(nil, "PARAMETERS_NAME")]],
      ["phot_apertures", ["SOAP::SOAPInt", XSD::QName.new(nil, "PHOT_APERTURES")]],
      ["phot_autoparams1", ["SOAP::SOAPDouble", XSD::QName.new(nil, "PHOT_AUTOPARAMS1")]],
      ["phot_autoparams2", ["SOAP::SOAPDouble", XSD::QName.new(nil, "PHOT_AUTOPARAMS2")]],
      ["pixel_scale", ["SOAP::SOAPDouble", XSD::QName.new(nil, "PIXEL_SCALE")]],
      ["satur_level", ["SOAP::SOAPDouble", XSD::QName.new(nil, "SATUR_LEVEL")]],
      ["seeing_fwhm", ["SOAP::SOAPDouble", XSD::QName.new(nil, "SEEING_FWHM")]],
      ["starnnw_name", ["SOAP::SOAPString", XSD::QName.new(nil, "STARNNW_NAME")]],
      ["verbose_type", ["SOAP::SOAPString", XSD::QName.new(nil, "VERBOSE_TYPE")]],
      ["query1", ["SOAP::SOAPString", XSD::QName.new(nil, "query1")]],
      ["query2", ["SOAP::SOAPString", XSD::QName.new(nil, "query2")]],
      ["string", ["SOAP::SOAPString", XSD::QName.new(nil, "string")]]
    ]
  }
end