prompt atomic emissions (nm)
    844.6 777.4
557488
def getAtomic(rates, ver, lamb, br, reactfn):
    
    with h5py.File(reactfn, 'r') as f:
        lambnew = f['/atomic/lambda'].value.ravel(order='F')  # some are not 1-D!

    vnew = np.concatenate((rates.loc[..., 'po3p3p'].values[..., None],
                           rates.loc[..., 'po3p5p'].values[..., None]), axis=-1)

    return catvl(rates.alt_km, ver, vnew, lamb, lambnew, br)
249399
function (q) {
/*Line 164 - 'Atom.js' */        var plist = [];
/*Line 165 - 'Atom.js' */        for (var i in q) {
/*Line 166 - 'Atom.js' */            if (i.indexOf('_') == 0)
/*Line 167 - 'Atom.js' */                continue;
/*Line 168 - 'Atom.js' */            var val = q[i];
/*Line 169 - 'Atom.js' */            if (val === undefined)
/*Line 170 - 'Atom.js' */                continue;
/*Line 171 - 'Atom.js' */            if (val === null)
/*Line 172 - 'Atom.js' */                continue;
/*Line 173 - 'Atom.js' */            var t = typeof(val);
/*Line 174 - 'Atom.js' */            if (t != 'string' && t != 'number' && t != 'boolean') {
/*Line 175 - 'Atom.js' */                continue;
/*Line 176 - 'Atom.js' */            }
/*Line 177 - 'Atom.js' */            plist.push(i + '=' + encodeURIComponent(val));
/*Line 178 - 'Atom.js' */        }
/*Line 179 - 'Atom.js' */        return plist.join('&');
/*Line 180 - 'Atom.js' */    }
761280
function (d) {
/*Line 375 - 'Atom.js' */        d = AtomDate.parse(d);
/*Line 376 - 'Atom.js' */        if (!d)
/*Line 377 - 'Atom.js' */            return "";
/*Line 378 - 'Atom.js' */        var h = d.getHours();
/*Line 379 - 'Atom.js' */        var s = "AM";
/*Line 380 - 'Atom.js' */        if (h == 12) {
/*Line 381 - 'Atom.js' */            s = "PM";
/*Line 382 - 'Atom.js' */        } else {
/*Line 383 - 'Atom.js' */            if (h > 12) {
/*Line 384 - 'Atom.js' */                h = h - 12;
/*Line 385 - 'Atom.js' */                s = "PM";
/*Line 386 - 'Atom.js' */            }
/*Line 387 - 'Atom.js' */        }
/*Line 388 - 'Atom.js' */        var m = d.getMinutes();
/*Line 389 - 'Atom.js' */        if (m < 10) {
/*Line 390 - 'Atom.js' */            m = "0" + m;
/*Line 391 - 'Atom.js' */        } else {
/*Line 392 - 'Atom.js' */            m = m + "";
/*Line 393 - 'Atom.js' */            if (m.length == 1) {
/*Line 394 - 'Atom.js' */                m = m + "0";
/*Line 395 - 'Atom.js' */            }
/*Line 396 - 'Atom.js' */        }
/*Line 397 - 'Atom.js' */        return h + ":" + m + " " + s;
/*Line 398 - 'Atom.js' */    }
163521
public final void pinsrw(MMRegister dst, Register src, Immediate imm8)
  {
    emitX86(INST_PINSRW, dst, src, imm8);
  }
107697
public final void pshufd(XMMRegister dst, XMMRegister src, Immediate imm8)
  {
    emitX86(INST_PSHUFD, dst, src, imm8);
  }
121846
function (e) {
/*Line 170 - 'AtomErrors.js' */        var item = e.atomValidator;
/*Line 171 - 'AtomErrors.js' */        if (item) {
/*Line 172 - 'AtomErrors.js' */            item.reset();
/*Line 173 - 'AtomErrors.js' */            return;
/*Line 174 - 'AtomErrors.js' */        }
/*Line 175 - 'AtomErrors.js' */        var ce = new ChildEnumerator(e);
/*Line 176 - 'AtomErrors.js' */        while (ce.next()) {
/*Line 177 - 'AtomErrors.js' */            var child = ce.current();
/*Line 178 - 'AtomErrors.js' */            this.validate(child);
/*Line 179 - 'AtomErrors.js' */        }
/*Line 180 - 'AtomErrors.js' */    }
622995
void _emitJcc(INST_CODE code, Label label, final HINT hint) {
        if (hint == HINT.HINT_NONE) {
            emitX86(code, label);
        } else {
            emitX86(code, label, Immediate.imm(hint.value()));
        }
    }
