Skip to content

Instantly share code, notes, and snippets.

Created March 5, 2018 03:32
Show Gist options
  • Save anonymous/3923a8175c0e864b22f3574eb3c4a986 to your computer and use it in GitHub Desktop.
Save anonymous/3923a8175c0e864b22f3574eb3c4a986 to your computer and use it in GitHub Desktop.
Niyoji-JACS2008.ipynb
Display the source blob
Display the rendered blob
Raw
{
"cells": [
{
"metadata": {},
"cell_type": "markdown",
"source": "# For issue 1: entire sentences are showing up as a word; individual words are not being seperated"
},
{
"metadata": {
"trusted": true
},
"cell_type": "code",
"source": "%reload_ext autoreload\n%autoreload 2\n%matplotlib inline\n\nfrom fastai.io import *\nfrom fastai.conv_learner import *\n\nfrom fastai.column_data import *",
"execution_count": 1,
"outputs": []
},
{
"metadata": {
"trusted": true
},
"cell_type": "code",
"source": "import sys\nsys.path.append('C://Users/sarad/Documents/fastai/')",
"execution_count": 2,
"outputs": []
},
{
"metadata": {
"trusted": true
},
"cell_type": "code",
"source": "path='C://Users/sarad/Documents/fastai/courses/dl1/data/NLP/'",
"execution_count": 3,
"outputs": []
},
{
"metadata": {
"trusted": true
},
"cell_type": "code",
"source": "file=f'{path}Niyogi-JACS2008.txt'",
"execution_count": 4,
"outputs": []
},
{
"metadata": {
"trusted": true
},
"cell_type": "code",
"source": "#get_data(\"https://s3.amazonaws.com/text-datasets/nietzsche.txt\", f'{PATH}nietzsche.txt')\ntext = open(f'{file}').read()\nprint('corpus length:', len(text))",
"execution_count": 5,
"outputs": [
{
"output_type": "stream",
"text": "corpus length: 11162\n",
"name": "stdout"
}
]
},
{
"metadata": {
"trusted": true
},
"cell_type": "code",
"source": "text[:400]",
"execution_count": 6,
"outputs": [
{
"output_type": "execute_result",
"execution_count": 6,
"data": {
"text/plain": "'Published on Web 01/25/2007\\n\\nSelective Aggregation of Single-Walled Carbon Nanotubes via Salt Addition\\nSandip Niyogi,â€\\xa0 Sofiane Boukhalfa,â€\\xa0 Satishkumar B. Chikkannanavar,â€\\xa0 Timothy J. McDonald,‡\\nMichael J. Heben,‡ and Stephen K. Doorn*,â€\\xa0\\nChemistry DiVision, Los Alamos National Laboratory, C-CSE, Los Alamos, New Mexico 87545, and Center for\\nBasic Sciences, National Renewable Energy Labora'"
},
"metadata": {}
}
]
},
{
"metadata": {
"trusted": true
},
"cell_type": "code",
"source": "chars = sorted(list(set(text)))\nvocab_size = len(chars)+1\nprint('total chars:', vocab_size)",
"execution_count": 7,
"outputs": [
{
"output_type": "stream",
"text": "total chars: 92\n",
"name": "stdout"
}
]
},
{
"metadata": {},
"cell_type": "markdown",
"source": "Sometimes it's useful to have a zero value in the dataset, e.g. for padding"
},
{
"metadata": {
"trusted": true
},
"cell_type": "code",
"source": "chars.insert(0, \"\\0\")\n\n''.join(chars[1:-6])",
"execution_count": 8,
"outputs": [
{
"output_type": "execute_result",
"execution_count": 8,
"data": {
"text/plain": "'\\n\\x0c $%()*+,-./0123456789:;@ABCDEFGHIJKLMNOPRSTUVWXYZabcdefghijklmnopqrstuvwxyz\\xa0¡©°»¼ÂÃ'"
},
"metadata": {}
}
]
},
{
"metadata": {},
"cell_type": "markdown",
"source": "Map from chars to indices and back again"
},
{
"metadata": {
"trusted": true
},
"cell_type": "code",
"source": "char_indices = {c: i for i, c in enumerate(chars)}\nindices_char = {i: c for i, c in enumerate(chars)}",
"execution_count": 9,
"outputs": []
},
{
"metadata": {},
"cell_type": "markdown",
"source": "*idx* will be the data we use from now own - it simply converts all the characters to their index (based on the mapping above)"
},
{
"metadata": {
"trusted": true
},
"cell_type": "code",
"source": "idx = [char_indices[c] for c in text]\n\nidx[:10]",
"execution_count": 10,
"outputs": [
{
"output_type": "execute_result",
"execution_count": 10,
"data": {
"text/plain": "[42, 72, 53, 63, 60, 70, 59, 56, 55, 3]"
},
"metadata": {}
}
]
},
{
"metadata": {
"trusted": true
},
"cell_type": "code",
"source": "''.join(indices_char[i] for i in idx[:100000])",
"execution_count": 11,
"outputs": [
{
"output_type": "execute_result",
"execution_count": 11,
"data": {
"text/plain": "'Published on Web 01/25/2007\\n\\nSelective Aggregation of Single-Walled Carbon Nanotubes via Salt Addition\\nSandip Niyogi,â€\\xa0 Sofiane Boukhalfa,â€\\xa0 Satishkumar B. Chikkannanavar,â€\\xa0 Timothy J. McDonald,‡\\nMichael J. Heben,‡ and Stephen K. Doorn*,â€\\xa0\\nChemistry DiVision, Los Alamos National Laboratory, C-CSE, Los Alamos, New Mexico 87545, and Center for\\nBasic Sciences, National Renewable Energy Laboratory, Golden, Colorado 80401\\nReceived November 28, 2006; E-mail: skdoorn@lanl.gov\\n\\nSingle-walled carbon nanotubes (SWNTs) can be dispersed as\\nindividuals in H2O using sodium dodecylsulfate (SDS), typically\\nat 1% (35 mM) concentration. At and above the critical micellar\\nconcentration (cmc 8 mM at 25 °C), the degree of ionization of\\nSDS is 0.27.1 Once intertube van der Waals (VdW) attraction is\\novercome by intense sonication, free SDS adsorbs to SWNT\\nsurfaces and creates a net surface density of negative charge, which\\nprevents SWNT reaggregation. In such solutions, the excitonic\\nabsorption and emission of light by the various SWNT chiralities\\ncan be observed.2-4 Any change in the surface charge density of\\nthe surfactant, or its solubility, that eliminates the electrostatic\\nrepulsion between the nanotubes will cause SWNTs to aggregate\\nand coagulate.4\\nBy controlling the intermolecular and surface forces of SDS in\\nwater, we show here that it is possible to engineer the resultant\\nVdW attraction between SWNTs. Titrating SWNT-SDS dispersions with salt solutions leads to diameter-dependent modulation\\nof the electrostatic repulsive forces; changes in the absorbance and\\nemission spectra of SWNTs are used to study these effects. We\\nascribe the observed spectroscopic changes to selective aggregation\\nof SWNT chiralities. Our experiments clearly demonstrate that\\ncertain SWNT chiralities deviate from a simple diameter-dependent\\nstability trend.\\nA 20.0 mg quantity of as-prepared HiPco SWNTs was dispersed\\nin 200 mL of 35 mM SDS (Fisher, 98%) in D2O (4.4 × cmc),\\nusing the standard procedure of shear mixing and sonication\\nfollowed by ultracentrifugation.2 Microliter volumes of salt solutions\\n(∼1 M in D2O) were added to the SWNT dispersions at room\\ntemperature. The experiments were reproduced in up to 10 mL of\\nthe SWNT dispersions. Aliquots were taken out to record the\\nspectra. After salt addition, the solutions were either stirred or\\nallowed to stand overnight to attain equilibrium. Absorbance spectra\\nwere recorded in a Varian Cary 6000i instrument. Excitation maps\\nof the SWNT photoluminescence were recorded using a homebuilt FT-photoluminescence excitation (PLE) spectrometer with a\\nXe arc lamp source and a liquid N2-cooled Ge detector from a\\nmodified Nicolet NXR-9600 FT-IR spectrometer.5 Excitation power\\nat the sample was typically 1.3 mW, and the emission spectra were\\nintegrated over 128 scans. The single line (λEX ) 780 nm) emission\\nspectra (Figure 1) were recorded using the same Nicolet spectrometer with diode laser excitation.\\nSystematic changes in the emission features are observed as NaCl\\nis added to the SWNT dispersion (Figure 1). With respect to the\\nstarting SWNT dispersion (Figure 1A), in 0.14 M NaCl, the\\nbackground is suppressed and the emission intensity is enhanced,\\nparticularly for the larger-diameter SWNTs (Figure 1B). As the\\nconcentration of NaCl is increased, the emission from certain SWNT\\nchiralities is no longer observed. It is particularly interesting to note\\nâ€\\xa0\\n‡\\n\\nLos Alamos National Laboratory.\\nCenter for Basic Sciences, National Renewable Energy Laboratory.\\n\\n1898\\n\\n9\\n\\nJ. AM. CHEM. SOC. 2007, 129, 1898-1899\\n\\nFigure 1. Spectroscopy of SWNT-SDS dispersions as a function of salt\\nconcentration and temperature. (A) emission spectrum of the starting\\nSWNT-SDS dispersion; (B) same solution in 0.14 M NaCl; (C) in 0.43 M\\nNaCl, and (D) in 0.57 M NaCl; (E) absorption spectrum with and without\\nNaCl (0.17 M); (F) change in the absorption spectrum at temperatures below\\nthe critical micellar temperature.\\n\\nthat in the band corresponding to the (10,5) and (8,7) emissions,\\nthe (10,5) emission is no longer visible in 0.43 M NaCl (Figure\\n1C); similarly, (11,3) and (9,4) signals are absent. The emission\\nintensity of (7,5) and (6,5) chiralities increase, under the same\\nconditions. In 0.57 M NaCl, the (9,7) emission is also completely\\nlost (Figure 1D).\\nThe cmc of pure SDS is reduced to 1 mM in 0.16 M NaCl.6 The\\naddition of Na+ decreases the electrostatic repulsion between SDS\\nmolecules and results in an increase in their aggregation number.\\nSince we also observe that the completely aggregated dispersions\\nshow the background-only emission spectrum, the increase in the\\nemission intensity and loss of the background emission (Figure 1B)\\nmay be due to improved isolation of the SWNTs, related to the\\nionization degree and aggregation number of SDS under these\\nconditions (see also Supporting Information, Figure S2).6,7 Above\\n0.5 M NaCl, pure SDS is no longer soluble in water at 25 °C;8\\nunder these conditions, the Kraft point of pure SDS is raised above\\n25 °C.9 The Kraft point is the melting point of a hydrated surfactant;\\nit is raised by the addition of salt in water. We expect the\\nconcentration of NaCl necessary to affect the stability of SWNT/\\nSDS dispersions to be different from values previously obtained\\nfor pure SDS solutions. However, lowering the dispersion temperature should yield an effect similar to elevating the Kraft point.\\nWe observe a diameter-dependent change in the absorbance\\nspectrum on centrifuging the SWNT dispersion at 70000g for 3 h,\\nat 10 °C (Figure 1F), similar to the effect of adding NaCl\\n(Figure 1E).\\nThus, manipulation of SDS equilibria results in loss of free SDS\\nin solution, through precipitation or further micellization. SWNT10.1021/ja068321j CCC: $37.00 © 2007 American Chemical Society\\n\\n\\x0cCOMMUNICATIONS\\n\\nFigure 2. Absorption spectra of SWNTs showing the chirality-dependent\\naggregation and broadening in the presence of salts of varying counterion\\nvalency and ionic strengths.\\n\\nbound SDS is lost in response, resulting in nanotube aggregation\\nas electrostatic repulsion is reduced. That large-diameter tubes are\\nobserved to selectively aggregate first in these experiments is likely\\na consequence of a progressively increasing stability of SDS binding\\nto smaller-diameter SWNTs.10 Addition of salt at constant SDS\\nconcentration allows us to observe the intermediate equilibria where\\ncertain SWNT chiralities exhibit enhanced stability with respect to\\naggregation, when compared to chiralities of similar diameter.\\nSpecifically, as seen in Figure 1B-D, the (12,1), (9,7), and (8,7)\\nchiralities do not aggregate (see Supporting Information), while\\nspectral features from similar diameter SWNTs are lost. Chirality\\nspecific SWNT-surfactant interactions may be responsible for this\\nadditional stability.\\nCharge screening effects can also reduce intertube repulsion. The\\nSWNT-SDS system can be considered to be a negative surface of\\nSO4- with Na+ counterions. The density of the SO4- groups\\ndetermines the surface potential of the SWNTs, which in turn would\\ndetermine the separation between adjacent SWNTs. If the ionic\\nconcentration of the counterion is increased, the surface can be\\ncompletely neutralized, at which point the adjacent SWNTs would\\ncome into contact due to van der Waals attraction.11 The concentration of counterions necessary to completely neutralize the surface\\ncharge decreases significantly for divalent or trivalent cations, due\\nto better charge screening.11\\nIn Figure 2, we show the effect of di- and trivalent counterions\\non the absorbance spectrum of SWNTs. In general, the spectra show\\na progressive shift in the stability of SWNT chiralities toward\\nnarrower diameters as the valency of the cation is increased (Figure\\n2B, D, and E). In Figure 2C and D, we compare the effect of ionic\\nstrength of the added salt on the stability of SWNT chiralities.\\nClearly, MgCl2 is relatively more efficient in aggregating SWNT\\nchiralities. Since the reactions are allowed to reach equilibrium,\\nthese results indicate that initial surface charge densities are lower\\nfor larger-diameter SWNTs.\\nThe emission spectrum of SWNTs is more sensitive to the\\ninternanotube distances. The change in the emission spectrum of\\nthe SWNT solutions is shown in Figure 3. The PLE map of the\\nstarting SWNT solution shows 14 SWNT chiralities distinctly\\n(Figure 3A). All chiralities present in the HiPco sample within the\\nlimits of our excitation range are labeled. The loss of the absorption\\npeaks in Figure 2 is concurrent with the absence of the corresponding emission bands.\\nThus, fine control over the SWNT aggregation state is possible\\nwith salt additions, which result in selective aggregation of a very\\nnarrow-diameter range. This behavior suggests that, at any particular\\n\\nFigure 3. Contour plots of SWNT photoluminescence with excitation from\\n500 to 800 nm at 5 nm intervals. Each bright spot corresponds to a SWNT\\nchirality as labeled. (A) The starting SWNT dispersion; (B) SWNTs in 57.5\\nmM NaCl; (C) SWNTs in 6.9 mM MgCl2; (D) SWNTs in 3.75 mM ErCl3.\\n\\nconcentration of salt being added, SWNTs of identical chiralities\\nmay self aggregate. Manipulating surfactant equilibria in the manner\\ndemonstrated above shows significant promise toward separation\\nof SWNTs by diameter and crystallization of pure chiralities.\\nIsolation of the aggregates in analytically pure form will require\\noptimization of the stability of the aggregates, over the various\\nvectors such as solution temperature and the nature of the\\ncounterion, as we identify in this work.\\nAcknowledgment. We thank Brian Fishbine and Cris Lewis\\nfor help with setting up the FT-PLE system. This work was\\nsupported by LANL LDRD funding. T.J.M. and M.J.H. were\\nsupported by the U.S. Department of Energy, Office of Science,\\nSolar Photochemistry Research Program.\\nSupporting Information Available: Chirality specific emission\\nintensity vs SWNT diameter analysis for Figure 1A-D. This material\\nis available free of charge via the Internet at http://pubs.acs.org.\\nReferences\\n(1) Bales, B. L. J. Phys. Chem. B 2001, 105, 6798.\\n(2) O’Connell, M. J.; Bachilo, S. M.; Huffman, C. B.; Moore, V. C.; Strano,\\nM. S.; Haroz, E. H.; Rialon, K. L.; Boul, P. J.; Noon, W. H.; Kittrell, C.;\\nMa, J.; Hauge, R. H.; Weisman, B. R.; Smalley, R. E. Science 2002, 297,\\n593.\\n(3) Bachilo, S. M.; Strano, M. S.; Kittrell, C.; Hauge, R. H.; Smalley, R. E.;\\nWeisman, R. B. Science 2002, 298, 2361.\\n(4) Tan, Y.; Resasco, D. E. J. Phys. Chem. B 2005, 109, 14454.\\n(5) McDonald, T. J.; Jones, M.; Engtrakul, C.; Ellingson, R. J.; Rumbles, G.;\\nHeben, M. J. ReV. Sci. Instrum. 2006, 77, 053104.\\n(6) Wanless, E. J.; Ducker, W. A. J. Phys. Chem. B 1996, 100, 3207.\\n(7) Benrraou, M.; Bales, B. L.; Zana, R. J. Phys. Chem. B 2003, 107, 13432.\\n(8) Hayashi, S.; Ikeda, S. J. Phys. Chem. B 1980, 84, 744.\\n(9) Nakayama, H.; Shinoda, K. Bull. Chem. Soc. Jpn. 1967, 40, 1797.\\n(10) McDonald, T. J.; Engtrakul, C.; Jones, M.; Rumbles, G.; Heben, M. J.\\nJ. Phys. Chem. B 2006, 110, 25339.\\n(11) Israelachvili, J. N. Intermolecular and Surface Forces; Academic Press:\\nSan Diego, 1985.\\n\\nJA068321J\\nJ. AM. CHEM. SOC.\\n\\n9\\n\\nVOL. 129, NO. 7, 2007 1899\\n\\n\\x0c'"
},
"metadata": {}
}
]
},
{
"metadata": {
"trusted": true
},
"cell_type": "code",
"source": "from nltk.tokenize import word_tokenize",
"execution_count": 12,
"outputs": []
},
{
"metadata": {
"trusted": true
},
"cell_type": "code",
"source": "if text != \"\":\n text = text\n#If the above returns as False, we run the OCR library textract to #convert scanned/image based PDF files into text\nelse:\n text = textract.process(filename, method='tesseract', language='eng')",
"execution_count": 14,
"outputs": []
},
{
"metadata": {
"trusted": true
},
"cell_type": "code",
"source": "print(text)",
"execution_count": 15,
"outputs": [
{
"output_type": "stream",
"text": "Published on Web 01/25/2007\n\nSelective Aggregation of Single-Walled Carbon Nanotubes via Salt Addition\nSandip Niyogi,† Sofiane Boukhalfa,† Satishkumar B. Chikkannanavar,† Timothy J. McDonald,‡\nMichael J. Heben,‡ and Stephen K. Doorn*,†\nChemistry DiVision, Los Alamos National Laboratory, C-CSE, Los Alamos, New Mexico 87545, and Center for\nBasic Sciences, National Renewable Energy Laboratory, Golden, Colorado 80401\nReceived November 28, 2006; E-mail: skdoorn@lanl.gov\n\nSingle-walled carbon nanotubes (SWNTs) can be dispersed as\nindividuals in H2O using sodium dodecylsulfate (SDS), typically\nat 1% (35 mM) concentration. At and above the critical micellar\nconcentration (cmc 8 mM at 25 °C), the degree of ionization of\nSDS is 0.27.1 Once intertube van der Waals (VdW) attraction is\novercome by intense sonication, free SDS adsorbs to SWNT\nsurfaces and creates a net surface density of negative charge, which\nprevents SWNT reaggregation. In such solutions, the excitonic\nabsorption and emission of light by the various SWNT chiralities\ncan be observed.2-4 Any change in the surface charge density of\nthe surfactant, or its solubility, that eliminates the electrostatic\nrepulsion between the nanotubes will cause SWNTs to aggregate\nand coagulate.4\nBy controlling the intermolecular and surface forces of SDS in\nwater, we show here that it is possible to engineer the resultant\nVdW attraction between SWNTs. Titrating SWNT-SDS dispersions with salt solutions leads to diameter-dependent modulation\nof the electrostatic repulsive forces; changes in the absorbance and\nemission spectra of SWNTs are used to study these effects. We\nascribe the observed spectroscopic changes to selective aggregation\nof SWNT chiralities. Our experiments clearly demonstrate that\ncertain SWNT chiralities deviate from a simple diameter-dependent\nstability trend.\nA 20.0 mg quantity of as-prepared HiPco SWNTs was dispersed\nin 200 mL of 35 mM SDS (Fisher, 98%) in D2O (4.4 × cmc),\nusing the standard procedure of shear mixing and sonication\nfollowed by ultracentrifugation.2 Microliter volumes of salt solutions\n(∼1 M in D2O) were added to the SWNT dispersions at room\ntemperature. The experiments were reproduced in up to 10 mL of\nthe SWNT dispersions. Aliquots were taken out to record the\nspectra. After salt addition, the solutions were either stirred or\nallowed to stand overnight to attain equilibrium. Absorbance spectra\nwere recorded in a Varian Cary 6000i instrument. Excitation maps\nof the SWNT photoluminescence were recorded using a homebuilt FT-photoluminescence excitation (PLE) spectrometer with a\nXe arc lamp source and a liquid N2-cooled Ge detector from a\nmodified Nicolet NXR-9600 FT-IR spectrometer.5 Excitation power\nat the sample was typically 1.3 mW, and the emission spectra were\nintegrated over 128 scans. The single line (λEX ) 780 nm) emission\nspectra (Figure 1) were recorded using the same Nicolet spectrometer with diode laser excitation.\nSystematic changes in the emission features are observed as NaCl\nis added to the SWNT dispersion (Figure 1). With respect to the\nstarting SWNT dispersion (Figure 1A), in 0.14 M NaCl, the\nbackground is suppressed and the emission intensity is enhanced,\nparticularly for the larger-diameter SWNTs (Figure 1B). As the\nconcentration of NaCl is increased, the emission from certain SWNT\nchiralities is no longer observed. It is particularly interesting to note\n†\n‡\n\nLos Alamos National Laboratory.\nCenter for Basic Sciences, National Renewable Energy Laboratory.\n\n1898\n\n9\n\nJ. AM. CHEM. SOC. 2007, 129, 1898-1899\n\nFigure 1. Spectroscopy of SWNT-SDS dispersions as a function of salt\nconcentration and temperature. (A) emission spectrum of the starting\nSWNT-SDS dispersion; (B) same solution in 0.14 M NaCl; (C) in 0.43 M\nNaCl, and (D) in 0.57 M NaCl; (E) absorption spectrum with and without\nNaCl (0.17 M); (F) change in the absorption spectrum at temperatures below\nthe critical micellar temperature.\n\nthat in the band corresponding to the (10,5) and (8,7) emissions,\nthe (10,5) emission is no longer visible in 0.43 M NaCl (Figure\n1C); similarly, (11,3) and (9,4) signals are absent. The emission\nintensity of (7,5) and (6,5) chiralities increase, under the same\nconditions. In 0.57 M NaCl, the (9,7) emission is also completely\nlost (Figure 1D).\nThe cmc of pure SDS is reduced to 1 mM in 0.16 M NaCl.6 The\naddition of Na+ decreases the electrostatic repulsion between SDS\nmolecules and results in an increase in their aggregation number.\nSince we also observe that the completely aggregated dispersions\nshow the background-only emission spectrum, the increase in the\nemission intensity and loss of the background emission (Figure 1B)\nmay be due to improved isolation of the SWNTs, related to the\nionization degree and aggregation number of SDS under these\nconditions (see also Supporting Information, Figure S2).6,7 Above\n0.5 M NaCl, pure SDS is no longer soluble in water at 25 °C;8\nunder these conditions, the Kraft point of pure SDS is raised above\n25 °C.9 The Kraft point is the melting point of a hydrated surfactant;\nit is raised by the addition of salt in water. We expect the\nconcentration of NaCl necessary to affect the stability of SWNT/\nSDS dispersions to be different from values previously obtained\nfor pure SDS solutions. However, lowering the dispersion temperature should yield an effect similar to elevating the Kraft point.\nWe observe a diameter-dependent change in the absorbance\nspectrum on centrifuging the SWNT dispersion at 70000g for 3 h,\nat 10 °C (Figure 1F), similar to the effect of adding NaCl\n(Figure 1E).\nThus, manipulation of SDS equilibria results in loss of free SDS\nin solution, through precipitation or further micellization. SWNT10.1021/ja068321j CCC: $37.00 © 2007 American Chemical Society\n\n\fCOMMUNICATIONS\n\nFigure 2. Absorption spectra of SWNTs showing the chirality-dependent\naggregation and broadening in the presence of salts of varying counterion\nvalency and ionic strengths.\n\nbound SDS is lost in response, resulting in nanotube aggregation\nas electrostatic repulsion is reduced. That large-diameter tubes are\nobserved to selectively aggregate first in these experiments is likely\na consequence of a progressively increasing stability of SDS binding\nto smaller-diameter SWNTs.10 Addition of salt at constant SDS\nconcentration allows us to observe the intermediate equilibria where\ncertain SWNT chiralities exhibit enhanced stability with respect to\naggregation, when compared to chiralities of similar diameter.\nSpecifically, as seen in Figure 1B-D, the (12,1), (9,7), and (8,7)\nchiralities do not aggregate (see Supporting Information), while\nspectral features from similar diameter SWNTs are lost. Chirality\nspecific SWNT-surfactant interactions may be responsible for this\nadditional stability.\nCharge screening effects can also reduce intertube repulsion. The\nSWNT-SDS system can be considered to be a negative surface of\nSO4- with Na+ counterions. The density of the SO4- groups\ndetermines the surface potential of the SWNTs, which in turn would\ndetermine the separation between adjacent SWNTs. If the ionic\nconcentration of the counterion is increased, the surface can be\ncompletely neutralized, at which point the adjacent SWNTs would\ncome into contact due to van der Waals attraction.11 The concentration of counterions necessary to completely neutralize the surface\ncharge decreases significantly for divalent or trivalent cations, due\nto better charge screening.11\nIn Figure 2, we show the effect of di- and trivalent counterions\non the absorbance spectrum of SWNTs. In general, the spectra show\na progressive shift in the stability of SWNT chiralities toward\nnarrower diameters as the valency of the cation is increased (Figure\n2B, D, and E). In Figure 2C and D, we compare the effect of ionic\nstrength of the added salt on the stability of SWNT chiralities.\nClearly, MgCl2 is relatively more efficient in aggregating SWNT\nchiralities. Since the reactions are allowed to reach equilibrium,\nthese results indicate that initial surface charge densities are lower\nfor larger-diameter SWNTs.\nThe emission spectrum of SWNTs is more sensitive to the\ninternanotube distances. The change in the emission spectrum of\nthe SWNT solutions is shown in Figure 3. The PLE map of the\nstarting SWNT solution shows 14 SWNT chiralities distinctly\n(Figure 3A). All chiralities present in the HiPco sample within the\nlimits of our excitation range are labeled. The loss of the absorption\npeaks in Figure 2 is concurrent with the absence of the corresponding emission bands.\nThus, fine control over the SWNT aggregation state is possible\nwith salt additions, which result in selective aggregation of a very\nnarrow-diameter range. This behavior suggests that, at any particular\n\nFigure 3. Contour plots of SWNT photoluminescence with excitation from\n500 to 800 nm at 5 nm intervals. Each bright spot corresponds to a SWNT\nchirality as labeled. (A) The starting SWNT dispersion; (B) SWNTs in 57.5\nmM NaCl; (C) SWNTs in 6.9 mM MgCl2; (D) SWNTs in 3.75 mM ErCl3.\n\nconcentration of salt being added, SWNTs of identical chiralities\nmay self aggregate. Manipulating surfactant equilibria in the manner\ndemonstrated above shows significant promise toward separation\nof SWNTs by diameter and crystallization of pure chiralities.\nIsolation of the aggregates in analytically pure form will require\noptimization of the stability of the aggregates, over the various\nvectors such as solution temperature and the nature of the\ncounterion, as we identify in this work.\nAcknowledgment. We thank Brian Fishbine and Cris Lewis\nfor help with setting up the FT-PLE system. This work was\nsupported by LANL LDRD funding. T.J.M. and M.J.H. were\nsupported by the U.S. Department of Energy, Office of Science,\nSolar Photochemistry Research Program.\nSupporting Information Available: Chirality specific emission\nintensity vs SWNT diameter analysis for Figure 1A-D. This material\nis available free of charge via the Internet at http://pubs.acs.org.\nReferences\n(1) Bales, B. L. J. Phys. Chem. B 2001, 105, 6798.\n(2) O’Connell, M. J.; Bachilo, S. M.; Huffman, C. B.; Moore, V. C.; Strano,\nM. S.; Haroz, E. H.; Rialon, K. L.; Boul, P. J.; Noon, W. H.; Kittrell, C.;\nMa, J.; Hauge, R. H.; Weisman, B. R.; Smalley, R. E. Science 2002, 297,\n593.\n(3) Bachilo, S. M.; Strano, M. S.; Kittrell, C.; Hauge, R. H.; Smalley, R. E.;\nWeisman, R. B. Science 2002, 298, 2361.\n(4) Tan, Y.; Resasco, D. E. J. Phys. Chem. B 2005, 109, 14454.\n(5) McDonald, T. J.; Jones, M.; Engtrakul, C.; Ellingson, R. J.; Rumbles, G.;\nHeben, M. J. ReV. Sci. Instrum. 2006, 77, 053104.\n(6) Wanless, E. J.; Ducker, W. A. J. Phys. Chem. B 1996, 100, 3207.\n(7) Benrraou, M.; Bales, B. L.; Zana, R. J. Phys. Chem. B 2003, 107, 13432.\n(8) Hayashi, S.; Ikeda, S. J. Phys. Chem. B 1980, 84, 744.\n(9) Nakayama, H.; Shinoda, K. Bull. Chem. Soc. Jpn. 1967, 40, 1797.\n(10) McDonald, T. J.; Engtrakul, C.; Jones, M.; Rumbles, G.; Heben, M. J.\nJ. Phys. Chem. B 2006, 110, 25339.\n(11) Israelachvili, J. N. Intermolecular and Surface Forces; Academic Press:\nSan Diego, 1985.\n\nJA068321J\nJ. AM. CHEM. SOC.\n\n9\n\nVOL. 129, NO. 7, 2007 1899\n\n",
"name": "stdout"
},
{
"output_type": "stream",
"text": "\f\n",
"name": "stdout"
}
]
},
{
"metadata": {
"trusted": true
},
"cell_type": "code",
"source": "",
"execution_count": null,
"outputs": []
}
],
"metadata": {
"kernelspec": {
"name": "python3",
"display_name": "Python 3",
"language": "python"
},
"language_info": {
"name": "python",
"version": "3.6.4",
"mimetype": "text/x-python",
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"pygments_lexer": "ipython3",
"nbconvert_exporter": "python",
"file_extension": ".py"
},
"nav_menu": {},
"toc": {
"nav_menu": {
"height": "216px",
"width": "252px"
},
"number_sections": true,
"sideBar": true,
"skip_h1_title": false,
"title_cell": "Table of Contents",
"title_sidebar": "Contents",
"toc_cell": false,
"toc_position": {},
"toc_section_display": "block",
"toc_window_display": false
},
"gist": {
"id": "cc976f004b9d210f3cb3754f924fb5ad",
"data": {
"description": "Niyoji-JACS2008.ipynb",
"public": true
}
},
"_draft": {
"nbviewer_url": "https://gist.github.com/cc976f004b9d210f3cb3754f924fb5ad"
}
},
"nbformat": 4,
"nbformat_minor": 1
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment