npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@appliedminds/amber-radiance-1

v1.0.0

Published

Control Interface for Raytheon Amber Radiance 1 IR Cameras

Readme

Amber Radiance 1 Control Interface

Unofficial Node.js API for controlling Raytheon/Amber Radiance 1 IR Cameras.

Features:

  • Getting camera status
  • Changing brightness / contrast
  • Running calibrations
  • Toggling cryo cooler
  • Changing automatic gain control (AGC) modes
  • Changing intensity transform table (ITT) modes
  • Changing look-up table (LUT) modes
  • Changing non-uniformity correction (NUC) modes
Contents

Background

The Radiance 1 Infrared camera was developed by Amber Engineering, a engineering company started in 1981 and purchased in 1992 by Raytheon Missile Systems. Rebranded to Raytheon Amber, they released this camera around 1993.

Amber Radiance 1 Camera

(Pictured: NASA Spinoff camera based on an Amber Radiance 1. Image credit: NASA)

In 1998, Raytheon Amber closed shop and merged with Hughes Defense, after which much of the tools and documentation for their cameras became more difficult to find.

Many of these cameras still exist and can provide impressive IR imaging, albeit in a relatively low resolution, but the software required to control it is long obsolete and requires a license that can no longer be obtained. Some of the functionality has been reverse-engineered and included in this library so others may breathe new life into these devices.

For more background stories on these cameras, see Fraser's Quest on EEVblog.

Requirements

  • Node.js 20+

Installation

npm install @appliedminds/amber-radiance-1

Usage / Examples

Via Serial

import { Camera } from '@appliedminds/amber-radiance-1'

const camera = new Camera({ port: '/dev/tty21', transport: 'serial' })
await camera.connect()

// Set NUC mode
await device.setNUC('warm')

// Set LUT mode
await device.setLUT('black-and-white')

// Turn off Cryo Cooler
await device.setCooler(false)

Via TCP

This assumes you're using some sort of RS-232/TCP pass-through device, such as a Moxa NPort

import { Camera } from '@appliedminds/amber-radiance-1'

const camera = new Camera({ host: '192.168.100.50', port: 4001, transport: 'tcp' })
await camera.connect()

// Get power and cooler cycles
console.log(await camera.getStatus())

API Docs

new Camera({ port : String/Number, host?: String, verbose?: Boolean, transport?: String })

Constructor

  • port:
    • When transport set to tcp: TCP port
    • When transport set to serial: Qualified path on MacOS/Linux (E.G. /dev/some/device/path), COM port on Windows (E.G. COM3)
  • host: Host or IP address to connect to (only when transport set to tcp)
  • verbose: Print additional debug logs
  • transport: Method to connect to device (serial or tcp) (default: tcp)

camera.close() : <Promise>

Manually close connection. Resolves once the connection has been closed.

camera.connect() : <Promise>

Connect to camera. The returned promise will resolve once connected.

camera.getAGC() : <Promise<Boolean>>

Check if Automatic Gain Control is turned off or on.

camera.getITT() : <Promise<String>>

Return active intensity transform table mode (linear, inverse, s-curve or two-cycle)

camera.getLUT() : <Promise<String>>

Return active look-up table mode (black-and-white, color or sepia)

camera.getNUC() : <Promise<String>>

Return active non-uniformity correction mode (cold, mid, warm or hot)

camera.getStatus() : <Promise<Object>>

Return camera status information. Resolves to an object containing the following keys:

  • numCoolerCycles: Number of times the cryo cooler has been cycled
  • numPowerCycles: Number of times the device power has been cycled
  • coolerTime: A timestamp indicating cooler time, although it's unclear how this is supposed to be interpreted.

camera.invertImage() : <Promise>

Vertically invert the output image.

camera.run1PointCalibration() : <Promise>

Initiate the single point calibration process for the current NUC mode.

camera.run2PointCalibration() : <Promise>

Initiate the two-point calibration process for the current NUC mode.

camera.setBrightness(delta : Number) : <Promise>

Change relative brightness

  • delta: Increase brightness when > 0, otherwise decrease

camera.setCooler(enabled : Boolean) : <Promise>

Toggle cryo cooler operation.

camera.setContrast(delta : Number) : <Promise>

Change relative contrast

  • delta: Increase contrast when > 0, otherwise decrease

camera.setAGC(mode : String) : <Promise>

Set automatic gain control mode

  • mode: Set AGC to full, midsize, center, horizon or off to turn off.

camera.setITT(mode : String) : <Promise>

Set intensity transform table used for transforming the output values for display.

  • mode: linear, inverse, s-curve, or two-cycle

camera.setLUT(mode : String) : <Promise>

Set the look-up table used for coloring the output image.

  • mode: black-and-white, color or sepia

camera.setNUC(mode : String) : <Promise>

Set current non-uniformity correction mode.

  • mode: cold, mid, warm or hot

camera.toggleColorBar(enabled : Boolean) : <Promise>

Toggle the on-screen color bar legend on or off.

camera.toggleFreezeFrame() : <Promise>

Toggle freeze frame mode.

camera.toggleOSD(enabled : Boolean) : <Promise>

Show or hide the on-screen display sidebar.

License

Unless otherwise specified, all content, including all source code files and documentation files in this repository are:

Copyright (c) 2024 Applied Minds LLC

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at:

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.