1004713
AtomSymbol generatePseudoSymbol(String label, HydrogenPosition position) {

        final Font italicFont = font.deriveFont(Font.BOLD)
                                    .deriveFont(Font.ITALIC);
        List<TextOutline> outlines = new ArrayList<>(3);

        int beg = 0;
        int pos = 0;
        int len = label.length();

        // upper case followed by lower case
        while (pos < len && isUpperCase(label.charAt(pos)))
            pos++;
        if (label.charAt(0) != 'R') // Ar is not A^r but 'Ra' is R^a etc
            while (pos < len && isLowerCase(label.charAt(pos)))
                pos++;

        if (pos > beg) {
            outlines.add(new TextOutline(label.substring(beg, pos), italicFont));
            beg = pos;
            // 2a etc.
            while (pos < len && isDigit(label.charAt(pos)))
                pos++;
            while (pos < len && isLowerCase(label.charAt(pos)))
                pos++;

            if (pos > beg) {
                TextOutline outline = new TextOutline(label.substring(beg, pos), italicFont);
                outline = outline.resize(scriptSize, scriptSize);
                outline = positionSuperscript(outlines.get(0), outline);
                outlines.add(outline);
            }

            int numPrimes = 0;
            PRIMES:
            while (pos < len) {
                switch (label.charAt(pos)) {
                    case '\'': numPrimes++; break;
                    case '`': numPrimes++;  break;
                    case '‘': numPrimes++;  break;
                    case '’': numPrimes++;  break;
                    case '‛': numPrimes++;  break;
                    case '“': numPrimes+=2; break;
                    case '”': numPrimes+=2; break;
                    case '′': numPrimes++;  break;
                    case '″': numPrimes+=2; break;
                    case '‴': numPrimes+=3; break;
                    case '⁗': numPrimes+=4; break;
                    case '‵': numPrimes++;  break;
                    case '‶': numPrimes+=2; break;
                    case '‷': numPrimes+=3; break;
                    case '´': numPrimes++;  break;
                    case 'ˊ': numPrimes++;  break;
                    case '́': numPrimes++;  break;
                    case '˝': numPrimes+=2; break;
                    case '̋': numPrimes+=2; break;
                    default: break PRIMES;
                }
                pos++;
            }

            if (pos < len) {
                return new AtomSymbol(new TextOutline(label, italicFont), Collections.<TextOutline>emptyList());
            } else {
                TextOutline outline = null;
                TextOutline ref = outlines.get(outlines.size()-1);
                switch (numPrimes) {
                    case 0: break;
                    case 1: outline = new TextOutline("′", font); break;
                    case 2: outline = new TextOutline("″", font); break;
                    case 3: outline = new TextOutline("‴", font); break;
                    default:
                        String lab = "";
                        while (numPrimes-->0)
                            lab += "′";
                        outline = new TextOutline(lab, font);
                        break;
                }
                if (outline != null) {
                    if (outlines.size() > 1)
                        outline = outline.resize(scriptSize, scriptSize);
                    outline = positionSuperscript(ref, outline);
                    outlines.add(outline);
                }
            }

            // line up text
            for (int i = 1; i < outlines.size(); i++) {
                TextOutline ref = outlines.get(i - 1);
                TextOutline curr = outlines.get(i);
                outlines.set(i, positionAfter(ref, curr));
            }

            return new AtomSymbol(outlines.get(0),
                                  outlines.subList(1, outlines.size()));
        } else {
            return new AtomSymbol(new TextOutline(label, italicFont), Collections.<TextOutline>emptyList());
        }
    }
333972
private final double[] getAprxBounds(IAtomContainer mol) {
        double maxX = -Double.MAX_VALUE;
        double maxY = -Double.MAX_VALUE;
        double minX = Double.MAX_VALUE;
        double minY = Double.MAX_VALUE;
        IAtom[] boundedAtoms = new IAtom[4];
        for (int i = 0; i < mol.getAtomCount(); i++) {
            IAtom atom = mol.getAtom(i);
            if (atom.getPoint2d() != null) {
                if (atom.getPoint2d().x < minX) {
                    minX = atom.getPoint2d().x;
                    boundedAtoms[0] = atom;
                }
                if (atom.getPoint2d().y < minY) {
                    minY = atom.getPoint2d().y;
                    boundedAtoms[1] = atom;
                }
                if (atom.getPoint2d().x > maxX) {
                    maxX = atom.getPoint2d().x;
                    boundedAtoms[2] = atom;
                }
                if (atom.getPoint2d().y > maxY) {
                    maxY = atom.getPoint2d().y;
                    boundedAtoms[3] = atom;
                }
            }
        }
        double[] minmax = new double[4];
        minmax[0] = minX;
        minmax[1] = minY;
        minmax[2] = maxX;
        minmax[3] = maxY;
        double minXAdjust = adjustForHydrogen(boundedAtoms[0], mol);
        double maxXAdjust = adjustForHydrogen(boundedAtoms[1], mol);
        if (minXAdjust < 0) minmax[0] += minXAdjust;
        if (maxXAdjust > 0) minmax[1] += maxXAdjust;
        return minmax;
    }
