...
- Plug optical fiber from monochromator output into Black Comet spectrograph
- MC end of fiber SHOULD NOT BE moved MOVED
- Move monochromator to 700 nm, and set spectrograph exposure time to ~10ms
- Place an ND filter in spectrograph input path, selected to make Black Comet peak intensity at this exposure time and wavelength ~10-20k
- The spectrograph sensitivity with the ThorLabs halogen light peaks around 700nm. So we make a minimal exposure time give good S/N at that wavelength.
- We have found that an ND filter of 2.5 is about right.
- Take a data series, starting from ~350 nm and ending at ~1050 nm.
- Use Python to step MC forward (see the Monochromator operation instructions for details: Monochromator Operations)
- Use Black Comet to save the data.
- This requires manually saving the black comet files, and so cannot be easily automated. Here is an example of the run python scriptsautomated (see Black Comet page: StellarNet Black Comet Spectrograph)
- Run the following loop in Python to walk through wavelengths and pause to allow time to save the Black Comet spectra:
$ cd Documents/PythonScripts/CBP
*** Save the file, such as BC_mono_XXXnm_XXXms.SSM. Then press a button ****
$ python
>>> import monochromator as mono
>>> my_mono = mono.CornerStone260('COM3') #Need to check which COM port mono is read at
>>> waves = list(range(350, 1051, 5250))
>>> for wave in waves:
my_mono.GoWave(wave)
input('Monochromator at wavelength ' + str(wave) + ' nm. Press any key to move to next wavelength (SAVE THE FILE FIRST THOUGH!!!!)') - You will need to adjust the Black Comet exposure time to keep the number of counts in a good range (~5k-40k).
STEP 3: Run the wavelength solution
- The Python script that solves the wavelength solution is:
MonochromatorCalibration.py
- Edit the following elements of this script:
- The dir_base variable should point to directory in which all Monochromator data is stored
- The
mono_date_str
variable should be set to the date on which the data were taken - [OPTIONAL] The
ref_lamp_date_str
can be adjusted to the date on which the desired reference spectra were taken - The
MC_measurement_files
variable should be updated to include the names of the files actually included. - [OPTIONAL] The
ref_lamp_data_files
variable can be adjusted if you want to use a different calibration file
- Run the script from the command line - no arguments necessary
$ python MonochromatorCalibration.py
- This will fit the peaks in each of the provided data files, and solve the wavelength solutions from reference lamp to Black Comet and Black Comet to MC
- The final printout lists how much the monochromator wavelengths should be shifted. For example, when running the code on 04/13/2022, we got the following solution:
Mono claimed: 300 nm =====> is actually: 302.377 nm
Mono claimed: 400 nm =====> is actually: 402.683 nm
Mono claimed: 500 nm =====> is actually: 502.732 nm
Mono claimed: 600 nm =====> is actually: 602.523 nm
Mono claimed: 700 nm =====> is actually: 702.057 nm
Mono claimed: 800 nm =====> is actually: 801.333 nm
Mono claimed: 900 nm =====> is actually: 900.352 nm
Mono claimed: 1000 nm =====> is actually: 999.114 nm
6. Based on these results, the monochromator appears to be underestimating the true center wavelength by about 2nm, though that offset is not uniform.
7. We adjusted the monochromator by about 2nm, though there will be a small systematic error in our final wavelength solution due to that non-uniformity
$ cd Documents/PythonScripts/CBP
$ python
>>> import monochromator as mono
>>> my_mono = mono.CornerStone260('COM3') #Need to check which COM port mono is read at
>>> my_mono.GoWave(700)
>>> my_mono.Calibrate(702)
>>> exit()