예제 #1
0
class EvaluationCitation(models.Model):
    A = models.BigIntegerField(null=False)
    Symb = models.CharField(max_length=4, null=False)
    Update = models.IntegerField(null=False)
    Citation = models.CharField(max_length=100)
    PubDate = models.CharField(max_length=100)
    Authors = models.CharField(max_length=200)
예제 #2
0
class Parents2(models.Model):
    iZA = models.BigIntegerField(null=False)
    nMode = models.IntegerField()
    DSID = models.CharField(max_length=60, null=True)
    Spec = models.CharField(max_length=4)
    Mode = models.CharField(max_length=16)
    Perc = models.FloatField(null=True)
    PercStr = models.CharField(max_length=100)
    QStr = models.CharField(max_length=100)
예제 #3
0
class Betas(models.Model):
    iZA = models.BigIntegerField(null=False)
    Mode = models.CharField(max_length=16)
    Eb = models.FloatField()
    Ib = models.FloatField()
    #IbRel = models.FloatField()
    IbStr = models.CharField(max_length=100)

    def __unicode__(self):
        return unicode(iZA_to_string(self.iZA)) + u" " + unicode(
            self.Eb) + u" keV (" + unicode(self.Ib) + u" %)"
예제 #4
0
class Gammas(models.Model):
    iZA = models.BigIntegerField()
    Foot = models.CharField(max_length=2)
    Eg = models.FloatField(db_index=True)
    EgStr = models.CharField(max_length=100)
    Ig = models.FloatField(null=True, db_index=True)
    IgRel = models.FloatField(null=True, db_index=True)
    IgStr = models.CharField(max_length=54)
    Mode = models.CharField(max_length=16)

    def __unicode__(self):
        return unicode(iZA_to_string(self.iZA)) + u" " + unicode(
            self.Eg) + u" keV (" + unicode(self.Ig) + u" %)"
예제 #5
0
class Alphas(models.Model):
    iZA = models.BigIntegerField(null=False)
    Foot = models.CharField(max_length=2)
    Ea = models.FloatField()
    EaStr = models.CharField(max_length=100)
    Ia = models.FloatField()
    IaStr = models.CharField(max_length=100)

    #IaRel = models.FloatField()

    def __unicode__(self):
        return unicode(iZA_to_string(self.iZA)) + u" " + unicode(
            self.Ea) + u" keV (" + unicode(self.Ia) + u" %)"
예제 #6
0
class XRays(models.Model):
    XCode = models.BigIntegerField()
    Z = models.IntegerField()
    Energy = models.FloatField(null=False)
    Element = models.CharField(max_length=4)
    Assignment = models.CharField(max_length=100)
    Kint = models.FloatField(null=True)
    KintStr = models.CharField(max_length=100, null=True)
    L1Int = models.FloatField(null=True)
    L1IntStr = models.CharField(max_length=100, null=True)
    L2Int = models.FloatField(null=True)
    L2IntStr = models.CharField(max_length=100, null=True)
    L3Int = models.FloatField(null=True)
    L3IntStr = models.CharField(max_length=100, null=True)
예제 #7
0
class Parents(models.Model):
    A = models.IntegerField(null=False)
    Z = models.IntegerField(null=False)
    Symb = models.CharField(max_length=4, null=False)
    iZA = models.BigIntegerField(null=False)
    El = models.FloatField(null=True)
    ElStr = models.CharField(max_length=46)
    TSek = models.FloatField(null=True)
    TStr = models.CharField(max_length=74)
    JPi = models.CharField(max_length=56)
    Abund = models.FloatField(null=True)
    AbundStr = models.CharField(max_length=54)
    SnStr = models.CharField(max_length=100)
    SpStr = models.CharField(max_length=100)

    def __unicode__(self):
        return unicode(self.Symb) + u"-" + unicode(self.A)
예제 #8
0
class Augers(models.Model):
    ACode = models.BigIntegerField()
    Z = models.IntegerField()
    Energy = models.FloatField(null=False)
    Element = models.CharField(max_length=4)
    Assignment = models.CharField(max_length=100)
    Kint = models.FloatField(null=True)
    KintStr = models.CharField(max_length=100, null=True)
    L1Int = models.FloatField(null=True)
    L1IntStr = models.CharField(max_length=100, null=True)
    L2Int = models.FloatField(null=True)
    L2IntStr = models.CharField(max_length=100, null=True)
    L3Int = models.FloatField(null=True)
    L3IntStr = models.CharField(max_length=100, null=True)


#
# class Parents(models.Model):
# 	iZA = models.BigIntegerField(null = False)
#
# class Parents2(models.Model):
# 	iZA = models.BigIntegerField(null = False)
#
# class Production(models.Model):
# 	iZA = models.BigIntegerField(null = False)
#
# class References(models.Model):
# 	iZA = models.BigIntegerField(null = False)
#
# class Status(models.Model):
# 	DatabaseID = models.CharField(max_length = 510)
#
# class Terms(models.Model):
# 	ID = models.BigIntegerField()
#
# class XIntensities(models.Model):
# 	iZA = models.BigIntegerField(null = False)
#
# class XRays(models.Model):
# 	XCode = models.BigIntegerField()
예제 #9
0
class XIntensities(models.Model):
    iZA = models.BigIntegerField(null=False)
    XCode = models.BigIntegerField(null=False)
    Int = models.FloatField()
    IntStr = models.CharField(max_length=100)
예제 #10
0
class Production(models.Model):
    iZA = models.BigIntegerField(null=False)
    GenShort = models.CharField(max_length=12)
예제 #11
0
class References(models.Model):
    iZA = models.BigIntegerField(null=False)
    KeyNo = models.CharField(null=False, max_length=16)
    Mode = models.IntegerField(null=False)  #Maps to nMode in Parents2