JavaNEWSTAR
Java NEWSTAR
Java NEWSTAR is a java-based version of NEWSTAR - an astronomical data analyzing system of Nobeyama data - which can run on Linux and MacOSX.
The Java NEWSTAR is NOT compatibile with Windows systems because some background programs are written in Fortran and C.
Installation is "easier" and runs "lighter" than the original NEWSTAR because the Java NEWSTAR can run without AIPS.
Please send an e-mail to the staff when you download the files or if you have any questions.

Last update of this file: 2017/11/21
Installation Files
Installation
Delete all old version files except data files before installation , or overwrite all old files with the new versions.
- Linux
- MacOSX 10.7 to 10.10
- Copy the tar file (JNewstarmac-7-YYMMDD.tar) to your computer and expand it.
Warning : A deep path is unsuitable. Length of a directory path should be shorter than 30 characters.
- If you see the following alart, open "Security & Privacy" in "System Preferences" and select "Anywhere" at "Allow apps download from".
"newsatr.app is damaged and can't be opened. You should move it to the Trash."
- MacOSX 10.10 to 10.13
- Copy the tar file (JNewstarmac-11-YYMMDD.tar) to your computer and expand it.
Warning : A deep path is unsuitable. Length of a directory path should be shorter than 30 characters.
- You have to install Java SE 1.8 or later.
See http://www.oracle.com/technetwork/java/javase/overview/index.html
- An executable file is not "app" but jar file.
- At first, you have to open a file with control key.
Directory Structure
The following files and sub-directories can be found within JNewstarLinux or JNewstarMac.
Do NOT rename these files and sub-directories.
- newstar.sh : the starting shell for Linux
- newstar.app : the starting application for Mac OSX
- data/ : default data directory
- env/ : directory of parameters, history files and a definition file of the panel(.nsmenu)
- java/ : directory of jar files and files for developments
- tool/ : directory of tools
- rexe/ : directory of executable files and shells (Linux and MacOSX files are different.)
- lib/ : directory of library (Linux and MacOSX files are different.)
- src/ : directory for developments
- install/ : directory for developments
Data
You can use three types of data.
Those data are each outputs of "to disk for JavaNS" in "File Services" of original NEWSTAR from the NRO analysis machines (an01u and an02u).
- Raw data(1998 and later)
Name : NNNNNNNN.YYMMDDHHMMSS.vv.nqm
Name : NNNNNNNN.YYMMDDHHMMSS.vv.nqf: Attached flag file
- Spectrum data
NameqeNNNNNNNN.CCCCCC.vv.nsm
- Image data (Image FITS)
NameqeNNNNNNNN.CCCCCC.vv.nmm
Note
NNNNNNNN : ASCII string less than or equal to 8 characters
CCCCCC : ASCII string less than or equal to 6 characters
vv : number less than 2 characters
Copy these data files to your computer.
Starting up
- Linux
Execute newstar.sh
- MacOSX
Double-click newstar.app
Differences from Original NEWSTAR
- You can open multiple windows even if they are the same tasks.
- The position map and data profile are displayed on different TTTs.
- You can change the name of a file and move it on your operating system if it meets the naming rules.
- You can save the parameters of a task into a specified file(line feed: LF codes in the file; i.e. UNIX standard). (Parameters Menu)
- The output files of MAP are FITS cubes.
Known Problems
- Number of lines on TTT is limited to twenty thousands.
History
- 2003/03/25
- Alpha version
- 2010/06/22
- A bug (abnormal results when the data path is long) was fixed.
- 2010/12/09
- The new version of spectrum FITS program is available.
FLAG3 and LING2: It became possible to process the data of the SAM45 spectrometer.
- 2010/12/15
- BASE : The default values of parameters were changed.
- 2011/03/11
- SPFIT:A bug(keyword error) was fixed.
- 2011/07/21
- SPFIT(Linux):A bug(endianness of FITS data) was fixed.
- 2012/02/27
- Revised history logs.
Adapted to MacOSX Lion.
- 2013/02/05-03/08
- Revised this file.
- 2013/09/13
- Removed resources for distributed computing environment.
TTT:Added printing function.
FLAG3 and LING2: It became possible to clip the data of the SAM45 spectrometer.
- 2013/09/19
- PVMAP:A bug (BUNIT was incorrect) was fixed.
- 2013/09/26
- PVMAP:A bug (couldn't run occasionally) was fixed.
- MAP1:A bug (BUNIT of ch-map was incorrect) was fixed.
- TTT:A bug (size of printing output wasn't fitted) was fixed.
- 2013/10/02
- TTT:Refined.
- 2013/10/24
- TTT:The internal buffer was extended.
- 2014/03/06
- For MacOSX Lion or later : Optimized the memory size of TTT.
For MacOSX Lion or later : Revised the task management algorithm.
- 2014/04/18
- FitsMap: "Profile" option with more than 2048 channels is available.
- 2014/05/20
- SPDSP: Corrected the names of arrays.
SPDSP: Added a few digits for the peak value.
FLAG3: Added the error handling.
CHOUT: Added digits for frequency values.
GAUSF: Fixed a bug (bad scale at fixed span mode).
CALC1: Improved the precision.
INTG2: Added the error handling.
FITSP: Fixed a bug (bad FQ table when IF is LSB).
- 2014/05/29
- GBASE: Fixed a bug (couldn't run).
- 2014/10/31
- Adapted to MacOSX Yosemite.
- 2015/04/22
- GCOPY: Fixed a bug (can't run).
GSORT: Fixed a bug (can't run).
FLAG3(linux version): Fixed a bug (can't run for SAM45 data).
SPFIT(Sp FITS2): Fixed a bug (bad endianness).
TTT: Fixed a bug (garbage characters).
- 2017/11/20
- FLAG3, LING2: for SAM45 spectral window.
Adapted to MacOSX 10.11 to 10.13.
2017/11/21 Nobeyama Radio Observatory