848550
def GaP_Eg_Gamma(self, **kwargs):
    '''
    
    '''
    T = kwargs.get('T', 300.)
    if T < 1e-4:
        return self.Eg_Gamma_0()
    return self.Eg_Gamma_0() + 0.1081 * (1 - 1. / tanh(164. / T))  # eV
1267122
private int getAtomPosition(IAtom atom, IAtomContainer container) {
        for (int i = 0; i < container.getAtomCount(); i++) {
            if (atom.equals(container.getAtom(i))) {
                return i;
            }
        }
        return -1;
    }
286144
function (dt, time) {
/*Line 319 - 'Atom.js' */        if (!dt || !time)
/*Line 320 - 'Atom.js' */            return dt;
/*Line 321 - 'Atom.js' */        var tokens = time.split(':');
/*Line 322 - 'Atom.js' */        var h = parseInt(tokens[0]);
/*Line 323 - 'Atom.js' */        tokens = tokens[1].split(' ');
/*Line 324 - 'Atom.js' */        var m = parseInt(tokens[0]);
/*Line 325 - 'Atom.js' */        if (tokens[1] == "PM") {
/*Line 326 - 'Atom.js' */            if (h != 12) {
/*Line 327 - 'Atom.js' */                h += 12;
/*Line 328 - 'Atom.js' */            }
/*Line 329 - 'Atom.js' */        }
/*Line 330 - 'Atom.js' */        var d = new Date(dt.getFullYear(),dt.getMonth(),dt.getDate());
/*Line 331 - 'Atom.js' */        d.setHours(h);
/*Line 332 - 'Atom.js' */        d.setMinutes(m);
/*Line 333 - 'Atom.js' */        return d;
/*Line 334 - 'Atom.js' */    }
918092
async def main():
    """"""
    async with aiohttp.ClientSession() as session:
        station = OpenSenseMap(SENSOR_ID, loop, session)

        # Print details about the given station
        await station.get_data()

        print("Name:", station.name)
        print("Description:", station.description)
        print("Coordinates:", station.coordinates)

        print("PM 2.5:", station.pm2_5)
        print("PM 10:", station.pm10)

        print("Temperature:", station.temperature)
241259
public final void dppd(XMMRegister dst, XMMRegister src, Immediate imm8)
  {
    emitX86(INST_DPPD, dst, src, imm8);
  }
976325
public final void fmul(X87Register dst, X87Register src)
  {
    assert(dst.index() == 0 || src.index() == 0);
    emitX86(INST_FMUL, dst, src);
  }
925797
private int element(IAtom atom) {
        Integer element = atom.getAtomicNumber();
        if (element != null) return element;
        if (atom instanceof IPseudoAtom) return 0;
        throw new IllegalArgumentException("Aromaiticty model requires atomic numbers to be set");
    }
973386
function promptAndInstallUdevRules(err = null) {
	if (!systemSupportsUdev()) {
		return when.reject(new Error('Not supported'));
	}
	if (udevRulesInstalled()) {
		if (err) {
			console.log(chalk.bold.red('Physically unplug and reconnect your Particle devices and try again.'));
			return when.reject(err);
		}
		return when.resolve();
	}
	console.log(chalk.yellow('You are missing the permissions to access USB devices without root.'));
	return prompt({
		type: 'confirm',
		name: 'install',
		message: 'Would you like to install a udev rules file to get access?',
		default: true
	})
		.then(r => {
			if (!r.install) {
				if (err) {
					throw err;
				}
				throw new Error('Cancelled');
			}
			return installUdevRules();
		})
		.then(() => {
			console.log('udev rules installed.');
			if (err) {
				console.log(chalk.bold.red('Physically unplug and reconnect your Particle devices and try again.'));
				throw err;
			}
		});
}