Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

brukerconverter

Package Overview
Dependencies
Maintainers
4
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

brukerconverter - npm Package Compare versions

Comparing version 2.0.0 to 2.1.0

2

bower.json
{
"name": "brukerconverter",
"version": "2.0.0",
"version": "2.1.0",
"main": "build/brukerconverter.js",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/cheminfo-js/brukerconverter",

{
"name": "brukerconverter",
"version": "2.0.0",
"version": "2.1.0",
"description": "Parse and convert Bruker raw data",

@@ -5,0 +5,0 @@ "main": "./src/brukerconverter.js",

@@ -306,3 +306,3 @@ const Converter = require('jcampconverter');

let SW = (spectra.info.$SW = parseFloat(spectra.info.$SW));
let SW_H = (spectra.info.$SW = parseFloat(spectra.info.$SWH));

@@ -314,8 +314,6 @@ let SF = (spectra.info.$SFO1 = parseFloat(spectra.info.$SFO1));

// var DW = 1 / (2 * SW_h);
// var AQ = td * DW;
let AQ = SW;
let DW = AQ / (td - 1);
let DW = 1 / (2 * SW_H);
let AQ = td * DW;
let endian = parseInt(spectra.info.$BYTORDP, 10);
let endian = parseInt(spectra.info.$BYTORDA, 10);
endian = endian ? 0 : 1;

@@ -322,0 +320,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc