| Methods' Summary |
| setDate |
sets the date value which is displayed in the date field.
|
| getDate |
returns the date value which is currently displayed in the date field.
|
| setMin |
sets the minimum date value that can be entered by the user.
|
| getMin |
returns the currently set minimum date value that can be entered by
the user.
|
| setMax |
sets the maximum date value that can be entered by the user.
|
| getMax |
returns the currently set maximum date value that can be entered by
the user.
|
| setFirst |
sets the first value to be set on POS1 key.
|
| getFirst |
returns the currently set first value which is set on POS1 key.
|
| setLast |
sets the last value to be set on END key.
|
| getLast |
returns the currently set last value which is set on END key.
|
| setLongFormat |
determines if the long date format is to be used.
|
| isLongFormat |
determines if the long date format is currently used.
|
| setEmpty |
sets an empty value for the date.
|
| isEmpty |
returns whether currently an empty value is set for the date.
|
| setStrictFormat |
determines if the format is checked during user input.
|
| isStrictFormat |
returns whether the format is currently checked during user input.
|
| Methods' Details |
setDate
| [oneway] void |
| setDate( |
[in] long |
Date ); |
- Description
- sets the date value which is displayed in the date field.
The date value must be specified in the format
YYYYMMDD.
|
|
getDate
- Description
- returns the date value which is currently displayed in the date field.
|
|
setMin
| [oneway] void |
| setMin( |
[in] long |
Date ); |
- Description
- sets the minimum date value that can be entered by the user.
|
|
getMin
- Description
- returns the currently set minimum date value that can be entered by
the user.
|
|
setMax
| [oneway] void |
| setMax( |
[in] long |
Date ); |
- Description
- sets the maximum date value that can be entered by the user.
|
|
getMax
- Description
- returns the currently set maximum date value that can be entered by
the user.
|
|
setFirst
| [oneway] void |
| setFirst( |
[in] long |
Date ); |
- Description
- sets the first value to be set on POS1 key.
|
|
getFirst
- Description
- returns the currently set first value which is set on POS1 key.
|
|
setLast
| [oneway] void |
| setLast( |
[in] long |
Date ); |
- Description
- sets the last value to be set on END key.
|
|
getLast
- Description
- returns the currently set last value which is set on END key.
|
|
setLongFormat
| [oneway] void |
| setLongFormat( |
[in] boolean |
bLong ); |
- Description
- determines if the long date format is to be used.
|
|
isLongFormat
- Description
- determines if the long date format is currently used.
|
|
setEmpty
- Description
- sets an empty value for the date.
|
|
isEmpty
- Description
- returns whether currently an empty value is set for the date.
|
|
setStrictFormat
| [oneway] void |
| setStrictFormat( |
[in] boolean |
bStrict ); |
- Description
- determines if the format is checked during user input.
|
|
isStrictFormat
| boolean |
| isStrictFormat(); |
- Description
- returns whether the format is currently checked during user input.
|
|
Copyright © 2013, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.


Welcome to our
Hotel
Owner Registration
Owner First Name
Owner Last Name
Register
Pet Registration
Owner
Pet Name
Color
Breed
Add Pet
Owner
Pet
Breed
Color
Update
Delete
Check in/out


Your confirmation code
Go to your browser to enter this code from the Environment Agency to confirm your details. Then you can send your data returns saved as CSV.
We’ll send a receipt to this email address.
Your site officer will get a notification about this data return file and may need to get in touch with you directly.
Ignore this email if you didn’t ask for a code.


Posted on September 5, 2014 at 11:00 AM CST
Conflict with others can sometimes lead to shame. It is how you deal with that shame that is important.
A time in my life when I had an emotional conflict with someone was back in college. I was planning on living with two of my friends, but we ended up finding a 4 bedroom house for cheap. We needed another roommate and my girlfriend at the time thought it would be a good idea for her friend to live there as our fourth roommate. Things were fine for the first semester, but the second semester was a different story.
The first semester she would complain a lot about things like cleanliness. I mean, we were 3 guys living away from home in a house for the first time in our lives. When we came back after Christmas break, the nagging got much worse. One of my roommates would argue with her, while my other roommate and myself just tried to ignore her. She felt that nobody was on her side and she withdrew. After a few months of this she ended up moving out with less than 2 months left of school.
When I think back to this time, I feel bad for our fourth roommate. I feel I could have done more to make her feel part of the group. I handled the situation poorly because I did not see the same problem she did and I ignored the situation all together. My actions led to her moving out. This made the living situation better, but it ruined a good friendship.
From this experience I have learned that just because you don't see a problem with something does not mean there is no problem. Our problem started out small and snowballed into something that there was no coming back from. If there is a problem with someone in your group of friends, classmates, or co-workers you need to nip it in the bud as soon as possible. It can lead to one of the poles represented on the compass of shame and can have negative consequences.


