<?xml version="1.0" encoding="US-ASCII" standalone="no"?>
    <!-- Field: Doc-Info; Name: Generator; Value: GoFiler Complete; Version: 5.19b -->
    <!-- Field: Doc-Info; Name: VendorURI; Value: https://www.novaworks.com -->
    <!-- Field: Doc-Info; Name: Status; Value: 0x00000000 -->
<link:linkbase xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xbrli="http://www.xbrl.org/2003/instance" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
    <link:roleRef roleURI="http://aimimmuno.com/role/Cover" xlink:href="aim-20230630.xsd#Cover" xlink:type="simple" />
    <link:roleRef roleURI="http://aimimmuno.com/role/BalanceSheets" xlink:href="aim-20230630.xsd#BalanceSheets" xlink:type="simple" />
    <link:roleRef roleURI="http://aimimmuno.com/role/BalanceSheetsParenthetical" xlink:href="aim-20230630.xsd#BalanceSheetsParenthetical" xlink:type="simple" />
    <link:roleRef roleURI="http://aimimmuno.com/role/StatementsOfComprehensiveLoss" xlink:href="aim-20230630.xsd#StatementsOfComprehensiveLoss" xlink:type="simple" />
    <link:roleRef roleURI="http://aimimmuno.com/role/StatementsOfChangesInStockholdersEquity" xlink:href="aim-20230630.xsd#StatementsOfChangesInStockholdersEquity" xlink:type="simple" />
    <link:roleRef roleURI="http://aimimmuno.com/role/StatementsOfCashFlows" xlink:href="aim-20230630.xsd#StatementsOfCashFlows" xlink:type="simple" />
    <link:roleRef roleURI="http://aimimmuno.com/role/BusinessAndBasisOfPresentation" xlink:href="aim-20230630.xsd#BusinessAndBasisOfPresentation" xlink:type="simple" />
    <link:roleRef roleURI="http://aimimmuno.com/role/NetLossPerShare" xlink:href="aim-20230630.xsd#NetLossPerShare" xlink:type="simple" />
    <link:roleRef roleURI="http://aimimmuno.com/role/Equity-basedCompensation" xlink:href="aim-20230630.xsd#Equity-basedCompensation" xlink:type="simple" />
    <link:roleRef roleURI="http://aimimmuno.com/role/MarketableSecurities" xlink:href="aim-20230630.xsd#MarketableSecurities" xlink:type="simple" />
    <link:roleRef roleURI="http://aimimmuno.com/role/AccruedExpenses" xlink:href="aim-20230630.xsd#AccruedExpenses" xlink:type="simple" />
    <link:roleRef roleURI="http://aimimmuno.com/role/PropertyAndEquipmentNet" xlink:href="aim-20230630.xsd#PropertyAndEquipmentNet" xlink:type="simple" />
    <link:roleRef roleURI="http://aimimmuno.com/role/PatentsAndTrademarkRightsNet" xlink:href="aim-20230630.xsd#PatentsAndTrademarkRightsNet" xlink:type="simple" />
    <link:roleRef roleURI="http://aimimmuno.com/role/StockholdersEquity" xlink:href="aim-20230630.xsd#StockholdersEquity" xlink:type="simple" />
    <link:roleRef roleURI="http://aimimmuno.com/role/CashAndCashEquivalents" xlink:href="aim-20230630.xsd#CashAndCashEquivalents" xlink:type="simple" />
    <link:roleRef roleURI="http://aimimmuno.com/role/RecentAccountingPronouncements" xlink:href="aim-20230630.xsd#RecentAccountingPronouncements" xlink:type="simple" />
    <link:roleRef roleURI="http://aimimmuno.com/role/FairValue" xlink:href="aim-20230630.xsd#FairValue" xlink:type="simple" />
    <link:roleRef roleURI="http://aimimmuno.com/role/Leases" xlink:href="aim-20230630.xsd#Leases" xlink:type="simple" />
    <link:roleRef roleURI="http://aimimmuno.com/role/ResearchConsultingAndSupplyAgreements" xlink:href="aim-20230630.xsd#ResearchConsultingAndSupplyAgreements" xlink:type="simple" />
    <link:roleRef roleURI="http://aimimmuno.com/role/SubsequentEvents" xlink:href="aim-20230630.xsd#SubsequentEvents" xlink:type="simple" />
    <link:roleRef roleURI="http://aimimmuno.com/role/Equity-basedCompensationTables" xlink:href="aim-20230630.xsd#Equity-basedCompensationTables" xlink:type="simple" />
    <link:roleRef roleURI="http://aimimmuno.com/role/MarketableSecuritiesTables" xlink:href="aim-20230630.xsd#MarketableSecuritiesTables" xlink:type="simple" />
    <link:roleRef roleURI="http://aimimmuno.com/role/AccruedExpensesTables" xlink:href="aim-20230630.xsd#AccruedExpensesTables" xlink:type="simple" />
    <link:roleRef roleURI="http://aimimmuno.com/role/PropertyAndEquipmentNetTables" xlink:href="aim-20230630.xsd#PropertyAndEquipmentNetTables" xlink:type="simple" />
    <link:roleRef roleURI="http://aimimmuno.com/role/PatentsAndTrademarkRightsNetTables" xlink:href="aim-20230630.xsd#PatentsAndTrademarkRightsNetTables" xlink:type="simple" />
    <link:roleRef roleURI="http://aimimmuno.com/role/FairValueTables" xlink:href="aim-20230630.xsd#FairValueTables" xlink:type="simple" />
    <link:roleRef roleURI="http://aimimmuno.com/role/LeasesTables" xlink:href="aim-20230630.xsd#LeasesTables" xlink:type="simple" />
    <link:roleRef roleURI="http://aimimmuno.com/role/NetLossPerShareDetailsNarrative" xlink:href="aim-20230630.xsd#NetLossPerShareDetailsNarrative" xlink:type="simple" />
    <link:roleRef roleURI="http://aimimmuno.com/role/ScheduleOfVestStockOptionActivityDetails" xlink:href="aim-20230630.xsd#ScheduleOfVestStockOptionActivityDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://aimimmuno.com/role/ScheduleOfUnvestedStockOptionActivityDetails" xlink:href="aim-20230630.xsd#ScheduleOfUnvestedStockOptionActivityDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://aimimmuno.com/role/Equity-basedCompensationDetailsNarrative" xlink:href="aim-20230630.xsd#Equity-basedCompensationDetailsNarrative" xlink:type="simple" />
    <link:roleRef roleURI="http://aimimmuno.com/role/ScheduleOfAvailableOfSaleDetails" xlink:href="aim-20230630.xsd#ScheduleOfAvailableOfSaleDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://aimimmuno.com/role/ScheduleOfEquitySecuritiesDetails" xlink:href="aim-20230630.xsd#ScheduleOfEquitySecuritiesDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://aimimmuno.com/role/MarketableSecuritiesDetailsNarrative" xlink:href="aim-20230630.xsd#MarketableSecuritiesDetailsNarrative" xlink:type="simple" />
    <link:roleRef roleURI="http://aimimmuno.com/role/ScheduleOfAccruedExpensesDetails" xlink:href="aim-20230630.xsd#ScheduleOfAccruedExpensesDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://aimimmuno.com/role/ScheduleOfPropertyAndEquipmentDetails" xlink:href="aim-20230630.xsd#ScheduleOfPropertyAndEquipmentDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://aimimmuno.com/role/PropertyAndEquipmentNetDetailsNarrative" xlink:href="aim-20230630.xsd#PropertyAndEquipmentNetDetailsNarrative" xlink:type="simple" />
    <link:roleRef roleURI="http://aimimmuno.com/role/ScheduleOfPatentsTrademarkRightsDetails" xlink:href="aim-20230630.xsd#ScheduleOfPatentsTrademarkRightsDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://aimimmuno.com/role/ScheduleOfAmortizationOfPatentsAndTrademarksDetails" xlink:href="aim-20230630.xsd#ScheduleOfAmortizationOfPatentsAndTrademarksDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://aimimmuno.com/role/PatentsAndTrademarkRightsNetDetailsNarrative" xlink:href="aim-20230630.xsd#PatentsAndTrademarkRightsNetDetailsNarrative" xlink:type="simple" />
    <link:roleRef roleURI="http://aimimmuno.com/role/StockholdersEquityDetailsNarrative" xlink:href="aim-20230630.xsd#StockholdersEquityDetailsNarrative" xlink:type="simple" />
    <link:roleRef roleURI="http://aimimmuno.com/role/ScheduleOfAssumptionsToEstimateFairValueOfWarrantsDetails" xlink:href="aim-20230630.xsd#ScheduleOfAssumptionsToEstimateFairValueOfWarrantsDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://aimimmuno.com/role/ScheduleOfRangeOfProbabilitiesDetails" xlink:href="aim-20230630.xsd#ScheduleOfRangeOfProbabilitiesDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://aimimmuno.com/role/ScheduleOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails" xlink:href="aim-20230630.xsd#ScheduleOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://aimimmuno.com/role/FairValueDetailsNarrative" xlink:href="aim-20230630.xsd#FairValueDetailsNarrative" xlink:type="simple" />
    <link:roleRef roleURI="http://aimimmuno.com/role/ScheduleOfOperatingLeaseFuturePaymentsDetails" xlink:href="aim-20230630.xsd#ScheduleOfOperatingLeaseFuturePaymentsDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://aimimmuno.com/role/LeasesDetailsNarrative" xlink:href="aim-20230630.xsd#LeasesDetailsNarrative" xlink:type="simple" />
    <link:roleRef roleURI="http://aimimmuno.com/role/ResearchConsultingAndSupplyAgreementsDetailsNarrative" xlink:href="aim-20230630.xsd#ResearchConsultingAndSupplyAgreementsDetailsNarrative" xlink:type="simple" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aimimmuno.com/role/Cover" xlink:title="00000001 - Document - Cover" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aimimmuno.com/role/BalanceSheets" xlink:title="00000002 - Statement - Consolidated Balance Sheets (Unaudited)">
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AssetsCurrent" xlink:label="loc_us-gaapAssetsCurrent" />
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="loc_us-gaapCashAndCashEquivalentsAtCarryingValue" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssetsCurrent" xlink:to="loc_us-gaapCashAndCashEquivalentsAtCarryingValue" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_MarketableSecuritiesCurrent" xlink:label="loc_us-gaapMarketableSecuritiesCurrent" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssetsCurrent" xlink:to="loc_us-gaapMarketableSecuritiesCurrent" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccountsReceivableNetCurrent" xlink:label="loc_us-gaapAccountsReceivableNetCurrent" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssetsCurrent" xlink:to="loc_us-gaapAccountsReceivableNetCurrent" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent" xlink:label="loc_us-gaapPrepaidExpenseAndOtherAssetsCurrent" />
      <link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssetsCurrent" xlink:to="loc_us-gaapPrepaidExpenseAndOtherAssetsCurrent" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Assets" xlink:label="loc_us-gaapAssets" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssets" xlink:to="loc_us-gaapAssetsCurrent" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaapPropertyPlantAndEquipmentNet" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssets" xlink:to="loc_us-gaapPropertyPlantAndEquipmentNet" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLeaseRightOfUseAsset" xlink:label="loc_us-gaapOperatingLeaseRightOfUseAsset" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssets" xlink:to="loc_us-gaapOperatingLeaseRightOfUseAsset" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FiniteLivedIntangibleAssetsNet" xlink:label="loc_us-gaapFiniteLivedIntangibleAssetsNet" />
      <link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssets" xlink:to="loc_us-gaapFiniteLivedIntangibleAssetsNet" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherAssetsNoncurrent" xlink:label="loc_us-gaapOtherAssetsNoncurrent" />
      <link:calculationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssets" xlink:to="loc_us-gaapOtherAssetsNoncurrent" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilitiesCurrent" xlink:label="loc_us-gaapLiabilitiesCurrent" />
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccountsPayableCurrent" xlink:label="loc_us-gaapAccountsPayableCurrent" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilitiesCurrent" xlink:to="loc_us-gaapAccountsPayableCurrent" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccruedLiabilitiesCurrent" xlink:label="loc_us-gaapAccruedLiabilitiesCurrent" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilitiesCurrent" xlink:to="loc_us-gaapAccruedLiabilitiesCurrent" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLeaseLiabilityCurrent" xlink:label="loc_us-gaapOperatingLeaseLiabilityCurrent" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilitiesCurrent" xlink:to="loc_us-gaapOperatingLeaseLiabilityCurrent" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaapStockholdersEquity" />
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PreferredStockValue" xlink:label="loc_us-gaapPreferredStockValue" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapStockholdersEquity" xlink:to="loc_us-gaapPreferredStockValue" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockValue" xlink:label="loc_us-gaapCommonStockValue" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapStockholdersEquity" xlink:to="loc_us-gaapCommonStockValue" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AdditionalPaidInCapital" xlink:label="loc_us-gaapAdditionalPaidInCapital" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapStockholdersEquity" xlink:to="loc_us-gaapAdditionalPaidInCapital" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RetainedEarningsAccumulatedDeficit" xlink:label="loc_us-gaapRetainedEarningsAccumulatedDeficit" />
      <link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapStockholdersEquity" xlink:to="loc_us-gaapRetainedEarningsAccumulatedDeficit" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilitiesAndStockholdersEquity" xlink:label="loc_us-gaapLiabilitiesAndStockholdersEquity" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilitiesAndStockholdersEquity" xlink:to="loc_us-gaapLiabilitiesCurrent" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent" xlink:label="loc_us-gaapOperatingLeaseLiabilityNoncurrent" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilitiesAndStockholdersEquity" xlink:to="loc_us-gaapOperatingLeaseLiabilityNoncurrent" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommitmentsAndContingencies" xlink:label="loc_us-gaapCommitmentsAndContingencies" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilitiesAndStockholdersEquity" xlink:to="loc_us-gaapCommitmentsAndContingencies" xlink:type="arc" weight="1" />
      <link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilitiesAndStockholdersEquity" xlink:to="loc_us-gaapStockholdersEquity" xlink:type="arc" weight="1" />
    </link:calculationLink>
    <link:calculationLink xlink:type="extended" xlink:role="http://aimimmuno.com/role/BalanceSheetsParenthetical" xlink:title="00000003 - Statement - Consolidated Balance Sheets (Unaudited) (Parenthetical)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aimimmuno.com/role/StatementsOfComprehensiveLoss" xlink:title="00000004 - Statement - Consolidated Statements of Comprehensive Loss (Unaudited)">
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Revenues" xlink:label="loc_us-gaapRevenues" />
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax" xlink:label="loc_us-gaapRevenueFromContractWithCustomerExcludingAssessedTax" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapRevenues" xlink:to="loc_us-gaapRevenueFromContractWithCustomerExcludingAssessedTax" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CostsAndExpenses" xlink:label="loc_us-gaapCostsAndExpenses" />
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ManufacturingCosts" xlink:label="loc_us-gaapManufacturingCosts" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapCostsAndExpenses" xlink:to="loc_us-gaapManufacturingCosts" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ResearchAndDevelopmentExpense" xlink:label="loc_us-gaapResearchAndDevelopmentExpense" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapCostsAndExpenses" xlink:to="loc_us-gaapResearchAndDevelopmentExpense" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GeneralAndAdministrativeExpense" xlink:label="loc_us-gaapGeneralAndAdministrativeExpense" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapCostsAndExpenses" xlink:to="loc_us-gaapGeneralAndAdministrativeExpense" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingIncomeLoss" xlink:label="loc_us-gaapOperatingIncomeLoss" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapOperatingIncomeLoss" xlink:to="loc_us-gaapRevenues" xlink:type="arc" weight="1" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapOperatingIncomeLoss" xlink:to="loc_us-gaapCostsAndExpenses" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaapNetIncomeLoss" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetIncomeLoss" xlink:to="loc_us-gaapOperatingIncomeLoss" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GainLossOnInvestments" xlink:label="loc_us-gaapGainLossOnInvestments" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetIncomeLoss" xlink:to="loc_us-gaapGainLossOnInvestments" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherNonoperatingIncomeExpense" xlink:label="loc_us-gaapOtherNonoperatingIncomeExpense" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetIncomeLoss" xlink:to="loc_us-gaapOtherNonoperatingIncomeExpense" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestExpense" xlink:label="loc_us-gaapInterestExpense" />
      <link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetIncomeLoss" xlink:to="loc_us-gaapInterestExpense" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GainLossOnSaleOfPropertyPlantEquipment" xlink:label="loc_us-gaapGainLossOnSaleOfPropertyPlantEquipment" />
      <link:calculationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetIncomeLoss" xlink:to="loc_us-gaapGainLossOnSaleOfPropertyPlantEquipment" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueAdjustmentOfWarrants" xlink:label="loc_us-gaapFairValueAdjustmentOfWarrants" />
      <link:calculationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetIncomeLoss" xlink:to="loc_us-gaapFairValueAdjustmentOfWarrants" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="aim-20230630.xsd#AIM_GainFromSaleOfIncomeTaxOperatingLoss" xlink:label="loc_AIMGainFromSaleOfIncomeTaxOperatingLoss" />
      <link:calculationArc order="7" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetIncomeLoss" xlink:to="loc_AIMGainFromSaleOfIncomeTaxOperatingLoss" xlink:type="arc" weight="-1" />
    </link:calculationLink>
    <link:calculationLink xlink:type="extended" xlink:role="http://aimimmuno.com/role/StatementsOfChangesInStockholdersEquity" xlink:title="00000005 - Statement - Consolidated Statements of Changes in Stockholders&apos; Equity (Unaudited)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aimimmuno.com/role/StatementsOfCashFlows" xlink:title="00000006 - Statement - Consolidated Statements of Cash Flows (Unaudited)">
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:label="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" />
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaapNetIncomeLoss" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapNetIncomeLoss" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Depreciation" xlink:label="loc_us-gaapDepreciation" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapDepreciation" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FairValueAdjustmentOfWarrants" xlink:label="loc_us-gaapFairValueAdjustmentOfWarrants" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapFairValueAdjustmentOfWarrants" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AmortizationOfIntangibleAssets" xlink:label="loc_us-gaapAmortizationOfIntangibleAssets" />
      <link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapAmortizationOfIntangibleAssets" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="aim-20230630.xsd#AIM_IncreaseDecreaseinRightofUseAssets" xlink:label="loc_AIMIncreaseDecreaseinRightofUseAssets" />
      <link:calculationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_AIMIncreaseDecreaseinRightofUseAssets" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="aim-20230630.xsd#AIM_LossGainFromSaleOfIncomeTaxOperatingLosses" xlink:label="loc_AIMLossGainFromSaleOfIncomeTaxOperatingLosses" />
      <link:calculationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_AIMLossGainFromSaleOfIncomeTaxOperatingLosses" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensation" xlink:label="loc_us-gaapShareBasedCompensation" />
      <link:calculationArc order="7" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapShareBasedCompensation" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_MarketableSecuritiesUnrealizedGainLoss" xlink:label="loc_us-gaapMarketableSecuritiesUnrealizedGainLoss" />
      <link:calculationArc order="8" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapMarketableSecuritiesUnrealizedGainLoss" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInOtherReceivables" xlink:label="loc_us-gaapIncreaseDecreaseInOtherReceivables" />
      <link:calculationArc order="9" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapIncreaseDecreaseInOtherReceivables" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets" xlink:label="loc_us-gaapIncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets" />
      <link:calculationArc order="10" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapIncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInOperatingLeaseLiability" xlink:label="loc_us-gaapIncreaseDecreaseInOperatingLeaseLiability" />
      <link:calculationArc order="11" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapIncreaseDecreaseInOperatingLeaseLiability" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInOtherOperatingAssets" xlink:label="loc_us-gaapIncreaseDecreaseInOtherOperatingAssets" />
      <link:calculationArc order="12" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapIncreaseDecreaseInOtherOperatingAssets" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInAccountsPayable" xlink:label="loc_us-gaapIncreaseDecreaseInAccountsPayable" />
      <link:calculationArc order="13" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapIncreaseDecreaseInAccountsPayable" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInAccruedLiabilities" xlink:label="loc_us-gaapIncreaseDecreaseInAccruedLiabilities" />
      <link:calculationArc order="14" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapIncreaseDecreaseInAccruedLiabilities" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:label="loc_us-gaapNetCashProvidedByUsedInInvestingActivities" />
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromSaleAndMaturityOfMarketableSecurities" xlink:label="loc_us-gaapProceedsFromSaleAndMaturityOfMarketableSecurities" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInInvestingActivities" xlink:to="loc_us-gaapProceedsFromSaleAndMaturityOfMarketableSecurities" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsToAcquireMarketableSecurities" xlink:label="loc_us-gaapPaymentsToAcquireMarketableSecurities" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInInvestingActivities" xlink:to="loc_us-gaapPaymentsToAcquireMarketableSecurities" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="aim-20230630.xsd#AIM_ProceedsFromPaymentsToPurchaseOfPropertyAndEquipment" xlink:label="loc_AIMProceedsFromPaymentsToPurchaseOfPropertyAndEquipment" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInInvestingActivities" xlink:to="loc_AIMProceedsFromPaymentsToPurchaseOfPropertyAndEquipment" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="aim-20230630.xsd#AIM_ProceedsFromPaymentsToAcquireIntangibleAssets" xlink:label="loc_AIMProceedsFromPaymentsToAcquireIntangibleAssets" />
      <link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInInvestingActivities" xlink:to="loc_AIMProceedsFromPaymentsToAcquireIntangibleAssets" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:label="loc_us-gaapNetCashProvidedByUsedInFinancingActivities" />
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromIssuanceOrSaleOfEquity" xlink:label="loc_us-gaapProceedsFromIssuanceOrSaleOfEquity" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInFinancingActivities" xlink:to="loc_us-gaapProceedsFromIssuanceOrSaleOfEquity" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect" xlink:label="loc_us-gaapCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect" xlink:to="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:type="arc" weight="1" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect" xlink:to="loc_us-gaapNetCashProvidedByUsedInInvestingActivities" xlink:type="arc" weight="1" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect" xlink:to="loc_us-gaapNetCashProvidedByUsedInFinancingActivities" xlink:type="arc" weight="1" />
    </link:calculationLink>
    <link:calculationLink xlink:type="extended" xlink:role="http://aimimmuno.com/role/BusinessAndBasisOfPresentation" xlink:title="00000007 - Disclosure - Business and Basis of Presentation" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aimimmuno.com/role/NetLossPerShare" xlink:title="00000008 - Disclosure - Net Loss Per Share" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aimimmuno.com/role/Equity-basedCompensation" xlink:title="00000009 - Disclosure - Equity-Based Compensation" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aimimmuno.com/role/MarketableSecurities" xlink:title="00000010 - Disclosure - Marketable Securities" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aimimmuno.com/role/AccruedExpenses" xlink:title="00000011 - Disclosure - Accrued Expenses" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aimimmuno.com/role/PropertyAndEquipmentNet" xlink:title="00000012 - Disclosure - Property and Equipment, net" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aimimmuno.com/role/PatentsAndTrademarkRightsNet" xlink:title="00000013 - Disclosure - Patents, and Trademark Rights, Net" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aimimmuno.com/role/StockholdersEquity" xlink:title="00000014 - Disclosure - Stockholders&#8217; Equity" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aimimmuno.com/role/CashAndCashEquivalents" xlink:title="00000015 - Disclosure - Cash and Cash Equivalents" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aimimmuno.com/role/RecentAccountingPronouncements" xlink:title="00000016 - Disclosure - Recent Accounting Pronouncements" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aimimmuno.com/role/FairValue" xlink:title="00000017 - Disclosure - Fair Value" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aimimmuno.com/role/Leases" xlink:title="00000018 - Disclosure - Leases" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aimimmuno.com/role/ResearchConsultingAndSupplyAgreements" xlink:title="00000019 - Disclosure - Research, Consulting and Supply Agreements" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aimimmuno.com/role/SubsequentEvents" xlink:title="00000020 - Disclosure - Subsequent Events" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aimimmuno.com/role/Equity-basedCompensationTables" xlink:title="00000021 - Disclosure - Equity-Based Compensation (Tables)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aimimmuno.com/role/MarketableSecuritiesTables" xlink:title="00000022 - Disclosure - Marketable Securities (Tables)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aimimmuno.com/role/AccruedExpensesTables" xlink:title="00000023 - Disclosure - Accrued Expenses (Tables)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aimimmuno.com/role/PropertyAndEquipmentNetTables" xlink:title="00000024 - Disclosure - Property and Equipment, net (Tables)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aimimmuno.com/role/PatentsAndTrademarkRightsNetTables" xlink:title="00000025 - Disclosure - Patents, and Trademark Rights, Net (Tables)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aimimmuno.com/role/FairValueTables" xlink:title="00000026 - Disclosure - Fair Value (Tables)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aimimmuno.com/role/LeasesTables" xlink:title="00000027 - Disclosure - Leases (Tables)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aimimmuno.com/role/NetLossPerShareDetailsNarrative" xlink:title="00000028 - Disclosure - Net Loss Per Share (Details Narrative)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aimimmuno.com/role/ScheduleOfVestStockOptionActivityDetails" xlink:title="00000029 - Disclosure - Schedule of Vest Stock Option Activity (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aimimmuno.com/role/ScheduleOfUnvestedStockOptionActivityDetails" xlink:title="00000030 - Disclosure - Schedule of Unvested Stock Option Activity (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aimimmuno.com/role/Equity-basedCompensationDetailsNarrative" xlink:title="00000031 - Disclosure - Equity-Based Compensation (Details Narrative)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aimimmuno.com/role/ScheduleOfAvailableOfSaleDetails" xlink:title="00000032 - Disclosure - Schedule of Available of Sale (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aimimmuno.com/role/ScheduleOfEquitySecuritiesDetails" xlink:title="00000033 - Disclosure - Schedule of Equity Securities (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aimimmuno.com/role/MarketableSecuritiesDetailsNarrative" xlink:title="00000034 - Disclosure - Marketable Securities (Details Narrative)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aimimmuno.com/role/ScheduleOfAccruedExpensesDetails" xlink:title="00000035 - Disclosure - Schedule of Accrued Expenses (Details)">
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccruedLiabilitiesCurrent" xlink:label="loc_us-gaapAccruedLiabilitiesCurrent" />
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent" xlink:label="loc_us-gaapEmployeeRelatedLiabilitiesCurrent" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAccruedLiabilitiesCurrent" xlink:to="loc_us-gaapEmployeeRelatedLiabilitiesCurrent" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccruedProfessionalFeesCurrent" xlink:label="loc_us-gaapAccruedProfessionalFeesCurrent" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAccruedLiabilitiesCurrent" xlink:to="loc_us-gaapAccruedProfessionalFeesCurrent" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="aim-20230630.xsd#AIM_AccruedClinicalTrialExpensesCurrent" xlink:label="loc_AIMAccruedClinicalTrialExpensesCurrent" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAccruedLiabilitiesCurrent" xlink:to="loc_AIMAccruedClinicalTrialExpensesCurrent" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherAccruedLiabilitiesCurrent" xlink:label="loc_us-gaapOtherAccruedLiabilitiesCurrent" />
      <link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAccruedLiabilitiesCurrent" xlink:to="loc_us-gaapOtherAccruedLiabilitiesCurrent" xlink:type="arc" weight="1" />
    </link:calculationLink>
    <link:calculationLink xlink:type="extended" xlink:role="http://aimimmuno.com/role/ScheduleOfPropertyAndEquipmentDetails" xlink:title="00000036 - Disclosure - Schedule of Property and Equipment (Details)">
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaapPropertyPlantAndEquipmentNet" />
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PropertyPlantAndEquipmentGross" xlink:label="loc_us-gaapPropertyPlantAndEquipmentGross" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapPropertyPlantAndEquipmentNet" xlink:to="loc_us-gaapPropertyPlantAndEquipmentGross" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" xlink:label="loc_us-gaapAccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapPropertyPlantAndEquipmentNet" xlink:to="loc_us-gaapAccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" xlink:type="arc" weight="-1" />
    </link:calculationLink>
    <link:calculationLink xlink:type="extended" xlink:role="http://aimimmuno.com/role/PropertyAndEquipmentNetDetailsNarrative" xlink:title="00000037 - Disclosure - Property and Equipment, net (Details Narrative)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aimimmuno.com/role/ScheduleOfPatentsTrademarkRightsDetails" xlink:title="00000038 - Disclosure - Schedule of Patents, Trademark Rights (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aimimmuno.com/role/ScheduleOfAmortizationOfPatentsAndTrademarksDetails" xlink:title="00000039 - Disclosure - Schedule of Amortization of Patents and Trademarks (Details)">
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FiniteLivedIntangibleAssetsNet" xlink:label="loc_us-gaapFiniteLivedIntangibleAssetsNet" />
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear" xlink:label="loc_us-gaapFiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapFiniteLivedIntangibleAssetsNet" xlink:to="loc_us-gaapFiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths" xlink:label="loc_us-gaapFiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapFiniteLivedIntangibleAssetsNet" xlink:to="loc_us-gaapFiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo" xlink:label="loc_us-gaapFiniteLivedIntangibleAssetsAmortizationExpenseYearTwo" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapFiniteLivedIntangibleAssetsNet" xlink:to="loc_us-gaapFiniteLivedIntangibleAssetsAmortizationExpenseYearTwo" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree" xlink:label="loc_us-gaapFiniteLivedIntangibleAssetsAmortizationExpenseYearThree" />
      <link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapFiniteLivedIntangibleAssetsNet" xlink:to="loc_us-gaapFiniteLivedIntangibleAssetsAmortizationExpenseYearThree" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour" xlink:label="loc_us-gaapFiniteLivedIntangibleAssetsAmortizationExpenseYearFour" />
      <link:calculationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapFiniteLivedIntangibleAssetsNet" xlink:to="loc_us-gaapFiniteLivedIntangibleAssetsAmortizationExpenseYearFour" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive" xlink:label="loc_us-gaapFiniteLivedIntangibleAssetsAmortizationExpenseYearFive" />
      <link:calculationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapFiniteLivedIntangibleAssetsNet" xlink:to="loc_us-gaapFiniteLivedIntangibleAssetsAmortizationExpenseYearFive" xlink:type="arc" weight="1" />
    </link:calculationLink>
    <link:calculationLink xlink:type="extended" xlink:role="http://aimimmuno.com/role/PatentsAndTrademarkRightsNetDetailsNarrative" xlink:title="00000040 - Disclosure - Patents, and Trademark Rights, Net (Details Narrative)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aimimmuno.com/role/StockholdersEquityDetailsNarrative" xlink:title="00000041 - Disclosure - Stockholders&#8217; Equity (Details Narrative)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aimimmuno.com/role/ScheduleOfAssumptionsToEstimateFairValueOfWarrantsDetails" xlink:title="00000042 - Disclosure - Schedule of Assumptions to Estimate Fair Value of Warrants (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aimimmuno.com/role/ScheduleOfRangeOfProbabilitiesDetails" xlink:title="00000043 - Disclosure - Schedule of Range of Probabilities (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aimimmuno.com/role/ScheduleOfAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails" xlink:title="00000044 - Disclosure - Schedule of Assets and Liabilities Measured at Fair Value on a Recurring Basis (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aimimmuno.com/role/FairValueDetailsNarrative" xlink:title="00000045 - Disclosure - Fair Value (Details Narrative)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aimimmuno.com/role/ScheduleOfOperatingLeaseFuturePaymentsDetails" xlink:title="00000046 - Disclosure - Schedule of Operating Lease Future Payments (Details)">
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLeaseLiability" xlink:label="loc_us-gaapOperatingLeaseLiability" />
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear" xlink:label="loc_us-gaapLesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapOperatingLeaseLiability" xlink:to="loc_us-gaapLesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths" xlink:label="loc_us-gaapLesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapOperatingLeaseLiability" xlink:to="loc_us-gaapLesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo" xlink:label="loc_us-gaapLesseeOperatingLeaseLiabilityPaymentsDueYearTwo" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapOperatingLeaseLiability" xlink:to="loc_us-gaapLesseeOperatingLeaseLiabilityPaymentsDueYearTwo" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree" xlink:label="loc_us-gaapLesseeOperatingLeaseLiabilityPaymentsDueYearThree" />
      <link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapOperatingLeaseLiability" xlink:to="loc_us-gaapLesseeOperatingLeaseLiabilityPaymentsDueYearThree" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour" xlink:label="loc_us-gaapLesseeOperatingLeaseLiabilityPaymentsDueYearFour" />
      <link:calculationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapOperatingLeaseLiability" xlink:to="loc_us-gaapLesseeOperatingLeaseLiabilityPaymentsDueYearFour" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount" xlink:label="loc_us-gaapLesseeOperatingLeaseLiabilityUndiscountedExcessAmount" />
      <link:calculationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapOperatingLeaseLiability" xlink:to="loc_us-gaapLesseeOperatingLeaseLiabilityUndiscountedExcessAmount" xlink:type="arc" weight="1" />
    </link:calculationLink>
    <link:calculationLink xlink:type="extended" xlink:role="http://aimimmuno.com/role/LeasesDetailsNarrative" xlink:title="00000047 - Disclosure - Leases (Details Narrative)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://aimimmuno.com/role/ResearchConsultingAndSupplyAgreementsDetailsNarrative" xlink:title="00000048 - Disclosure - Research, Consulting and Supply Agreements (Details Narrative)" />
</link:linkbase>