Form POST middleware¶
To discover whether your Object Storage system supports this feature,
check with your service provider or send a GET request using the /info
path.
You can upload objects directly to the Object Storage system from a
browser by using the form POST middleware. This middleware uses
account or container secret keys to generate a cryptographic signature for the
request. This means that you do not need to send an authentication token
in the X-Auth-Token
header to perform the request.
The form POST middleware uses the same secret keys as the temporary URL middleware uses. For information about how to set these keys, see Secret Keys.
For information about the form POST middleware configuration options, see FormPost in the Source Documentation.
Form POST format¶
To upload objects to a cluster, you can use an HTML form POST request.
The format of the form POST request is:
Example 1.14. Form POST format
<![CDATA[
<form action="SWIFT_URL"
method="POST"
enctype="multipart/form-data">
<input type="hidden" name="redirect" value="REDIRECT_URL"/>
<input type="hidden" name="max_file_size" value="BYTES"/>
<input type="hidden" name="max_file_count" value="COUNT"/>
<input type="hidden" name="expires" value="UNIX_TIMESTAMP"/>
<input type="hidden" name="signature" value="HMAC"/>
<input type="file" name="FILE_NAME"/>
<br/>
<input type="submit"/>
</form>
]]>
action=”SWIFT_URL”
Set to full URL where the objects are to be uploaded. The names of uploaded files are appended to the specified SWIFT_URL. So, you can upload directly to the root of a container with a URL like:
https://swift-cluster.example.com/v1/my_account/container/
Optionally, you can include an object prefix to separate uploads, such as:
https://swift-cluster.example.com/v1/my_account/container/OBJECT_PREFIX
method=”POST”
Must be POST
.
enctype=”multipart/form-data”
Must be multipart/form-data
.
name=”redirect” value=”REDIRECT_URL”
Redirects the browser to the REDIRECT_URL after the upload completes. The URL has status and message query parameters added to it, which specify the HTTP status code for the upload and an optional error message. The 2nn status code indicates success.
The REDIRECT_URL can be an empty string. If so, the Location
response header is not set.
name=”max_file_size” value=”BYTES”
Required. Indicates the size, in bytes, of the maximum single file upload.
name=”max_file_count” value= “COUNT”
Required. Indicates the maximum number of files that can be uploaded with the form.
name=”expires” value=”UNIX_TIMESTAMP”
The UNIX timestamp that specifies the time before which the form must be submitted before it becomes no longer valid.
name=”signature” value=”HMAC”
The HMAC-SHA1 signature of the form.
type=”file” name=”FILE_NAME”
File name of the file to be uploaded. You can include from one to the
max_file_count
value of files.
The file attributes must appear after the other attributes to be processed correctly.
If attributes appear after the file attributes, they are not sent with the sub-request because all attributes in the file cannot be parsed on the server side unless the whole file is read into memory; the server does not have enough memory to service these requests. Attributes that follow the file attributes are ignored.
Optionally, if you want the uploaded files to be temporary you can set x-delete-at or x-delete-after attributes by adding one of these as a form input:
<input type="hidden" name="x_delete_at" value="<unix-timestamp>" />
<input type="hidden" name="x_delete_after" value="<seconds>" />
type= “submit”
Must be submit
.
HMAC-SHA1 signature for form POST¶
Form POST middleware uses an HMAC-SHA1 cryptographic signature. This signature includes these elements from the form:
- The path. Starting with
/v1/
onwards and including a container name and, optionally, an object prefix. In Example 1.15, “HMAC-SHA1 signature for form POST” the path is/v1/my_account/container/object_prefix
. Do not URL-encode the path at this stage. - A redirect URL. If there is no redirect URL, use the empty string.
- Maximum file size. In Example 1.15, “HMAC-SHA1 signature for form
POST” the
max_file_size
is104857600
bytes. - The maximum number of objects to upload. In Example 1.15, “HMAC-SHA1
signature for form
POST”
max_file_count
is10
. - Expiry time. In Example 1.15, “HMAC-SHA1 signature for form POST” the expiry time is set to ``600` seconds into the future.
- The secret key. Set as the
X-Account-Meta-Temp-URL-Key
header value for accounts orX-Container-Meta-Temp-URL-Key
header value for containers. See Secret Keys for more information.
The following example code generates a signature for use with form POST:
Example 1.15. HMAC-SHA1 signature for form POST
import hmac
from hashlib import sha1
from time import time
path = '/v1/my_account/container/object_prefix'
redirect = 'https://myserver.com/some-page'
max_file_size = 104857600
max_file_count = 10
expires = int(time() + 600)
key = 'MYKEY'
hmac_body = '%s\n%s\n%s\n%s\n%s' % (path, redirect,
max_file_size, max_file_count, expires)
signature = hmac.new(key, hmac_body, sha1).hexdigest()
For more information, see RFC 2104: HMAC: Keyed-Hashing for Message Authentication.
Form POST example¶
The following example shows how to submit a form by using a cURL
command. In this example, the object prefix is photos/
and the file
being uploaded is called flower.jpg
.
This example uses the swift-form-signature script to compute the
expires
and signature
values.
$ bin/swift-form-signature /v1/my_account/container/photos/ https://example.com/done.html<PHONE_NUMBER> 1 200 MYKEY
Expires:<PHONE_NUMBER>
Signature: 35129416ebda2f1a21b3c2b8939850dfc63d8f43
$ curl -i https://swift-cluster.example.com/v1/my_account/container/photos/ -X POST \
-F max_file_size=5373952000 -F max_file_count=1 -F expires=1390825338 \
-F signature=35129416ebda2f1a21b3c2b8939850dfc63d8f43 \
-F redirect=https://example.com/done.html \
-F file=@flower.jpg


| All projects share one version of the dependency. | |
| At least one project has a differing version of the dependency. |
| Number of sub-projects: | 5 |
|---|---|
| Number of dependencies (NOD): | 22 |
| Number of unique artifacts (NOA): | 22 |
| Number of SNAPSHOT artifacts (NOS): | 0 |
| Convergence (NOD/NOA): | 100% |
| Ready for Release (100% Convergence and no SNAPSHOTS): | Success |


Class NurbsSurface
Inheritance
System.Object
NurbsSurface
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.Serialization.IDeserializationCallback
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: CADability.dll
Syntax
[Serializable]
public class NurbsSurface : ISurfaceImpl, ISurface, IOctTreeInsertable, ISerializable, IDeserializationCallback, IExportStep
Constructors
|
Improve this Doc
View Source
NurbsSurface(GeoPoint[,], Double[,], Double[], Double[], Int32, Int32, Boolean, Boolean)
Creates a new NURBS surface with the given data.
Declaration
public NurbsSurface(GeoPoint[, ] poles, double[, ] weights, double[] uKnots, double[] vKnots, int uDegree, int vDegree, bool uPeriodic, bool vPeriodic)
Parameters
| Type |
Name |
Description |
| GeoPoint[,] |
poles |
the poles
|
| System.Double[,] |
weights |
the weight of the poles
|
| System.Double[] |
uKnots |
the knots in u direction (multiple knots may have the same value)
|
| System.Double[] |
vKnots |
the knots in v direction (multiple knots may have the same value)
|
| System.Int32 |
uDegree |
the degree in u direction
|
| System.Int32 |
vDegree |
the degree in v direction
|
| System.Boolean |
uPeriodic |
closed in u direction
|
| System.Boolean |
vPeriodic |
closed in v direction
|
|
Improve this Doc
View Source
NurbsSurface(GeoPoint[,], Double[,], Double[], Double[], Int32[], Int32[], Int32, Int32, Boolean, Boolean)
Creates a new NURBS surface with the given data.
Declaration
public NurbsSurface(GeoPoint[, ] poles, double[, ] weights, double[] uKnots, double[] vKnots, int[] uMults, int[] vMults, int uDegree, int vDegree, bool uPeriodic, bool vPeriodic)
Parameters
| Type |
Name |
Description |
| GeoPoint[,] |
poles |
the poles
|
| System.Double[,] |
weights |
the weight of the poles
|
| System.Double[] |
uKnots |
the knots in u direction (no duplicate values)
|
| System.Double[] |
vKnots |
the knots in v direction (no duplicate values)
|
| System.Int32[] |
uMults |
the multiplicities in u direction
|
| System.Int32[] |
vMults |
the multiplicities in v direction
|
| System.Int32 |
uDegree |
the degree in u direction
|
| System.Int32 |
vDegree |
the degree in v direction
|
| System.Boolean |
uPeriodic |
closed in u direction
|
| System.Boolean |
vPeriodic |
closed in v direction
|
|
Improve this Doc
View Source
NurbsSurface(GeoPoint[,], Int32, Int32, Boolean, Boolean)
Creates a new NURBS surface which interpolates the provided points. The surface will contain the provided points exactely
and smoothly interpolated inbetween. The points are organized in a two dimensional array resembling the u and v direction
(first and second index) of the NURBS surface
Declaration
public NurbsSurface(GeoPoint[, ] throughPoints, int maxUDegree, int maxVDegree, bool uPeriodic, bool vPeriodic)
Parameters
| Type |
Name |
Description |
| GeoPoint[,] |
throughPoints |
Points to be interpolated
|
| System.Int32 |
maxUDegree |
The maximum degree in respect of the first index
|
| System.Int32 |
maxVDegree |
The maximum degree in respect of the second index
|
| System.Boolean |
uPeriodic |
Periodicy in respect of the first index
|
| System.Boolean |
vPeriodic |
Periodicy in respect of the second index
|
|
Improve this Doc
View Source
NurbsSurface(GeoPoint[,], Int32, Int32, Double[], Double[], Boolean, Boolean)
Declaration
public NurbsSurface(GeoPoint[, ] throughPoints, int maxUDegree, int maxVDegree, double[] uKnots, double[] vKnots, bool uPeriodic, bool vPeriodic)
Parameters
| Type |
Name |
Description |
| GeoPoint[,] |
throughPoints |
|
| System.Int32 |
maxUDegree |
|
| System.Int32 |
maxVDegree |
|
| System.Double[] |
uKnots |
|
| System.Double[] |
vKnots |
|
| System.Boolean |
uPeriodic |
|
| System.Boolean |
vPeriodic |
|
|
Improve this Doc
View Source
NurbsSurface(SerializationInfo, StreamingContext)
Declaration
protected NurbsSurface(SerializationInfo info, StreamingContext context)
Parameters
| Type |
Name |
Description |
| System.Runtime.Serialization.SerializationInfo |
info |
|
| System.Runtime.Serialization.StreamingContext |
context |
|
Properties
|
Improve this Doc
View Source
isRational
Declaration
public bool isRational { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
IsRuled
Declaration
public override RuledSurfaceMode IsRuled { get; }
Property Value
Overrides
|
Improve this Doc
View Source
IsUPeriodic
Declaration
public override bool IsUPeriodic { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
Overrides
|
Improve this Doc
View Source
IsVPeriodic
Declaration
public override bool IsVPeriodic { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
Overrides
|
Improve this Doc
View Source
Poles
Declaration
public GeoPoint[, ] Poles { get; }
Property Value
|
Improve this Doc
View Source
UDegree
Declaration
public int UDegree { get; }
Property Value
| Type |
Description |
| System.Int32 |
|
|
Improve this Doc
View Source
UKnots
Declaration
public double[] UKnots { get; }
Property Value
| Type |
Description |
| System.Double[] |
|
|
Improve this Doc
View Source
UPeriod
Declaration
public override double UPeriod { get; }
Property Value
| Type |
Description |
| System.Double |
|
Overrides
|
Improve this Doc
View Source
VDegree
Declaration
public int VDegree { get; }
Property Value
| Type |
Description |
| System.Int32 |
|
|
Improve this Doc
View Source
VKnots
Declaration
public double[] VKnots { get; }
Property Value
| Type |
Description |
| System.Double[] |
|
|
Improve this Doc
View Source
VPeriod
Declaration
public override double VPeriod { get; }
Property Value
| Type |
Description |
| System.Double |
|
Overrides
|
Improve this Doc
View Source
Weights
Declaration
public double[, ] Weights { get; }
Property Value
| Type |
Description |
| System.Double[,] |
|
Methods
|
Improve this Doc
View Source
Clone()
Declaration
public override ISurface Clone()
Returns
Overrides
|
Improve this Doc
View Source
CopyData(ISurface)
Declaration
public override void CopyData(ISurface CopyFrom)
Parameters
Overrides
|
Improve this Doc
View Source
Derivation2At(GeoPoint2D, out GeoPoint, out GeoVector, out GeoVector, out GeoVector, out GeoVector, out GeoVector)
Declaration
public override void Derivation2At(GeoPoint2D uv, out GeoPoint location, out GeoVector du, out GeoVector dv, out GeoVector duu, out GeoVector dvv, out GeoVector duv)
Parameters
Overrides
|
Improve this Doc
View Source
DerivationAt(GeoPoint2D, out GeoPoint, out GeoVector, out GeoVector)
Declaration
public override void DerivationAt(GeoPoint2D uv, out GeoPoint location, out GeoVector du, out GeoVector dv)
Parameters
Overrides
|
Improve this Doc
View Source
FixedU(Double, Double, Double)
Declaration
public override ICurve FixedU(double u, double vmin, double vmax)
Parameters
| Type |
Name |
Description |
| System.Double |
u |
|
| System.Double |
vmin |
|
| System.Double |
vmax |
|
Returns
Overrides
|
Improve this Doc
View Source
FixedV(Double, Double, Double)
Declaration
public override ICurve FixedV(double v, double umin, double umax)
Parameters
| Type |
Name |
Description |
| System.Double |
v |
|
| System.Double |
umin |
|
| System.Double |
umax |
|
Returns
Overrides
|
Improve this Doc
View Source
Declaration
public override ISurface GetCanonicalForm(double precision, BoundingRect? bounds)
Parameters
| Type |
Name |
Description |
| System.Double |
precision |
|
| System.Nullable<BoundingRect> |
bounds |
|
Returns
Overrides
|
Improve this Doc
View Source
Declaration
public ISurface GetCanonicalFormOld(double precision, BoundingRect? bounds)
Parameters
| Type |
Name |
Description |
| System.Double |
precision |
|
| System.Nullable<BoundingRect> |
bounds |
|
Returns
|
Improve this Doc
View Source
GetExtrema()
Declaration
public override GeoPoint2D[] GetExtrema()
Returns
Overrides
|
Improve this Doc
View Source
GetLineIntersection(GeoPoint, GeoVector)
Declaration
public override GeoPoint2D[] GetLineIntersection(GeoPoint startPoint, GeoVector direction)
Parameters
Returns
Overrides
|
Improve this Doc
View Source
GetMaximumExtent()
Declaration
public BoundingRect GetMaximumExtent()
Returns
|
Improve this Doc
View Source
GetModified(ModOp)
Declaration
public override ISurface GetModified(ModOp m)
Parameters
| Type |
Name |
Description |
| ModOp |
m |
how to modify
|
Returns
| Type |
Description |
| ISurface |
modified surface
|
Overrides
|
Improve this Doc
View Source
GetNaturalBounds(out Double, out Double, out Double, out Double)
Declaration
public override void GetNaturalBounds(out double umin, out double umax, out double vmin, out double vmax)
Parameters
| Type |
Name |
Description |
| System.Double |
umin |
|
| System.Double |
umax |
|
| System.Double |
vmin |
|
| System.Double |
vmax |
|
Overrides
|
Improve this Doc
View Source
GetNonPeriodicSurface(ICurve[])
Declaration
public override ISurface GetNonPeriodicSurface(ICurve[] orientedCurves)
Parameters
| Type |
Name |
Description |
| ICurve[] |
orientedCurves |
|
Returns
Overrides
|
Improve this Doc
View Source
GetNormal(GeoPoint2D)
Declaration
public override GeoVector GetNormal(GeoPoint2D uv)
Parameters
Returns
Overrides
|
Improve this Doc
View Source
GetOffsetSurface(Double)
Declaration
public override ISurface GetOffsetSurface(double offset)
Parameters
| Type |
Name |
Description |
| System.Double |
offset |
|
Returns
Overrides
|
Improve this Doc
View Source
GetPatchExtent(BoundingRect, Boolean)
Declaration
public override BoundingCube GetPatchExtent(BoundingRect uvPatch, bool rough)
Parameters
| Type |
Name |
Description |
| BoundingRect |
uvPatch |
|
| System.Boolean |
rough |
|
Returns
Overrides
|
Improve this Doc
View Source
GetPlaneIntersection(PlaneSurface, Double, Double, Double, Double, Double)
Declaration
public override IDualSurfaceCurve[] GetPlaneIntersection(PlaneSurface pl, double umin, double umax, double vmin, double vmax, double precision)
Parameters
| Type |
Name |
Description |
| PlaneSurface |
pl |
|
| System.Double |
umin |
|
| System.Double |
umax |
|
| System.Double |
vmin |
|
| System.Double |
vmax |
|
| System.Double |
precision |
|
Returns
Overrides
|
Improve this Doc
View Source
GetProjectedCurve(ICurve, Double)
Declaration
public override ICurve2D GetProjectedCurve(ICurve curve, double precision)
Parameters
| Type |
Name |
Description |
| ICurve |
curve |
|
| System.Double |
precision |
|
Returns
Overrides
|
Improve this Doc
View Source
GetPropertyEntry(IFrame)
Declaration
public override IPropertyEntry GetPropertyEntry(IFrame frame)
Parameters
| Type |
Name |
Description |
| IFrame |
frame |
|
Returns
Overrides
|
Improve this Doc
View Source
GetSafeParameterSteps(Double, Double, Double, Double, out Double[], out Double[])
Declaration
public override void GetSafeParameterSteps(double umin, double umax, double vmin, double vmax, out double[] intu, out double[] intv)
Parameters
| Type |
Name |
Description |
| System.Double |
umin |
|
| System.Double |
umax |
|
| System.Double |
vmin |
|
| System.Double |
vmax |
|
| System.Double[] |
intu |
|
| System.Double[] |
intv |
|
Overrides
|
Improve this Doc
View Source
GetSaveUSteps()
Declaration
protected override double[] GetSaveUSteps()
Returns
| Type |
Description |
| System.Double[] |
|
Overrides
|
Improve this Doc
View Source
GetSaveVSteps()
Declaration
protected override double[] GetSaveVSteps()
Returns
| Type |
Description |
| System.Double[] |
|
Overrides
|
Improve this Doc
View Source
GetSimpleSurface(Double, out ISurface, out ModOp2D)
Returns true if this NurbsSurface can be represented as a simpler surface. Simple surfaces have
better performances.
Declaration
public bool GetSimpleSurface(double precision, out ISurface simpleSurface, out ModOp2D reparametrisation)
Parameters
| Type |
Name |
Description |
| System.Double |
precision |
The precision within the simpler surface must approximate this surface (0.0: use global Precision)
|
| ISurface |
simpleSurface |
the found surface or null
|
| ModOp2D |
reparametrisation |
the needed reparametrisation of the uv space from this surface to the surface found
|
Returns
| Type |
Description |
| System.Boolean |
true, if simpler form exists
|
|
Improve this Doc
View Source
GetUSingularities()
Declaration
public override double[] GetUSingularities()
Returns
| Type |
Description |
| System.Double[] |
|
Overrides
|
Improve this Doc
View Source
GetVSingularities()
Declaration
public override double[] GetVSingularities()
Returns
| Type |
Description |
| System.Double[] |
|
Overrides
|
Improve this Doc
View Source
GetZMinMax(Projection, Double, Double, Double, Double, ref Double, ref Double)
Declaration
public override void GetZMinMax(Projection p, double umin, double umax, double vmin, double vmax, ref double zMin, ref double zMax)
Parameters
| Type |
Name |
Description |
| Projection |
p |
|
| System.Double |
umin |
|
| System.Double |
umax |
|
| System.Double |
vmin |
|
| System.Double |
vmax |
|
| System.Double |
zMin |
|
| System.Double |
zMax |
|
Overrides
|
Improve this Doc
View Source
HasDiscontinuousDerivative(out ICurve2D[])
Declaration
public override bool HasDiscontinuousDerivative(out ICurve2D[] discontinuities)
Parameters
| Type |
Name |
Description |
| ICurve2D[] |
discontinuities |
|
Returns
| Type |
Description |
| System.Boolean |
|
Overrides
|
Improve this Doc
View Source
HitTest(BoundingCube, out GeoPoint2D)
Declaration
public override bool HitTest(BoundingCube cube, out GeoPoint2D uv)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
Overrides
|
Improve this Doc
View Source
Intersect(BoundingRect, ISurface, BoundingRect)
Declaration
public override ICurve[] Intersect(BoundingRect thisBounds, ISurface other, BoundingRect otherBounds)
Parameters
Returns
Overrides
|
Improve this Doc
View Source
Intersect(ICurve, BoundingRect, out GeoPoint[], out GeoPoint2D[], out Double[])
Declaration
public override void Intersect(ICurve curve, BoundingRect uvExtent, out GeoPoint[] ips, out GeoPoint2D[] uvOnFaces, out double[] uOnCurve3Ds)
Parameters
Overrides
|
Improve this Doc
View Source
IsVanishingProjection(Projection, Double, Double, Double, Double)
Declaration
public override bool IsVanishingProjection(Projection p, double umin, double umax, double vmin, double vmax)
Parameters
| Type |
Name |
Description |
| Projection |
p |
|
| System.Double |
umin |
|
| System.Double |
umax |
|
| System.Double |
vmin |
|
| System.Double |
vmax |
|
Returns
| Type |
Description |
| System.Boolean |
|
Overrides
|
Improve this Doc
View Source
Make3dCurve(ICurve2D)
Declaration
public override ICurve Make3dCurve(ICurve2D curve2d)
Parameters
Returns
Overrides
|
Improve this Doc
View Source
MaxDist(GeoPoint2D, GeoPoint2D, out GeoPoint2D)
Declaration
public override double MaxDist(GeoPoint2D sp, GeoPoint2D ep, out GeoPoint2D mp)
Parameters
Returns
| Type |
Description |
| System.Double |
|
Overrides
|
Improve this Doc
View Source
Modify(ModOp)
Declaration
public override void Modify(ModOp m)
Parameters
| Type |
Name |
Description |
| ModOp |
m |
|
Overrides
|
Improve this Doc
View Source
PointAt(GeoPoint2D)
Declaration
public override GeoPoint PointAt(GeoPoint2D uv)
Parameters
Returns
Overrides
|
Improve this Doc
View Source
ReverseOrientation()
Declaration
public override ModOp2D ReverseOrientation()
Returns
Overrides
|
Improve this Doc
View Source
SameGeometry(BoundingRect, ISurface, BoundingRect, Double, out ModOp2D)
Declaration
public override bool SameGeometry(BoundingRect thisBounds, ISurface other, BoundingRect otherBounds, double precision, out ModOp2D firstToSecond)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
Overrides
|
Improve this Doc
View Source
TrimmU(Double, Double)
Declaration
public NurbsSurface TrimmU(double u0, double u1)
Parameters
| Type |
Name |
Description |
| System.Double |
u0 |
|
| System.Double |
u1 |
|
Returns
|
Improve this Doc
View Source
TrimmV(Double, Double)
Declaration
public NurbsSurface TrimmV(double v0, double v1)
Parameters
| Type |
Name |
Description |
| System.Double |
v0 |
|
| System.Double |
v1 |
|
Returns
|
Improve this Doc
View Source
UDirection(GeoPoint2D)
Declaration
public override GeoVector UDirection(GeoPoint2D uv)
Parameters
Returns
Overrides
|
Improve this Doc
View Source
VDirection(GeoPoint2D)
Declaration
public override GeoVector VDirection(GeoPoint2D uv)
Parameters
Returns
Overrides
Explicit Interface Implementations
|
Improve this Doc
View Source
IExportStep.Export(ExportStep, Boolean)
Declaration
int IExportStep.Export(ExportStep export, bool topLevel)
Parameters
| Type |
Name |
Description |
| ExportStep |
export |
|
| System.Boolean |
topLevel |
|
Returns
| Type |
Description |
| System.Int32 |
|
|
Improve this Doc
View Source
IDeserializationCallback.OnDeserialization(Object)
Declaration
void IDeserializationCallback.OnDeserialization(object sender)
Parameters
| Type |
Name |
Description |
| System.Object |
sender |
|
|
Improve this Doc
View Source
ISerializable.GetObjectData(SerializationInfo, StreamingContext)
Declaration
void ISerializable.GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
| Type |
Name |
Description |
| System.Runtime.Serialization.SerializationInfo |
info |
|
| System.Runtime.Serialization.StreamingContext |
context |
|
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.Serialization.IDeserializationCallback


Ambient
Specular
Diffuse
Material Ambient Color
Material Diffuse Color
Material Specular Color
Ambient Light Color
Diffuse Light Color
Specular Light Color
Oops ... your browser doesn't support the HTML5 canvas element


CATWALK A film review by Steve Rhodes Copyright 1996 Steve Rhodes
RATING (0 TO ****): **
In the spring and fall of each year the major fashion designers preview their collections. This is one model's journey through the three weeks of Milan, Paris, and New York. -Opening Credit
Last year there was a much better documentary called UNZIPPED that focused in on the marvelous and naturally funny fashion designer Isaac Mizrahi. This year we have a documentary called CATWALK that follows supermodel Christy Turlington through her paces. It even includes some scenes with Mizrahi. Cinematographer Robert Leacock takes his first stab at directing, and his inexperience shows. His approach to directing is just to shoot a lot of film and then assemble it later in the cutting room. This movie has no visible construction and is merely an assemblage of random pieces of film. On the good side, if you can ignore the amateurism documentary style, the fashion industry is always a weird and fascinating world to visit.
Beside Christy, we get to meet her friends in the modeling profession, especially Naomi Campbell and Kate Moss. If these names do not mean a lot to you, perhaps you don't subscribe to the right magazines. Although I saw UNZIPPED as well as every episode of "The House of Eliott," I found I learned some from watching CATWALK. Most of all, I found out how divorced from reality these people seem to be. Remember they are selling clothes, which is something we all purchase and wear, but most of their collections seem destined for some other planet. Almost all of them border on self-parody.
To be fair, a few of the gowns are quite lovely, but most are not, and the makeup and hairdos these models are forced to wear are frequently atrocious. One time, for example, they had to wear about 3 feet of false hair on the their heads. It had roughly the shape of a pagoda and had enough hairspray on it to withstand a hurricane force wind.
The documentary was done by letting the camera roll and recording what happened. There is no narration nor any attempt at a theme. Back in the cutting room, they arranged the film strips in order and perhaps threw some away. Given they kept an uninteresting sequence where the camera was dropped, and we toured the floor, perhaps there was no editing, just splicing. Unless you follow the fashion world closely, you will probably be just as confused as I was as to who was who, and what they were talking about. Sometimes the camera would start rolling in the middle of a conversation, and without the context what they were saying little sense.
If you've ever wondered what is the value in a million dollar model, the movie answers the question. Valentino says, "You can't always tell at a good collection what a model does, but you sure can at a bad one. You put a gunnysack or galoshes on Naomi, and you understand why a model gets paid." In sharp contrast to the models, the fashion designers who come on stage at the end of the unveiling of their collections are almost always poorly dressed. It is almost as if they are trying to look like slobs to show their independence of the fashion industry that makes them so wealthy.
In some of the scenes the designers reflect on other designers. Andre leon Talley says of famous designer John Galliano's collections that, "He's not making clothes for women who work. He is making clothes for women who want to be women." In other scenes, the models reflect on themselves. Kate Moss, talking of their long breaks between runway walks says, "We have plenty of empty time to think. That is why we are so smart." This film showed no evidence of this occurring. Most of the models seemed to be on a constant lark without a care or a thought in the world.
Since the show is mainly visuals with snippets of conversation, it forces you to look at the models more and listen to the music. The models have a definite homogeneity to them. They all had big lips, big eyes, ultrasmooth skin, thin shapes, and small noses. This reminded me of the recent Newsweek article on the "Science of Beauty." Finally, the music was heavy on the classical like Beethoven's Ode to Joy so I found this part quite pleasurable.
CATWALK runs 1:34. The runway scenes are in color, but the rest of the film is shot in low contrast black and white. It is not rated but would probably get an R rating for its couple of uses of the F word. Actually, it is a film with very brief nudity, no sex, no violence, and mainly very mild language so I think kids as young as 10 could go. The most offensive thing to me was the models' constant smoking. Although I enjoyed the show, the poor quality of the production is too much of an annoyance for me to be able to recommend it. I give it **.
**** = One of the top few films of this or any year. A must see film. *** = Excellent show. Look for it. ** = Average movie. Kind of enjoyable. * = Poor show.  Totally unbearable.
REVIEW WRITTEN ON: June 1, 1996
Opinions expressed are mine and not meant to reflect my employer's.
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


Organizing with classes
In Ruby, everything is an object, and those objects are organized into classes. Classes don't just provide organizational structure though, they are essentially the factories that build objects with particular states and behavior. For example, strings are objects that are all part of the String class. Every string is an instance of a string object. Every string has it's own state or personal data, but it also responds to the same methods as all the other strings. Those methods, or definitions of behavior, are defined as instance methods within the String class.
Classes and objects are particularly good at modeling real world objects. For example, we can think about a car dealership in terms of objects and classes. A very simple car dealership has a number of cars of different models and years. Each car on the lot is an an instance of the Car class, and each car has a potentially different value for the attributes of model, year and mileage. We can use instance variables (indicated by the @ symbol in front of the variable name) to store these values for each instance of car. By using instance variables, we make it possible for the car object to "remember" it's state. In this example, the initialize method is passed the values for model, year, and mileage as parameters, and those values are stored as instance variables.
class Car
def initialize(model, year, mileage)
@model = model
@year = year
@mileage = mileage
end
end
car1 = Car.new("Camry", 2002, 154000)
We can then ask the car objects to provide information about themselves by writing methods in the Car class. Let's say we want to be able to ask a car about it's model, and we want each car to be able to calculate its price based on the year.
class Car
def model
puts "Model is #{@model}"
end
def price
price = 30000/(2014 - @year)
puts "Price is #{price}
end
end
Now every instance of car has a method to tell you its model and price. The advantage of writing a method to determine price is that it's easy to change. If in the future the dealership wants a different algorithm to calculate price, perhaps taking into account the mileage or model, it's simple to change the price method, and then every car object on the lot will be able to respond to this new method rather than going through and changing the price for each car.


Directions:You have 4 turns to guess a number that is (pseudo)randomly generated, from 1 to 10.To start, press the "new game" button. To restart, also press the "new game" button.To enter a number, simply type the number into the box and then hit enter.You are allowed to lose 3 times per day.
Guess the Number program written by Matthew RaimondiCopyright © 2019 Matthew Raimondi | All Rights Reserved


fun from(vararg tables: Table): Builder
Specify the tables for the FROM clause of this SELECT statement. Must be called exactly once per statement.


Comments
-
Greg Hurrell
Thanks very much for submitting the request.
This is a chicken and egg problem.
I cannot modify iTunes, because I don't work for Apple, so that means to implement the feature you're requesting I would need a separate process that runs all the time to watch for iTunes launch events. When iTunes launches, that third process will launch Synergy. Once Synergy is running, it can watch iTunes itself for termination events -- at that point the third process isn't needed -- and then Synergy can quit itself when iTunes exits. But then we need the third process again.
The is no way to obtain what you're asking for without running an extra process. And I presume what you're trying to avoid is running extra processes.
For Synergy Advance I have already written a background daemon that does exactly what you are asking for. It sits in the background using effectively zero memory and zero CPU resources. It only wakes up when the kernel tells it that an application was launched, then it goes back to sleep. It is very resource efficient. It is still a third process though; there's no avoiding it.
In Synergy Classic, did you know that you can at least make it invisible when iTunes is not running? If you are using Synergy 1.5b or later and iTunes 4.7 or later, Synergy will use basically zero CPU when iTunes is not running. To make it invisible, you go into the Menu Bar tab of the preferences. Check "Display controls only while iTunes is running", and make sure that the option for showing the Global Menu "Only when Menu Bar control buttons are hidden" is turned off. In this way Synergy won't take up any space in your menu bar when iTunes isn't running. (Note that this feature isn't working 100% in version 1.5b with iTunes 4.7 -- see bug #48 -- but this is fixed in my internal builds here and you'll get your hands on it when I release 1.5 final, very soon.)
Unfortunately the background daemon I mention above will have to remain a Synergy Advance-only feature, because it depends on APIs new in Panther, and Synergy Classic must run on Jaguar. So I have to mark this one as WONTFIX.
Add a comment
Comments are now closed for this issue.


Metrocentre Christmas opening times including extended hours for late night shopping
intu Metrocentre is set to be very busy in the run up to Christmas as people look for presents
by Simon DukeWhether you want to admit it or not, it's beginning to look a lot like Christmas out there, which means that many people's thoughts, if they haven't already, have turned to present shopping.
And a place which is expected to see plenty of people through its doors is intu Metrocentre.
If you've paid the Gateshead shopping mall a visit over the past few weekends you'll know it's steadily getting busier in the run up to Santa coming.
Last year, the Metrocentre put plans in place to extend its opening hours over the festive season so that shoppers can pace themselves, factor in some buy-time after work and hit the shops at quieter times late into evening.
And it's the same last year, with the reveal of the centre's opening hours for Christmas 2019, with Eldon Square's Christmas opening times also confirmed.
Metrocentre Christmas opening times
December 9 - 15
Monday: 9am - 10pm
Tuesday: 9am - 10pm
Wednesday: 9am - 10pm
Thursday: 9am - 10pm
Friday: 9am - 10pm
Saturday: 9am - 8pm
Sunday: 11am - 5pm
December 16 - 22
Monday: 9am - 10pm
Tuesday: 9am - 10pm
Wednesday: 9am - 10pm
Thursday: 9am - 10pm
Friday: 9am - 10pm
Saturday: 9am - 8pm
Sunday: 11am - 5pm
Monday, December 23
9am - 10pm
Tuesday, December 24 (Christmas Eve)
9am - 5pm
Christmas Day
CLOSED
Thursday, December 26 (Boxing Day)
9am - 6pm
Friday, December 27
9am - 9pm
Saturday, December 28
9am - 8pm
Sunday, December 29
11am - 5pm
Monday, December 30
9am - 9pm
Tuesday, December 31 (New Year's Eve)
9am - 5pm
Wednesday, January 1
CLOSED
Thursday, January 2
9am - 9pm


Default properties and methods of the FtpClient prototype.
To use this optional module, its repository needs to be added to the application, for example by calling app.addRepository('modules/helma/Ftp.js')
To use this optional module, its repository needs to be added to the application, for example by calling app.addRepository('modules/helma/Ftp.js')
Constructor for FTP client objects, to send and receive files from an FTP server.
var ftp = new FtpClient("ftp.mydomain.com");
parameters
| String | server | as String, the address of the FTP Server to connect to |
methods
- setReadTimeout(timeout)
- setTimeout(timeout)
- login(username, password)
- binary()
- ascii()
- active()
- passive()
- pwd()
- dir(path)
- mkdir(dir)
- rmdir(dir)
- cd(dir)
- lcd(dir)
- putFile(localFile, remoteFile)
- putString(str, remoteFile, charset)
- putBytes(bytes, remoteFile)
- getFile(remoteFile, localFile)
- getString(remoteFile)
- deleteFile(remoteFile)
- logout()
Methods
Set the default timeout in milliseconds to use when opening a socket.
parameters
| timeout |
Sets the timeout in milliseconds to use when reading from the data connection.
parameters
| timeout |
Logs in to the FTP server.
parameters
| String | username | as String |
| String | password | as String |
returns
| Boolean true if the login was successful, otherwise false |
Sets transfer mode to binary for transmitting images and other non-text files.
ftp.binary();
Returns the path of the current working directory.
var remotepath = ftp.pwd();
returns
| String containing the current working directory path |
Returns a listing of the files contained in a directory on the FTP server.
Lists the files contained in the current working directory or, if an alternative path is specified, the files contained in the specified directory.
Lists the files contained in the current working directory or, if an alternative path is specified, the files contained in the specified directory.
var filelist = ftp.dir();
parameters
| String | path | as String, optional alternative directory |
returns
| Array containing the list of files in that directory |
Creates a new directory on the server.
The name of the directory is determined as the function's string parameter. Returns false when an error occured (e.g. due to access restrictions, directory already exists etc.), otherwise true.
The name of the directory is determined as the function's string parameter. Returns false when an error occured (e.g. due to access restrictions, directory already exists etc.), otherwise true.
parameters
| String | dir | as String, the name of the directory to be created |
returns
| Boolean true if the directory was successfully created, false if there was an error |
Deletes a directory on the FTP server.
parameters
| String | dir | as String, the name of the directory to be deleted |
returns
| Boolean true if the deletion was successful, false otherwise |
Changes the working directory on the FTP server.
ftp.cd("/home/users/fred/www"); // use absolute pathname
ftp.cd(".."); // change to parent directory
ftp.cd("images"); // use relative pathname
parameters
| String | dir | as String, the path that the remote working directory should be changed to |
Changes the working directory of the local machine when being connected to an FTP server.
ftp.lcd("/home/users/fred/www"); // use absolute pathname
ftp.lcd(".."); // change to parent directory
ftp.lcd("images"); // use relative pathname
parameters
| String | dir | as String, the path that the local working directory should be changed to |
Transfers a file from the local file system to the remote server.
Returns true if the transmission was successful, otherwise false.
Returns true if the transmission was successful, otherwise false.
parameters
| String | localFile | as String, the name of the file to be uploaded |
| String | remoteFile | as String, the name of the remote destination file |
returns
| Boolean true if the file was successfully uploaded, false if there was an error |
Transfers text from a string to a file on the FTP server.
ftp.putString("Hello, World!", "message.txt");
parameters
| String | str | as String, the text content that should be uploaded |
| String | remoteFile | as String, the name of the remote destination file |
| String | charset | as String, optional |
returns
| Boolean true if the file was successfully uploaded, false if there was an error |
Transfers a byte array to a file on the FTP server.
parameters
| Array | bytes | The byte array that should be uploaded |
| String | remoteFile | The name of the remote destination file |
returns
| Boolean True if the file was successfully uploaded, false if there was an error |
Transfers a file from the FTP server to the local file system.
ftp.getFile(".htaccess", "htaccess.txt");
parameters
| String | remoteFile | as String, the name of the file that should be downloaded |
| String | localFile | as String, the name which the file should be stored under |
see
Retrieves a file from the FTP server and returns it as string.
var str = ftp.getString("messages.txt");
parameters
| String | remoteFile | as String, the name of the file that should be downloaded |
returns
| String containing the data of the downloaded file |
see
Deletes a file on the FTP server.
var str = ftp.delete("messages.txt");
parameters
| String | remoteFile | as String, the name of the file to be deleted |
returns
| Boolean true if the deletion was successful, false otherwise |
Terminates the current FTP session.


| MATLAB 文件帮助: cv.Boost | 查看 cv.Boost 的代码 | Index |
Boost Boosting
Boosted tree classifier derived from cv.DTrees.
A common machine learning task is supervised learning. In supervised
learning, the goal is to learn the functional relationship F: y = F(x)
between the input x
and the output y
. Predicting the qualitative
output is called classification, while predicting the quantitative
output is called regression.
Boosting is a powerful learning concept that provides a solution to the supervised classification learning task. It combines the performance of many weak classifiers to produce a powerful committee [HTF01]. A weak classifier is only required to be better than chance, and thus can be very simple and computationally inexpensive. However, many of them smartly combine results to a strong classifier that often outperforms most monolithic strong classifiers such as SVMs and Neural Networks.
Decision trees are the most popular weak classifiers used in boosting schemes. Often the simplest decision trees with only a single split node per tree (called stumps) are sufficient.
The boosted model is based on N
training examples (xi,yi), i=1..N
with xi IN R^k
and yi IN {-1,+1}
. xi
is a K-component vector. Each
component encodes a feature relevant to the learning task at hand. The
desired two-class output is encoded as -1 and +1.
Different variants of boosting are known as Discrete Adaboost, Real
AdaBoost, LogitBoost, and Gentle AdaBoost [FHT98]. All of them are very
similar in their overall structure. Therefore, this chapter focuses only
on the standard two-class Discrete AdaBoost algorithm, outlined below.
Initially the same weight is assigned to each sample (step 2). Then, a
weak classifier f_m(x)
is trained on the weighted training data
(step 3a). Its weighted training error and scaling factor c_m
is
computed (step 3b). The weights are increased for training samples that
have been misclassified (step 3c). All weights are then normalized, and
the process of finding the next weak classifier continues for another
M-1
times. The final classifier F(x)
is the sign of the weighted sum
over the individual weak classifiers (step 4).
N
examples (xi,yi), i=1..N
with xi IN R^K
, yi IN {-1,+1}
.wi = 1/N, i=1..N
.m=1,2,...,M
:f_m(x) IN {-1,1}
, using weights wi
on the
training data.err_m = Ew[1_(y!=f_m(x))]
, c_m = log((1-err_m)/err_m)
.wi = wi * exp[c_m * 1(yi!=f_m(xi))], i=1,2,...,N
, and
renormalize so that sum_i{wi}=1
.x
using the formula:
sign(sum{m} = 1 * M * c_m * f_m(x))
.Note: Similar to the classical boosting methods, the current
implementation supports two-class classifiers only. For M > 2
classes,
there is the AdaBoost.MH algorithm (described in [FHT98]) that reduces
the problem to the two-class problem, yet with a much larger training
set.
To reduce computation time for boosted models without substantially
losing accuracy, the influence trimming technique can be employed. As
the training algorithm proceeds and the number of trees in the ensemble
is increased, a larger number of the training samples are classified
correctly and with increasing confidence, thereby those samples receive
smaller weights on the subsequent iterations. Examples with a very low
relative weight have a small impact on the weak classifier training.
Thus, such examples may be excluded during the weak classifier training
without having much effect on the induced classifier. This process is
controlled with the WeightTrimRate
parameter. Only examples with the
summary fraction WeightTrimRate
of the total weight mass are used in
the weak classifier training. Note that the weights for all training
examples are recomputed at each training iteration. Examples deleted at
a particular iteration may be used again for learning some of the weak
classifiers further [FHT98].
The cv.Boost.predict method should be used. Pass RawOutput=true
to get
the raw sum from Boost classifier.
[HTF01]:
Hastie Trevor, Tibshirani Robert, and Friedman Jerome. "The elements of statistical learning: data mining, inference and prediction". New York: Springer-Verlag, 1(8):371-406, 2001.
[FHT98]:
Jerome Friedman, Trevor Hastie, and Robert Tibshirani. "Additive Logistic Regression: a Statistical View of Boosting". Technical Report, Dept. of Statistics, Stanford University, 1998.
| Superclasses | handle |
| Sealed | false |
| Construct on load | false |
| Boost | Creates/trains a new Boost model |
| BoostType | Type of the boosting algorithm. |
| CVFolds | If `CVFolds > 1` then algorithms prunes the built decision tree |
| MaxCategories | Cluster possible values of a categorical variable into |
| MaxDepth | The maximum possible depth of the tree. |
| MinSampleCount | If the number of samples in a node is less than this parameter then |
| Priors | The array of a priori class probabilities, sorted by the class label |
| RegressionAccuracy | Termination criteria for regression trees. |
| TruncatePrunedTree | If true then pruned branches are physically removed from the tree. |
| Use1SERule | If true then a pruning will be harsher. |
| UseSurrogates | If true then surrogate splits will be built. |
| WeakCount | The number of weak classifiers. |
| WeightTrimRate | A threshold between 0 and 1 used to save computational time. |
| id | Object ID |
| addlistener | Add listener for event. | |
| calcError | Computes error on the training or test dataset | |
| clear | Clears the algorithm state | |
| delete | Destructor | |
| empty | Returns true if the algorithm is empty | |
| eq | == (EQ) Test handle equality. | |
| findobj | Find objects matching specified conditions. | |
| findprop | Find property of MATLAB handle object. | |
| ge | >= (GE) Greater than or equal relation for handles. | |
| getDefaultName | Returns the algorithm string identifier | |
| getNodes | Returns all the nodes | |
| getRoots | GETROOS Returns indices of root nodes | |
| getSplits | Returns all the splits | |
| getSubsets | Returns all the bitsets for categorical splits | |
| getVarCount | Returns the number of variables in training samples | |
| gt | > (GT) Greater than relation for handles. | |
| isClassifier | Returns true if the model is a classifier | |
| isTrained | Returns true if the model is trained | |
| Sealed | isvalid | Test handle validity. |
| le | <= (LE) Less than or equal relation for handles. | |
| load | Loads algorithm from a file or a string | |
| lt | < (LT) Less than relation for handles. | |
| ne | ~= (NE) Not equal relation for handles. | |
| notify | Notify listeners of event. | |
| predict | Predicts response(s) for the provided sample(s) | |
| save | Saves the algorithm parameters to a file or a string | |
| train | Trains a boosted tree classifier |
| ObjectBeingDestroyed | Notifies listeners that a particular object has been destroyed. |


Raiders New Era Cap
Raiders Tommy Bahama Button-up
Raiders women's tank
Raiders panama Cap
Raiders Floral Shorts
Raiders Gray Tanktop
Raiders floral Button-up
Raiders white pullover
Raiders Floral Shirt
Raiders Tommy
Sign up and receive special offers & discounts from RaiderImage.com
Preferred Payment Method
100% secure shopping
Michael De La Riva. This pseudo-website is for demonstrative purposes only and is not intended for monetary purposes.


|
| void | XMC_DSD_CH_AuxFilter_DisableEvent (XMC_DSD_CH_t *const channel) |
| |
| void | XMC_DSD_CH_AuxFilter_EnableEvent (XMC_DSD_CH_t *const channel, XMC_DSD_CH_AUX_EVENT_t event) |
| |
| void | XMC_DSD_CH_AuxFilter_Init (XMC_DSD_CH_t *const channel, const XMC_DSD_CH_AUX_FILTER_CONFIG_t *const init) |
| |
| void | XMC_DSD_CH_AuxFilter_SetBoundary (XMC_DSD_CH_t *const channel, const int16_t lower_boundary, const int16_t upper_boundary) |
| |
| void | XMC_DSD_CH_GetRectifyDelay (XMC_DSD_CH_t *const channel, uint8_t *delay) |
| |
| void | XMC_DSD_CH_GetResult (XMC_DSD_CH_t *const channel, int16_t *dsd_Result) |
| |
| void | XMC_DSD_CH_GetResult_AUX (XMC_DSD_CH_t *const channel, int16_t *dsd_Result) |
| |
| void | XMC_DSD_CH_GetResult_TS (XMC_DSD_CH_t *const channel, int16_t *dsd_Result, uint8_t *dsd_filter_loop, uint8_t *dsd_integration_loop) |
| |
| void | XMC_DSD_CH_GetResult_TS_Time (XMC_DSD_CH_t *const channel, int16_t *dsd_Result, uint32_t *time) |
| |
| XMC_DSD_STATUS_t | XMC_DSD_CH_Init (XMC_DSD_CH_t *const channel, const XMC_DSD_CH_CONFIG_t *const init) |
| |
| void | XMC_DSD_CH_Integrator_Init (XMC_DSD_CH_t *const channel, const XMC_DSD_CH_INTEGRATOR_CONFIG_t *const init) |
| |
| void | XMC_DSD_CH_MainFilter_DisableEvent (XMC_DSD_CH_t *const channel) |
| |
| void | XMC_DSD_CH_MainFilter_EnableEvent (XMC_DSD_CH_t *const channel) |
| |
| void | XMC_DSD_CH_MainFilter_Init (XMC_DSD_CH_t *const channel, const XMC_DSD_CH_FILTER_CONFIG_t *const init) |
| |
| void | XMC_DSD_CH_MainFilter_SetOffset (XMC_DSD_CH_t *const channel, const int16_t offset) |
| |
| void | XMC_DSD_CH_Rectify_Init (XMC_DSD_CH_t *const channel, const XMC_DSD_CH_RECTIFY_CONFIG_t *const init) |
| |
| void | XMC_DSD_CH_Timestamp_Init (XMC_DSD_CH_t *const channel, const XMC_DSD_CH_TIMESTAMP_CONFIG_t *const init) |
| |
| void | XMC_DSD_ClearAlarmEventFlag (XMC_DSD_t *const dsd, const uint32_t channel_id) |
| |
| void | XMC_DSD_ClearResultEventFlag (XMC_DSD_t *const dsd, const uint32_t channel_id) |
| |
| void | XMC_DSD_Disable (XMC_DSD_t *const dsd) |
| |
| void | XMC_DSD_DisableClock (XMC_DSD_t *const dsd) |
| |
| void | XMC_DSD_Enable (XMC_DSD_t *const dsd) |
| |
| void | XMC_DSD_EnableClock (XMC_DSD_t *const dsd) |
| |
| void | XMC_DSD_Generator_Init (XMC_DSD_t *const dsd, const XMC_DSD_GENERATOR_CONFIG_t *const init) |
| |
| void | XMC_DSD_Generator_Start (XMC_DSD_t *const dsd, const XMC_DSD_GENERATOR_CONFIG_t *const config) |
| |
| void | XMC_DSD_Generator_Stop (XMC_DSD_t *const dsd) |
| |
| void | XMC_DSD_Init (XMC_DSD_t *const dsd) |
| |
| bool | XMC_DSD_IsChannelStarted (XMC_DSD_t *const dsd, const XMC_DSD_CH_ID_t channel) |
| |
| bool | XMC_DSD_IsEnabled (XMC_DSD_t *const dsd) |
| |
| void | XMC_DSD_SetAlarmEventFlag (XMC_DSD_t *const dsd, const uint32_t channel_id) |
| |
| void | XMC_DSD_SetResultEventFlag (XMC_DSD_t *const dsd, const uint32_t channel_id) |
| |
| void | XMC_DSD_Start (XMC_DSD_t *const dsd, const uint32_t channel) |
| |
| void | XMC_DSD_Stop (XMC_DSD_t *const dsd, const uint32_t channel) |
| |
The DSD unit provides a series of digital input channels accepting data streams from external modulators using the Delta/Sigma (DS) conversion principle. The on-chip demodulator channels convert these inputs to discrete digital values. DSD unit can be used for isolated current/voltage measurement and for sensor interfaces.
Driver is divided in six DSD functional blocks -
- Main Filter (APIs prefixed with XMC_DSD_CH_MainFilter),
- Aux Filter (APIs prefixed with XMC_DSD_CH_AuxFilter),
- Integrator (APIs prefixed with XMC_DSD_CH_Integrator),
- Timestamp (APIs prefixed with XMC_DSD_CH_Timestamp),
- Rectification (APIs prefixed with XMC_DSD_CH_Rectify),
- Carrier Generator (APIs prefixed with XMC_DSD_Generator)
DSD driver features:
- DSD channel Configuration structure XMC_DSD_CH_CONFIG_t initialization function XMC_DSD_CH_Init() to configure all the functional blocks (except carrier generator)
- Configuration structure XMC_DSD_GENERATOR_CONFIG_t and initialization function XMC_DSD_Generator_Init() to configure carrier generator
- Configuration structure XMC_DSD_CH_FILTER_CONFIG_t and initialization function XMC_DSD_CH_MainFilter_Init() to configure main filter
- Configuration structure XMC_DSD_CH_AUX_FILTER_CONFIG_t and initialization function XMC_DSD_CH_AuxFilter_Init() to configure auxilary filter
- Configuration structure XMC_DSD_CH_INTEGRATOR_CONFIG_t and initialization function XMC_DSD_CH_Integrator_Init() to configure integrator
- Configuration structure XMC_DSD_CH_TIMESTAMP_CONFIG_t and initialization function XMC_DSD_CH_Timestamp_Init() to configure timestamp
- Configuration structure XMC_DSD_CH_RECTIFY_CONFIG_t and initialization function XMC_DSD_CH_Rectify_Init() to configure rectifier
Enumerates the service request generation mode for auxiliary filter. Use type XMC_DSD_CH_AUX_EVENT_t for this enum. Note: This is combined ENUM for SRGA + ESEL bit fields
| Aufzählungswerte |
|---|
| XMC_DSD_CH_AUX_EVENT_DISABLED |
Service request is disabled
|
| XMC_DSD_CH_AUX_EVENT_EVERY_NEW_RESULT |
Service request generated for aux filter for every new result
|
| XMC_DSD_CH_AUX_EVENT_CAPTURE_SIGN_DELAY |
Service request generated for alternate source
|
| XMC_DSD_CH_AUX_EVENT_INSIDE_BOUNDARY |
Service request generated for aux filter if result is inside boundary
|
| XMC_DSD_CH_AUX_EVENT_OUTSIDE_BOUNDARY |
Service request generated for aux filter if result is outside boundary
|
Enumerates the divider factor for modulator clock (fMOD). Use divider factor to derive modulator clock frequency(fMOD), from the selected internal clock source(fCLK). Use type XMC_DSD_CH_CLK_t for this enum.
| Aufzählungswerte |
|---|
| XMC_DSD_CH_CLK_DIV_2 |
fMOD = fCLK/2
|
| XMC_DSD_CH_CLK_DIV_4 |
fMOD = fCLK/4
|
| XMC_DSD_CH_CLK_DIV_6 |
fMOD = fCLK/6
|
| XMC_DSD_CH_CLK_DIV_8 |
fMOD = fCLK/8
|
| XMC_DSD_CH_CLK_DIV_10 |
fMOD = fCLK/10
|
| XMC_DSD_CH_CLK_DIV_12 |
fMOD = fCLK/12
|
| XMC_DSD_CH_CLK_DIV_14 |
fMOD = fCLK/14
|
| XMC_DSD_CH_CLK_DIV_16 |
fMOD = fCLK/16
|
| XMC_DSD_CH_CLK_DIV_18 |
fMOD = fCLK/18
|
| XMC_DSD_CH_CLK_DIV_20 |
fMOD = fCLK/20
|
| XMC_DSD_CH_CLK_DIV_22 |
fMOD = fCLK/22
|
| XMC_DSD_CH_CLK_DIV_24 |
fMOD = fCLK/24
|
| XMC_DSD_CH_CLK_DIV_26 |
fMOD = fCLK/26
|
| XMC_DSD_CH_CLK_DIV_28 |
fMOD = fCLK/28
|
| XMC_DSD_CH_CLK_DIV_30 |
fMOD = fCLK/30
|
| XMC_DSD_CH_CLK_DIV_32 |
fMOD = fCLK/32
|
Enumerates the sample clock source select. Use type XMC_DSD_CH_CLOCK_SOURCE_t for this enum.
| Aufzählungswerte |
|---|
| XMC_DSD_CH_CLOCK_SOURCE_A |
External source, from input A
|
| XMC_DSD_CH_CLOCK_SOURCE_B |
External source, from input B
|
| XMC_DSD_CH_CLOCK_SOURCE_C |
External source, from input C
|
| XMC_DSD_CH_CLOCK_SOURCE_D |
External source, from input D
|
| XMC_DSD_CH_CLOCK_SOURCE_INTERN |
Internal clock source
|
Enumerates the input data source select. Use type XMC_DSD_CH_DATA_SOURCE_t for this enum.
| Aufzählungswerte |
|---|
| XMC_DSD_CH_DATA_SOURCE_DISCONNECT |
Disconnected
|
| XMC_DSD_CH_DATA_SOURCE_A_DIRECT |
External source, from input A, direct
|
| XMC_DSD_CH_DATA_SOURCE_A_INVERTED |
External source, from input A, inverted
|
| XMC_DSD_CH_DATA_SOURCE_B_DIRECT |
External source, from input B, direct
|
| XMC_DSD_CH_DATA_SOURCE_B_INVERTED |
External source, from input B, inverted
|
Enumerates the CIC(cyclic integrating comb) filter type. Use type XMC_DSD_CH_FILTER_TYPE_t for this enum.
| Aufzählungswerte |
|---|
| XMC_DSD_CH_FILTER_TYPE_CIC1 |
CIC1 filter
|
| XMC_DSD_CH_FILTER_TYPE_CIC2 |
CIC2 filter
|
| XMC_DSD_CH_FILTER_TYPE_CIC3 |
CIC3 filter
|
| XMC_DSD_CH_FILTER_TYPE_CICF |
CICF filter
|
Enumerates the channel run control bit register value in global run control register. Use type XMC_DSD_CH_ID_t for this enum.
| Aufzählungswerte |
|---|
| XMC_DSD_CH_ID_0 |
Register value for channel 0
|
| XMC_DSD_CH_ID_1 |
Register value for channel 1
|
| XMC_DSD_CH_ID_2 |
Register value for channel 2
|
| XMC_DSD_CH_ID_3 |
Register value for channel 3
|
Enumerates the integrator trigger mode. Use type XMC_DSD_CH_INTEGRATOR_START_t for this enum.
| Aufzählungswerte |
|---|
| XMC_DSD_CH_INTEGRATOR_START_OFF |
No integration trigger
|
| XMC_DSD_CH_INTEGRATOR_START_TRIGGER_FALL |
Trigger event upon a falling edge
|
| XMC_DSD_CH_INTEGRATOR_START_TRIGGER_RISE |
Trigger event upon a rising edge
|
| XMC_DSD_CH_INTEGRATOR_START_ALLWAYS_ON |
No trigger, integrator active all the time
|
Enumerates the integration enable. Use type XMC_DSD_CH_INTEGRATOR_STOP_t for this enum.
| Aufzählungswerte |
|---|
| XMC_DSD_CH_INTEGRATOR_STOP_END_OF_LOOPS |
Integration stopped upon the inverse trigger event
|
| XMC_DSD_CH_INTEGRATOR_STOP_ENDLESS_OR_INVERSE_TRIGGER |
Integration enabled upon the defined trigger event.
|
Enumerates the service request generation for main chain filter. Use type XMC_DSD_CH_RESULT_EVENT_t for this enum.
| Aufzählungswerte |
|---|
| XMC_DSD_CH_RESULT_EVENT_DISABLE |
Disable service request
|
| XMC_DSD_CH_RESULT_EVENT_ENABLE |
Enable service request for each new result value
|
Enumerates the carrier generation mode. Use type XMC_DSD_CH_SIGN_SOURCE_t for this enum.
| Aufzählungswerte |
|---|
| XMC_DSD_CH_SIGN_SOURCE_ON_CHIP_GENERATOR |
Carrier is generated internally by DSD
|
| XMC_DSD_CH_SIGN_SOURCE_NEXT_CHANNEL |
Carrier sign signal is generated internally by next channel
|
| XMC_DSD_CH_SIGN_SOURCE_EXTERNAL_A |
Carrier is generated externally, External sign signal A
|
| XMC_DSD_CH_SIGN_SOURCE_EXTERNAL_B |
Carrier is generated externally, External sign signal B
|
Enumerates the timestamp trigger mode. Use type XMC_DSD_CH_TIMESTAMP_TRIGGER_t for this enum.
| Aufzählungswerte |
|---|
| XMC_DSD_CH_TIMESTAMP_TRIGGER_DISABLE |
No trigger event
|
| XMC_DSD_CH_TIMESTAMP_TRIGGER_FALL |
Trigger event upon a falling edge
|
| XMC_DSD_CH_TIMESTAMP_TRIGGER_RISE |
Trigger event upon a rising edge
|
| XMC_DSD_CH_TIMESTAMP_TRIGGER_BOTH_EDGES |
Trigger event upon both the edge
|
Enumerates the trigger signal. Use type XMC_DSD_CH_TRIGGER_SOURCE_t for this enum.
| Aufzählungswerte |
|---|
| XMC_DSD_CH_TRIGGER_SOURCE_A |
Trigger signal,input A
|
| XMC_DSD_CH_TRIGGER_SOURCE_B |
Trigger signal,input B
|
| XMC_DSD_CH_TRIGGER_SOURCE_C |
Trigger signal,input C
|
| XMC_DSD_CH_TRIGGER_SOURCE_D |
Trigger signal,input D
|
| XMC_DSD_CH_TRIGGER_SOURCE_E |
Trigger signal,input E
|
| XMC_DSD_CH_TRIGGER_SOURCE_F |
Trigger signal,input F
|
| XMC_DSD_CH_TRIGGER_SOURCE_G |
Trigger signal,input G
|
| XMC_DSD_CH_TRIGGER_SOURCE_H |
Trigger signal,input H
|
Enumerates the divider factor for the PWM pattern signal generator. Use divider factor to derive input frequency of the carrier signal generator(fCG), from the selected internal clock source(fCLK). Use type XMC_DSD_GENERATOR_CLKDIV_t for this enum.
| Aufzählungswerte |
|---|
| XMC_DSD_GENERATOR_CLKDIV_2048 |
fCG = (fCLK/2)/1024
|
| XMC_DSD_GENERATOR_CLKDIV_4096 |
fCG = (fCLK/4)/1024
|
| XMC_DSD_GENERATOR_CLKDIV_6144 |
fCG = (fCLK/6)/1024
|
| XMC_DSD_GENERATOR_CLKDIV_8192 |
fCG = (fCLK/8)/1024
|
| XMC_DSD_GENERATOR_CLKDIV_10240 |
fCG = (fCLK/10)/1024
|
| XMC_DSD_GENERATOR_CLKDIV_12288 |
fCG = (fCLK/12)/1024
|
| XMC_DSD_GENERATOR_CLKDIV_14336 |
fCG = (fCLK/14)/1024
|
| XMC_DSD_GENERATOR_CLKDIV_16384 |
fCG = (fCLK/16)/1024
|
| XMC_DSD_GENERATOR_CLKDIV_18432 |
fCG = (fCLK/18)/1024
|
| XMC_DSD_GENERATOR_CLKDIV_20480 |
fCG = (fCLK/20)/1024
|
| XMC_DSD_GENERATOR_CLKDIV_22528 |
fCG = (fCLK/22)/1024
|
| XMC_DSD_GENERATOR_CLKDIV_24576 |
fCG = (fCLK/24)/1024
|
| XMC_DSD_GENERATOR_CLKDIV_26624 |
fCG = (fCLK/26)/1024
|
| XMC_DSD_GENERATOR_CLKDIV_28672 |
fCG = (fCLK/28)/1024
|
| XMC_DSD_GENERATOR_CLKDIV_30720 |
fCG = (fCLK/30)/1024
|
| XMC_DSD_GENERATOR_CLKDIV_32768 |
fCG = (fCLK/32)/1024
|
Enumerates the carrier generator operating mode. Use type XMC_DSD_GENERATOR_MODE_t for this enum.
| Aufzählungswerte |
|---|
| XMC_DSD_GENERATOR_MODE_STOPPED |
Stopped
|
| XMC_DSD_GENERATOR_MODE_RECTANGLE |
Square wave
|
| XMC_DSD_GENERATOR_MODE_TRIANGLE |
Triangle
|
| XMC_DSD_GENERATOR_MODE_SINE |
Sine wave
|
Return types of the API's.Use type XMC_DSD_STATUS_t for this enum.
| Aufzählungswerte |
|---|
| XMC_DSD_STATUS_OK |
API fulfills request
|
| XMC_DSD_STATUS_ERROR |
Error detected
|
| void XMC_DSD_CH_AuxFilter_DisableEvent |
( |
XMC_DSD_CH_t *const |
channel | ) |
|
- Parameter
-
- Rückgabe
- None
- Description
- This API enable the service request generation for this channel. Result events are generated at the output rate of the configured auxiliary filter chain. Configure bit field SRGA and ESEL of register FCFGA
- Parameter
-
- Rückgabe
- None
- Description
- This API initialize auxiliary filter module with init. The auxiliary Filter is mainly used as fast filter.
Adding the auxiliary filter to the system structure helps by defining the boundaries and filter configurations.
- Note
- It is internally called by XMC_DSD_CH_Init().
- Related APIs:
- XMC_DSD_CH_Init()
Wird benutzt von XMC_DSD_CH_MainFilter_DisableEvent().
| void XMC_DSD_CH_AuxFilter_SetBoundary |
( |
XMC_DSD_CH_t *const |
channel, |
|
|
const int16_t |
lower_boundary, |
|
|
const int16_t |
upper_boundary |
|
) |
| |
- Parameter
-
| channel | Pointer to an instance of DSD channel of type XMC_DSD_CH_t |
| lower_boundary | lower boundary value for limit checking |
| upper_boundary | upper boundary value for limit checking |
- Rückgabe
- None
- Description
- Invoke this API, to set the lower and upper boundary for limit checking for this channel. This (two’s complement) value is compared to the results of the parallel filter. Configure bit fields BOUNDARYU and BOUNDARYL of register BOUNDSEL.
- Note
- Lower and upper boundaries are internally configured by function XMC_DSD_CH_AuxFilter_Init().
- Related APIs:
- XMC_DSD_CH_AuxFilter_Init()
| void XMC_DSD_CH_GetRectifyDelay |
( |
XMC_DSD_CH_t *const |
channel, |
|
|
uint8_t * |
delay |
|
) |
| |
- Parameter
-
| channel | Pointer to an instance of DSD channel of type XMC_DSD_CH_t |
| delay | Captured value |
- Rückgabe
- uint8_t
- Description
- This API, capture sign delay value for DSD channel. Captured value indicates the values counted between the begin of the positive halfwave of the carrier signal and the first received positive value. Read bit field SDCAP of register CGSYNC
| void XMC_DSD_CH_GetResult |
( |
XMC_DSD_CH_t *const |
channel, |
|
|
int16_t * |
dsd_Result |
|
) |
| |
| void XMC_DSD_CH_GetResult_AUX |
( |
XMC_DSD_CH_t *const |
channel, |
|
|
int16_t * |
dsd_Result |
|
) |
| |
- Parameter
-
| channel | Pointer to an instance of DSD channel of type XMC_DSD_CH_t |
| dsd_Result | pointer point to the address of 16 bit variable |
- Rückgabe
- None
- Description:
- Returns the most recent conversion result values of the auxiliary filter associated with this channel.
A call to this API would access the register bit field RESAx.RESULT (x = 0 - 3).
- Related APIs:
- XMC_DSD_CH_GetResult_TS()
Benutzt XMC_DSD_Generator_Init().
| void XMC_DSD_CH_GetResult_TS |
( |
XMC_DSD_CH_t *const |
channel, |
|
|
int16_t * |
dsd_Result, |
|
|
uint8_t * |
dsd_filter_loop, |
|
|
uint8_t * |
dsd_integration_loop |
|
) |
| |
- Parameter
-
| channel | Pointer to an instance of DSD channel of type XMC_DSD_CH_t
|
| dsd_Result | pointer point to the address of 16 bit variable holds result value
|
| dsd_filter_loop | pointer point to the address of 8 bit variable holds decimation counter value
|
| dsd_integration_loop | pointer point to the address of 8 bit integration counter variable holds value
|
- Rückgabe
- None
- Description:
- API to get the result of the last conversion associated with this channel with CIC filter decimation counter and number of values counted.
A call to this API would access the register bit field TSTMPx.RESULT TSTMPx.CFMDCNT and TSTMPx.NVALCNT where (x = 0 - 3).
- Related APIs:
- XMC_DSD_CH_GetResult(),XMC_DSD_CH_GetResult_TS_Time()
Wird benutzt von XMC_DSD_CH_GetResult().
| void XMC_DSD_CH_GetResult_TS_Time |
( |
XMC_DSD_CH_t *const |
channel, |
|
|
int16_t * |
dsd_Result, |
|
|
uint32_t * |
time |
|
) |
| |
- Parameter
-
| channel | Pointer to an instance of DSD channel of type XMC_DSD_CH_t
|
| dsd_Result | pointer point to the address of 16 bit variable holds result value
|
| time | pointer point to the address of 32 bit variable holds the time
|
- Rückgabe
- None
- Description:
- API to get the result of the last conversion with the time, associated with this channel.
- Related APIs:
- XMC_DSD_CH_GetResult(),XMC_DSD_CH_GetResult_TS()
Wird benutzt von XMC_DSD_CH_GetResult().
- Parameter
-
- Rückgabe
- XMC_DSD_STATUS_t if success Returns XMC_DSD_STATUS_OK else return XMC_DSD_STATUS_ERROR.
- Description
- Initialize main filter,auxiliary filter,integrator, rectifier and timestamp of DSD module with init.
Internally this API invoke main filter, auxiliary filter, integrator, rectifier and timestamp init API.
- Related APIs:
- XMC_DSD_CH_MainFilter_Init(),XMC_DSD_CH_AuxFilter_Init(),XMC_DSD_CH_Integrator_Init(), XMC_DSD_CH_Rectify_Init(),XMC_DSD_CH_Timestamp_Init()
- Parameter
-
- Rückgabe
- None
- Description
- Initialize integrator of DSD module.The integrator is mainly used for resolver feedback but can also be used for high accurate measurement. This API configures number of integration loops, number of results are discarded before integration starts, integrator stop condition, number of integrator loop to get integration result and trigger mode.
- Note
- Trigger source for timestamp and integrator are shared. It is internally called by XMC_DSD_CH_Init().
- Related APIs:
- XMC_DSD_CH_Init()
Wird benutzt von XMC_DSD_CH_AuxFilter_DisableEvent().
| void XMC_DSD_CH_MainFilter_DisableEvent |
( |
XMC_DSD_CH_t *const |
channel | ) |
|
- Parameter
-
| channel | Pointer to an instance of DSD channel of type XMC_DSD_CH_t |
- Rückgabe
- None
- Description
- This API disable the service request generation for result of this channel. Configure bit field SRGM of register FCFGC
Benutzt XMC_DSD_CH_AuxFilter_Init().
| void XMC_DSD_CH_MainFilter_EnableEvent |
( |
XMC_DSD_CH_t *const |
channel | ) |
|
- Parameter
-
| channel | Pointer to an instance of DSD channel of type XMC_DSD_CH_t |
- Rückgabe
- None
- Description
- This API enable the service request generation for result of this channel. Result events are generated at the output rate of the configured main filter chain. Configure bit field SRGM of register FCFGC
- Parameter
-
- Rückgabe
- None
- Description
- This API initialize main filter module with init. The filter demodulates the incoming bit stream from the delta sigma modulator to a 16 bit result.
- Note
- It is internally called by XMC_DSD_CH_Init().
- Related APIs:
- XMC_DSD_CH_Init()
Wird benutzt von XMC_DSD_Generator_Stop().
| void XMC_DSD_CH_MainFilter_SetOffset |
( |
XMC_DSD_CH_t *const |
channel, |
|
|
const int16_t |
offset |
|
) |
| |
- Parameter
-
| channel | Pointer to an instance of DSD channel of type XMC_DSD_CH_t |
| offset | Signed Offset value to be set |
- Rückgabe
- None
- Description
- API set the signed offset value for this channel. This offset value is subtracted from each result before being written to the corresponding result register RESMx.
- Note
- The offset value is measured for each channel separately.
- Parameter
-
- Rückgabe
- None
- Description
- Initialize rectification for this channel. In a resolver feedback system, rectifier is used to rectify the result from the integrator. Configure bit field RFEN and SSRC of register RECTCFG. Also configure sign delay value for positive halfwave(SDPOS) and negative halfwave(SDNEG).
- Note
- For the operational capability of rectifier the filter and the integrator is mandatory. It is internally called by XMC_DSD_CH_Init().
- Related APIs:
- XMC_DSD_CH_Init()
Wird benutzt von XMC_DSD_CH_AuxFilter_DisableEvent().
- Parameter
-
- Rückgabe
- None
- Description
- Initialize timestamp mode of DSD module with init.
Configures bits TRSEL and TSTRMODE of register DICFG .
- Note
- Trigger source for timestamp and integrator are shared. It is internally called by XMC_DSD_CH_Init().
- Related APIs:
- XMC_DSD_CH_Init()
| void XMC_DSD_ClearAlarmEventFlag |
( |
XMC_DSD_t *const |
dsd, |
|
|
const uint32_t |
channel_id |
|
) |
| |
- Parameter
-
| dsd | Pointer to an instance of DSD module of type XMC_DSD_t |
| channel_id | Channel number register value of type XMC_DSD_CH_ID_t |
- Rückgabe
- None
- Description
- Clear the result event flag.
Set bit fields ALECx of register EVFLAGCLR.Clearing these bits has no effect.
- Note
- API call for channel-0 : XMC_DSD_ClearResultEventFlag(DSD,(uint32_t)XMC_DSD_CH_ID_0); API call for channel-0 and 1: XMC_DSD_ClearResultEventFlag(DSD,(uint32_t)(XMC_DSD_CH_ID_0|XMC_DSD_CH_ID_1));
- Related APIs:
- XMC_DSD_SetAlarmEventFlag()
| void XMC_DSD_ClearResultEventFlag |
( |
XMC_DSD_t *const |
dsd, |
|
|
const uint32_t |
channel_id |
|
) |
| |
- Parameter
-
| dsd | Pointer to an instance of DSD module of type XMC_DSD_t |
| channel_id | Channel number register value of type XMC_DSD_CH_ID_t |
- Rückgabe
- None
- Description
- Clear the result event flag.
Set bit fields RESECx of register EVFLAGCLR.Clearing these bits has no effect.
- Note
- API call for channel-0 : XMC_DSD_ClearResultEventFlag(DSD,(uint32_t)XMC_DSD_CH_ID_0); API call for channel-0 and 1: XMC_DSD_ClearResultEventFlag(DSD,(uint32_t)(XMC_DSD_CH_ID_0|XMC_DSD_CH_ID_1));
- Related APIs:
- XMC_DSD_SetResultEventFlag()
- Parameter
-
| dsd | Pointer to an instance of DSD module of type XMC_DSD_t |
- Rückgabe
- None
- Description
- Asserts the DSD module into reset.
Configures PRSET0 register's DSDRS bit field. If running on XMC44/XMC48 device then it will gate the peripheral clock.
- Related APIs:
- XMC_DSD_Enable()
| void XMC_DSD_DisableClock |
( |
XMC_DSD_t *const |
dsd | ) |
|
- Parameter
-
| dsd | Pointer to an instance of DSD module of type XMC_DSD_t |
- Rückgabe
- None
- Description
- Stop the module clock and disable internal module clock for DSD.
Configures bit field MCSEL of register GLOBCFG and bit field DISR of register CLC.
- Related APIs:
- XMC_DSD_DisableClock()
- Parameter
-
| dsd | Pointer to an instance of DSD module of type XMC_DSD_t |
- Rückgabe
- None
- Description
- De-asserts the DSD module from reset.
Configures PRCLR0 register's DSDRS bit field. If running on XMC44/XMC48 device then it will ungate the peripheral clock.
- Note
- It is internally called by XMC_DSD_Init().
- Related APIs:
- XMC_DSD_Disable(),XMC_DSD_Init()
| void XMC_DSD_EnableClock |
( |
XMC_DSD_t *const |
dsd | ) |
|
- Parameter
-
| dsd | Pointer to an instance of DSD module of type XMC_DSD_t |
- Rückgabe
- None
- Description
- Enable the module clock and internal module clock for DSD.
Configures bit field MCSEL of register GLOBCFG and bit field DISR of register CLC.
- Note
- It is internally called by XMC_DSD_Init().
- Related APIs:
- XMC_DSD_DisableClock(),XMC_DSD_Init()
- Parameter
-
- Rückgabe
- None
- Description
- This API initialize generator module with init, to generate a wave for a resolver. Three types of waveforms can be generated: Rectangle, Triangle and Sine.
Wird benutzt von XMC_DSD_CH_GetResult_AUX().
| void XMC_DSD_Generator_Stop |
( |
XMC_DSD_t *const |
dsd | ) |
|
- Parameter
-
| dsd | Pointer to an instance of DSD module of type XMC_DSD_t |
- Rückgabe
- None
- Description
- Stop carrier generator by configuring operating mode. Reset bit field CGMOD of register CGCFG.
- Note
- Stopping the carrier generator terminates the PWM output after completion of the current period.
- Related APIs:
- XMC_DSD_Generator_Start()
Benutzt XMC_DSD_CH_MainFilter_Init().
- Parameter
-
| dsd | Pointer to an instance of DSD module of type XMC_DSD_t |
- Rückgabe
- None
- Description
- Enable the DSD module and clock.
- Note
- This is the first API which application must invoke to configure DSD.
- Related APIs:
- XMC_DSD_Enable(),XMC_DSD_EnableClock()
- Parameter
-
| dsd | Pointer to an instance of DSD module of type XMC_DSD_t
|
| channel | Channel run control bit register value of type XMC_DSD_CH_ID_t
|
- Rückgabe
- bool Return 1 if started else 0.
- Description
- Find out if particular demodulator channel is started or not.
- Related APIs:
- XMC_DSD_Start(),XMC_DSD_Stop()
| bool XMC_DSD_IsEnabled |
( |
XMC_DSD_t *const |
dsd | ) |
|
- Parameter
-
| dsd | Pointer to an instance of DSD module of type XMC_DSD_t |
- Rückgabe
- bool Return 1 if success else 0.
- Description
- Find out if the DSD reset is asserted.
Read PRSTAT0 register's DSDRS bit field.
| void XMC_DSD_SetAlarmEventFlag |
( |
XMC_DSD_t *const |
dsd, |
|
|
const uint32_t |
channel_id |
|
) |
| |
- Parameter
-
| dsd | Pointer to an instance of DSD module of type XMC_DSD_t |
| channel_id | Channel number register value of type XMC_DSD_CH_ID_t |
- Rückgabe
- None
- Description
- Set the alarm event flag.
Set bit fields ALEVx of register EVFLAG.Clearing these bits has no effect.
- Note
- API call for channel-0 : XMC_DSD_SetAlarmEventFlag(DSD,(uint32_t)XMC_DSD_CH_ID_0); API call for channel-0 and 1: XMC_DSD_SetAlarmEventFlag(DSD,(uint32_t)(XMC_DSD_CH_ID_0|XMC_DSD_CH_ID_1));
- Related APIs:
- XMC_DSD_ClearAlarmEventFlag()
| void XMC_DSD_SetResultEventFlag |
( |
XMC_DSD_t *const |
dsd, |
|
|
const uint32_t |
channel_id |
|
) |
| |
- Parameter
-
| dsd | Pointer to an instance of DSD module of type XMC_DSD_t |
| channel_id | Channel number register value of type XMC_DSD_CH_ID_t |
- Rückgabe
- None
- Description
- Set the result event flag and trigger the corresponding event.
Set bit fields RESEVx of register EVFLAG.Clearing these bits has no effect.
- Note
- API call for channel-0 : XMC_DSD_SetResultEventFlag(DSD,(uint32_t)XMC_DSD_CH_ID_0); API call for channel-0 and 1: XMC_DSD_SetResultEventFlag(DSD,(uint32_t)(XMC_DSD_CH_ID_0|XMC_DSD_CH_ID_1));
- Related APIs:
- XMC_DSD_ClearResultEventFlag()
| void XMC_DSD_Start |
( |
XMC_DSD_t *const |
dsd, |
|
|
const uint32_t |
channel |
|
) |
| |
- Parameter
-
| dsd | Pointer to an instance of DSD module of type XMC_DSD_t |
| channel | Channel run control bit register value |
- Rückgabe
- None
- Description
- Start demodulator channel by enabling run control bit. Multiple channel can be start at a time. For an example: To start all four channel, call this function as XMC_DSD_Start(DSD,(uint32_t)(XMC_DSD_CH_ID_0|XMC_DSD_CH_ID_1|XMC_DSD_CH_ID_2|XMC_DSD_CH_ID_3));
- Note
- All filter blocks are cleared when CHxRUN is set.
- Related APIs:
- XMC_DSD_Stop(),XMC_DSD_IsChannelStarted()
| void XMC_DSD_Stop |
( |
XMC_DSD_t *const |
dsd, |
|
|
const uint32_t |
channel |
|
) |
| |
- Parameter
-
| dsd | Pointer to an instance of DSD module of type XMC_DSD_t
|
| channel | Channel run control bit register value
|
- Rückgabe
- None
- Description
- Stop demodulator channel by resetting run control bit. Multiple channel can be stop at a time. For an example: To stop all four channel, call this function as XMC_DSD_Stop(DSD,(uint32_t)(XMC_DSD_CH_ID_0|XMC_DSD_CH_ID_1|XMC_DSD_CH_ID_2|XMC_DSD_CH_ID_3));
- Related APIs:
- XMC_DSD_Start(),XMC_DSD_IsChannelStarted()


Please select the availability days and times:
Monday
Tuesday
Wednesday
Thursday
Friday
Based on the availability of your schedule, here are your top selected categories and activities
Title
BEGINNER
- Skill 1
- Skill 2
- Skill 3
Title
BEGINNER
- Skill 1
- Skill 2
- Skill 3
Title
BEGINNER
- Skill 1
- Skill 2
- Skill 3
Title
BEGINNER
- Skill 1
- Skill 2
- Skill 3
Title
BEGINNER
- Skill 1
- Skill 2
- Skill 3
Title
BEGINNER
- Skill 1
- Skill 2
- Skill 3


| Module | WillPaginate::Finder::ClassMethods |
| In: |
lib/will_paginate/finder.rb
(CVS)
|
WillPaginate adds paginate, per_page and other methods to ActiveRecord::Base class methods and associations. It also hooks into method_missing to intercept pagination calls to dynamic finders such as paginate_by_user_id and translate them to ordinary finders (find_all_by_user_id in this case).
In short, paginating finders are equivalent to ActiveRecord finders; the only difference is that we start with "paginate" instead of "find" and that :page is required parameter:
@posts = Post.paginate :all, :page => params[:page], :order => 'created_at DESC'
In paginating finders, "all" is implicit. There is no sense in paginating a single record, right? So, you can drop the :all argument:
Post.paginate(...) => Post.find :all Post.paginate_all_by_something => Post.find_all_by_something Post.paginate_by_something => Post.find_all_by_something
In ActiveRecord finders, :order parameter specifies columns for the ORDER BY clause in SQL. It is important to have it, since pagination only makes sense with ordered sets. Without the ORDER BY clause, databases aren‘t required to do consistent ordering when performing SELECT queries; this is especially true for PostgreSQL.
Therefore, make sure you are doing ordering on a column that makes the most sense in the current context. Make that obvious to the user, also. For perfomance reasons you will also want to add an index to that column.
This is the main paginating finder.
All other options (conditions, order, …) are forwarded to find and count calls.
# File lib/will_paginate/finder.rb, line 64 def paginate(*args, &block) options = args.pop page, per_page, total_entries = wp_parse_options(options) finder = (options[:finder] || 'find').to_s if finder == 'find' # an array of IDs may have been given: total_entries ||= (Array === args.first and args.first.size) # :all is implicit args.unshift(:all) if args.empty? end WillPaginate::Collection.create(page, per_page, total_entries) do |pager| count_options = options.except :page, :per_page, :total_entries, :finder find_options = count_options.except(:count).update(:offset => pager.offset, :limit => pager.per_page) args << find_options # @options_from_last_find = nil pager.replace send(finder, *args, &block) # magic counting for user convenience: pager.total_entries = wp_count(count_options, args, finder) unless pager.total_entries end end
Wraps find_by_sql by simply adding LIMIT and OFFSET to your SQL string based on the params otherwise used by paginating finds: page and per_page.
Example:
@developers = Developer.paginate_by_sql ['select * from developers where salary > ?', 80000], :page => params[:page], :per_page => 3
A query for counting rows will automatically be generated if you don‘t supply :total_entries. If you experience problems with this generated SQL, you might want to perform the count manually in your application.
# File lib/will_paginate/finder.rb, line 128 def paginate_by_sql(sql, options) WillPaginate::Collection.create(*wp_parse_options(options)) do |pager| query = sanitize_sql(sql) original_query = query.dup # add limit, offset add_limit! query, :offset => pager.offset, :limit => pager.per_page # perfom the find pager.replace find_by_sql(query) unless pager.total_entries count_query = original_query.sub /\bORDER\s+BY\s+[\w`,\s]+$/mi, '' count_query = "SELECT COUNT(*) FROM (#{count_query})" unless ['oracle', 'oci'].include?(self.connection.adapter_name.downcase) count_query << ' AS count_table' end # perform the count query pager.total_entries = count_by_sql(count_query) end end end
Iterates through all records by loading one page at a time. This is useful for migrations or any other use case where you don‘t want to load all the records in memory at once.
It uses paginate internally; therefore it accepts all of its options. You can specify a starting page with :page (default is 1). Default :order is "id", override if necessary.
See weblog.jamisbuck.org/2007/4/6/faking-cursors-in-activerecord where Jamis Buck describes this and also uses a more efficient way for MySQL.
# File lib/will_paginate/finder.rb, line 99 def paginated_each(options = {}, &block) options = { :order => 'id', :page => 1 }.merge options options[:page] = options[:page].to_i options[:total_entries] = 0 # skip the individual count queries total = 0 begin collection = paginate(options) total += collection.each(&block).size options[:page] += 1 end until collection.size < collection.per_page total end
Does the not-so-trivial job of finding out the total number of entries in the database. It relies on the ActiveRecord count method.
# File lib/will_paginate/finder.rb, line 182 def wp_count(options, args, finder) excludees = [:count, :order, :limit, :offset, :readonly] unless options[:select] and options[:select] =~ /^\s*DISTINCT\b/i excludees << :select # only exclude the select param if it doesn't begin with DISTINCT end # count expects (almost) the same options as find count_options = options.except *excludees # merge the hash found in :count # this allows you to specify :select, :order, or anything else just for the count query count_options.update options[:count] if options[:count] # we may have to scope ... counter = Proc.new { count(count_options) } # we may be in a model or an association proxy! klass = (@owner and @reflection) ? @reflection.klass : self count = if finder.index('find_') == 0 and klass.respond_to?(scoper = finder.sub('find', 'with')) # scope_out adds a 'with_finder' method which acts like with_scope, if it's present # then execute the count with the scoping provided by the with_finder send(scoper, &counter) elsif match = /^find_(all_by|by)_([_a-zA-Z]\w*)$/.match(finder) # extract conditions from calls like "paginate_by_foo_and_bar" attribute_names = extract_attribute_names_from_match(match) conditions = construct_attributes_from_arguments(attribute_names, args) with_scope(:find => { :conditions => conditions }, &counter) else counter.call end count.respond_to?(:length) ? count.length : count end


---
title: "WASATCH CAMERA CLUB EXHIBIT"
date: "2000-01-01 21:04:16 -06:00"
categories:
- exhibit
subtitle: "Photography"
layout: "free-events"
event-image: "wasatch-camera-club-exhibit.jpg"
event-dates: "April 16 - May 9"
event-location: "Red Butte Garden"
button-type: "register"
tickets-link: ""
registration-info: "Questions?
Please call<PHONE_NUMBER>"
instructor-info: "N/A"
member-cost: "Free"
public-cost: "No admission fee required to shop"
event-notes: ""
tickets-button: "hide"
refund-policy: "hide"
published: true
---
The Wasatch Camera Club presents "Natural Reflections" a beautiful photography exhibit reflecting natural landscapes, flowers, trees, mountains, and meadows.
The Wasatch Camera Club provides a rich and enjoyable environment for club members to improve their photography with six activities that support the Club's educational goal. These include: workshops, field trips, lectures, exhibits, competitions, and one-on-one mentoring. Join us for a better image.
For more please visit:
http://www.wasatchcameraclub.com/drupal/


Hearthstone Documentation
Requirements & Specifications
Requirements and Specifications for this software solution includes:
- Allowing for user interaction
- Use of JS to create a dynamically functioning page
- The utilisation of pure/vanilla JS (no external libraries or scripts)
- Hosting the software solution on the
pages.github.com
domain
The software solution must include AI
. No modules or external libraries may be used meaning no online multiplayer functionality.
Therefore AI must be programmed to combat this issue.
Data Flow Diagram (DFD)
The following diagram shows the flow of data within the software solution:
System Flowchart
The following diagram shows the processes and subrountines used within the software solution:
IPO Chart
The following diagram shows the inputs, processes and outputs within the software solution:
Logbook
| Date | Achieved Task |
|---|---|
20/06/20 |
Initial Commit |
21/06/20 |
Fixing merge conflicts with git branch |
25/06/20 |
Removed all jquery, however this has removed the attacking functionality. Added folder that contains all the sources. SVG Path now works without jquery. Basic attacking functionality is now working with no jquery. Dynamically render images for each object (card) Dynamically render attack, health, mana and image for each object (card). |
26/06/20 |
All cards now can be dragged around and if dragged onto the board collision is detected and the element is removed. (ready to implement card to appear on the board) Removed the temp solid border on the collision box. Implemented currentAttack and attacker error checking to ensure the currentAttacker is an ally and the target is an enemy. The end turn button now works and placing cards on the board roughly works *just need to fix a major bug when a card is placed. Placing cards functionality almost finished (need to ensure card on the board is the same as the card that was initially placed). Fixed bug where you could spam click the card to get free minion cards on the board without the card being removed from your hand. |
27/06/20 |
Fixed bug where if you end the turn whilst you have cards in your hand when those cards are placed onto the board > 1 would appear on the board. Improved GUI and graphics including animated gifs etc. |
28/06/20 |
GUI and graphics continued to be improved etc. Implemented GUI and graphics that lets the user know when he can attack and/or with what cards./td> |
29/06/20 |
Can now attack only once per turn as required. |
30/06/20 |
Pushing unstaged files to the repo. fix merge conflicts updating the image directory |
01/07/20 |
Added more AI functionality |
02/07/20 |
more AI functionality |
05/07/20 |
Correct card now appears on the board when placed |
11/07/20 |
Can now only have a maximum of 10 cards in hand and 7 cards on the board (both the player's and the AI's) |
12/07/20 |
Created mod/settings sidebar |
13/07/20 |
New fps counter and more bug fixes fps counter |
15/07/20 |
visual improvements including more animations & sounds + game menu |
16/07/20 |
local time & more dialogue & updated options menu shake screen when attack is larger than 5 improved quality big attack sound effect updated winning screen |
17/07/20 |
added main menu and hero attack damage label fade out volume of the mainmenuOST for playbtn onclick |
18/07/20 |
updated tutorial & dynamically changing game to suit the tutorial update local storage for tutorial fix merge conflicts |
19/07/20 |
added voicelines, sounds and animations for tutorial |
20/07/20 |
more tutorial updates and added gold (currency for packs) refactored already implemented AI |
21/07/20 |
added gacha system opening packs etc. |
22/07/20 |
updated gacha system including animations and updated AI |
24/07/20 |
fix CORS policy issues and improve the GUI of a card when in play |
25/07/20 |
finished basic AI functionality |
26/07/20 |
it is now guaranteed to start with a 1 mana card and the AI will now take time to make turns |
27/07/20 |
implemented and finalised mana system for the player implemented GUI for mana system |
28/07/20 |
hero power is now functioning |
29/07/20 |
updated card place snds and anims + basic automated function testing |
31/07/20 |
added card effects (including battlecry's, taunts and divine shields) |
2/08/20 |
further tutorial quality updates + seperate AI deck bug fix (skip btn no longer appears in play mode) |
4/08/20 |
removed cinematic autoplay property |


Components: File Manager
File Manager:
File Manager Container:
Open File Manager
Open elFinder File Manager
File Uploader:
File Uploader Container:
Open File Uploader


Exhibition of New Artwork by Frederick R McDonald
Surekha's on the Snye is hosting the exhibition of Fred's new artworks during the month of November.
The exhibition opening is on November 5th. Due to COVID-19, the opening is by invitation-only.
Surekha's is open Tuesday thru Sunday
2 Clearwater DriveFort McMurray, Alberta
T9H 0J5
ph 780 - 713 - 3330


Here you can select previous content for the sections (or cross-listing
sets) that you are requesting. (Note that this step is not required;
the WSU institutional template will be used if no previous content is
selected.)
Click the Continue button to either skip this step, or after
you have selected previous content for the sections you're requesting.
Cross-listing shell:
{{crossListing | crossListingPipe}}
Previous content:
{{getPreviousContentIdForSection(crossListing.sections.first)}}
Requested section: {{section.sectionId}}
Previous content:
{{getPreviousContentIdForSection(section)}}


Simulation utilities (skhep.simulation)¶
Subpackage for simulation utilities¶
Subpackage for PDG ID methods¶
Scikit-HEP simply wraps the functionality provided by the [PyPDT] package to access in Python what is otherwise provided by the HepPID package in C++. HepPID translates the standard PDG numbering scheme.
All methods from PyPDT applicable to the PDG particle identification codes, a.k.a. PDG IDs, are available.
Functions available:
[‘isValid’, ‘charge’, ‘threeCharge’, ‘jSpin’, ‘lSpin’, ‘sSpin’, ‘hasFundamentalAnti’, ‘hasDown’, ‘hasUp’, ‘hasStrange’, ‘hasCharm’, ‘hasBottom’, ‘hasTop’, ‘isLepton’, ‘isHadron’, ‘isBaryon’, ‘isMeson’, ‘isNucleus’, ‘isDiQuark’, ‘isDyon’, ‘isPentaquark’, ‘isQBall’, ‘isRhadron’, ‘isSUSY’, ‘ionA’, ‘ionNlambda’, ‘ionZ’]
- Standard use case:
>>> from skhep.simulation import pdgid >>> pdgid.isLepton(11) True >>> pdgid.charge(-4444) # anti Omega_ccc^++ -2.0
References
| [PyPDT] | https://pypi.python.org/pypi/PyPDT. |
-
skhep.simulation.pdgid.
isValid
(pid)¶ Check to see if this is a valid PID
-
skhep.simulation.pdgid.
charge
(pid)¶ The actual charge
-
skhep.simulation.pdgid.
threeCharge
(pid)¶ 3 times the charge (so that it can always be returned as an int)
-
skhep.simulation.pdgid.
jSpin
(pid)¶ Returns 2J+1, where J is the total angular momentum.
-
skhep.simulation.pdgid.
lSpin
(pid)¶ Returns 2L+1, where L is the orbital angular momentum
-
skhep.simulation.pdgid.
sSpin
(pid)¶ Returns 2S+1, where S is the spin.
-
skhep.simulation.pdgid.
hasFundamentalAnti
(pid)¶ If this is a fundamental particle, does it have a valid antiparticle?
-
skhep.simulation.pdgid.
hasDown
(pid)¶ Does this particle contain a down quark?
-
skhep.simulation.pdgid.
hasUp
(pid)¶ Does this particle contain an up quark?
-
skhep.simulation.pdgid.
hasStrange
(pid)¶ Does this particle contain an strange quark?
-
skhep.simulation.pdgid.
hasCharm
(pid)¶ Does this particle contain a charm quark?
-
skhep.simulation.pdgid.
hasBottom
(pid)¶ Does this particle contain a bottom quark?
-
skhep.simulation.pdgid.
hasTop
(pid)¶ Does this particle contain a top quark? Really?!
-
skhep.simulation.pdgid.
isLepton
(pid)¶ Is this a valid lepton ID?
-
skhep.simulation.pdgid.
isHadron
(pid)¶ Is this a valid hadron ID?
-
skhep.simulation.pdgid.
isBaryon
(pid)¶ Check to see if this is a valid baryon
-
skhep.simulation.pdgid.
isMeson
(pid)¶ Check to see if this is a valid meson
-
skhep.simulation.pdgid.
isNucleus
(pid)¶ This implements the 2006 Monte Carlo nuclear code scheme. Ion numbers are +/- 10LZZZAAAI. AAA is A - total baryon number ZZZ is Z - total charge L is the total number of strange quarks. I is the isomer number, with I=0 corresponding to the ground state.
-
skhep.simulation.pdgid.
isDiQuark
(pid)¶ Check to see if this is a valid diquark
-
skhep.simulation.pdgid.
isDyon
(pid)¶ Is this a Dyon (magnetic monopole)?
Magnetic monopoles and Dyons are assumed to have one unit of Dirac monopole charge and a variable integer number xyz units of electric charge.
Codes 411xyz0 are then used when the magnetic and electrical charge sign agree and 412xyz0 when they disagree, with the overall sign of the particle set by the magnetic charge. For now no spin information is provided.
-
skhep.simulation.pdgid.
isPentaquark
(pid)¶ Check to see if this is a valid pentaquark.
A pentaquark code is of the form 9abcdej, where j is the spin and a-e are quarks.
-
skhep.simulation.pdgid.
isQBall
(pid)¶ Check for QBalls
The ad-hoc numbering for such particles is 100xxxx0, where xxxx is the charge in tenths.
-
skhep.simulation.pdgid.
isRhadron
(pid)¶ Is this an R-hadron?
An R-hadron code is of the form 10abcdj, 100abcj, or 1000abj where j is the spin, b, c, and d are quarks or gluons, and a (the digit following the zeros) is a SUSY particle.
-
skhep.simulation.pdgid.
isSUSY
(pid)¶ Is this a SUSY particle? Fundamental SUSY particles have n = 1 or 2 and nr = 0.
-
skhep.simulation.pdgid.
ionA
(pid)¶ Get the ion A number. Ion numbers are +/- 10LZZZAAAI. Returns None if not an ion.
-
skhep.simulation.pdgid.
ionNlambda
(pid)¶ Get the ion nLambda number. Ion numbers are +/- 10LZZZAAAI. Returns None if not an ion.
-
skhep.simulation.pdgid.
ionZ
(pid)¶ Get the ion Z number. Ion numbers are +/- 10LZZZAAAI. Returns None if not an ion.